Introduction

The following can be defined for macro steps:

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 Step Name text box, see also section Macro step names in the Reference manual.

3

Confirm the macro step name with OK.

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 Edit command button.

or

Select the macro step and process the Services > Refine 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 Supervision times and delay time area, activate the Literal 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 OK.

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 Supervision times and delay time area, activate the 'SFCSTEP_TIMES' variable option button if it isn't already activated.

Example:

3

In the data selection box, specify a variable of the SFCSTEP_TIMES data type, see also section SFCSTEP_TIMES in the Reference manual.

You have the following options to enter variables:

  • You can enter the name of the variable.

  • You can select the name of the variable from the list of recently used names using the symbol.

    or

  • Using the command button ... you can open a variable selection dialog box and confirm the selected variables there with OK.

Example:

4

Confirm the entries with OK.

Result: The selected SFCSTEP_TIMES variable is enabled, the properties dialog box is closed, and a syntax and semantics check is performed.

If the variable has already been declared (see also Derived variable declaration), the procedure ends here.

If the SFCSTEP_TIMES variable has not yet been declared, process the following steps.

5

Declare a derived variable of the SFCSTEP_TIMES data type, see also Derived variable declaration.

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 SFCSTEP_TIMES variable is declared and the macro step frame is displayed in black.

Enter a comment

Enter a comment:

Step

Action

1

Open the properties dialog box for the macro step.

2

Select the Comment tab and enter a macro step comment.

3

Confirm the comment with OK.

Result: The comment is accepted and the properties dialog box is closed.