Outputs system_flags, 9300 servo plc – Lenze Drive PLC Developer Studio 9300 Servo PLC (V8.x) User Manual
Page 101
![background image](/manuals/566026/101/background.png)
9300 Servo PLC
System blocks
2.15
SYSTEM_FLAGS (system flags, node number 151)
2−87
L
9300 Servo PLC EN 5.0
SYSTEM_bTogCycleTask
This system flag toggles with the cyclic task:
1. cycle: FALSE
2. cycle: TRUE
3. cycle: FALSE
4. cycle: TRUE
etc.
SYSTEM_nTaskInterval
This system flag indicates the interval of the running task with a resolution of 0.25 ms.
·
If, for instance, a 10−ms task is processed, the system flag indicates "40"
(40 x 0.25 ms = 10 ms).
·
If a task different from an interval task is processed, the system flag indicates "0".
SYSTEM_nTaskID
This system flag indicates the task ID of the running task.
SYSTEM_b1LoopCyclicTask/SYSTEM_b1Loop Task X
These system flags are TRUE only once during the first cycle of a task.
·
After the first cycle, the flags will be set to FALSE.
·
The only way to reset the status to TRUE is to reset the program in the PLC.
2.15.2
Outputs SYSTEM_FLAGS
Variable
Data type
Address
Notes
SYSTEM_bPLCResetAndRun
Bool
%QX151.0.0
This system flag carries out a reset with an immediate restart of the Drive PLC:
·
After the reset, the flag is deleted and the restart carried out.