Introduction
The following can be defined for macro steps:
the supervision times and the delay time
Defining the macro step name
Defining the macro step name:
Step |
Action |
---|---|
1 |
Open the properties dialog box for the macro step. Result: The macro step properties dialog box is opened, see also Macro Steps Properties Dialog Box. Example: ![]() |
2 |
In order to change the name of the step, enter a name in the Macro step names in the Reference manual. text box, see also section |
3 |
Confirm the macro step name with .Result: The macro step name selected is enabled for the macro step and the steps within the macro step section. The properties dialog box is closed and a syntax and semantics check is performed. |
Editing the macro section
Editing the macro section:
Step |
Action |
---|---|
1 |
Open the properties dialog box of the macro step, and press the command button. or Select the macro step and process the menu command.Result: The macro step properties dialog box is closed and the macro section of the macro step is opened. Example: ![]() |
2 |
Create the macro section logic, see also section Macro sections in the Reference manual. |
Defining the supervision time/delay time as a literal
Defining the supervision time/delay time as a literal:
Step |
Action |
---|---|
1 |
Open the properties dialog box for the macro step. Result: The macro step properties dialog box is opened, see also Macro Steps Properties Dialog Box. |
2 |
In the area, activate the option button if it isn't already activated. |
3 |
Enter a value for the minimum supervision time, the maximum supervision time and the delay time, see also section Step times in the Reference manual. Example: ![]() |
4 |
Confirm the entries with .Result: The step times are enabled, the properties dialog box is closed, and a syntax and semantics check is performed. |
Defining the supervision/delay
time as an SFCSTEP_TIMES
variable.
Defining
the supervision time/delay time as an SFCSTEP_TIMES
variable:
Step |
Action |
---|---|
1 |
Open the properties dialog box for the macro step. Result: The macro step properties dialog box is opened, see also Macro Steps Properties Dialog Box. |
2 |
In the area, activate the option button if it isn't already activated.Example: ![]() |
3 |
In the data selection box, specify a
variable of the You have the following options to enter variables:
Example: ![]() |
4 |
Confirm the entries with .Result: The
selected If the variable has already been declared (see also Derived variable declaration), the procedure ends here. If the |
5 |
Declare a derived variable of the Example: ![]() |
6 |
Enter a value for the minimum supervision time, the maximum supervision time and the delay time, see also section Step times in the Reference manual. Example: ![]() Result: The |
Enter a comment
Enter a comment:
Step |
Action |
---|---|
1 |
Open the properties dialog box for the macro step. |
2 |
Select the tab and enter a macro step comment. |
3 |
Confirm the comment with .Result: The comment is accepted and the properties dialog box is closed. |