Definition
The definition is executed in a block which is enclosed by #RT CYCLE and #RT CYCLE END.
Syntax: |
#RT CYCLE [DEF] [[ ID =.. ] SCOPE =.. END_ACTION =..] ;…Instructions #RT CYCLE END |
DEF | Realtime cycle is only defined but not started yet. |
ID=.. | Unambiguous identifier of the realtime cycle, see Note. |
SCOPE | For validity, see Validity. Permissible identifiers are BLOCK, PROG or GLOBAL. |
END_ACTION | Behaviour at end of the real-time cycle, see Action at end. Permissible identifiers are MOVE_ABORT or MOVE_CONT. |
Notice
The realtime cycle ID must be specified if
the keyword DEF is used or SCOPE = GLOBAL.
If the ID is not specified in these cases, error ID 22003 is output.