Introduction
Timer event sections can only be created in offline mode.
The following can be modified in offline mode:
the number of the timer event,
the time base,
the unit of the preset value,
the unit for the phase,
the type of access protection,
the functional module,
the comment.
In online mode in stop mode, the following can be changed:
the unit of the preset value,
the unit for the phase,
the type of access protection,
the functional module,
the comment.
Information for creating LD sections
An LD section contains 11-63 columns and 17-3998 rows.
The number of columns is set in the
dialog box, in the tab, in the text box.This setting only applies to sections to be created, not existing sections. Always define the number of columns before you create a new LD section.
(The number of rows and columns can be changed during the creation of section contents.)
Information for creating FBD sections
An FBD section contains 86,400 grids (number of rows x number of columns).
The number of rows and columns is set in the
dialog box, in the tab.This setting only applies to sections to be created, not existing sections. Always define the number of rows and columns before you create a new FBD section.
(The number of rows and columns can be changed during the creation of section contents.)
Creating timer event sections
Creating timer event sections:
Step |
Action |
---|---|
1 |
Left-click the directory of the task, or place the cursor on this directory with the arrow keys. |
2 |
Select (right-click or Shift+F10 key combination) the menu command from the shortcut menu.Result: The dialog box for the section opens. |
3 |
Enter the number of the timer event in the list box.The maximum number of timer events depends on the selected CPU, see also section Timer section in the Reference manual. |
4 |
Enter the time base for the preset value and phase in the list box.Note: Select the largest time base to reduce system load. |
5 |
Enter the units for the preset value in the text box.The valid range is 0...1023. Preset value = x |
6 |
Enter the unit for the phase in the text box.The valid range is 0...1023. Phase value = x |
7 |
Select the programming language of the section. |
8 |
Select the type of access protection if necessary from the list box:
See also section Program Unit, Section and Subroutine Protection. |
9 |
Select the functional module to which the section is allocated from the tab if necessary.See also section Functional modules. |
10 |
Enter a comment in the tab if desired. |
11 |
If you wish to create additional sections, confirm the entries with . In this case, the dialog box will remain open and you can generate additional sections.If you do not wish to create additional sections, confirm the entries with . In this case, the dialog box will close and the generated section will open automatically. |
Displaying or modifying the section properties
Displaying or modifying section properties:
Step |
Action |
---|---|
1 |
Left-click on the desired section, or place the cursor on this section with the arrow keys. |
2 |
Click the right mouse button or press Shift+F10 to select the menu command from the shortcut menu.Result: The Properties of dialog box for the section opens. |
3 |
Implement the desired changes. |
4 |
Confirm all entries with . |
Importing/exporting sections
See sections: