9300 Servo PLC
System blocks
2.14
SYSTEM_FLAGS
2-68
L
ServoPLC EN 2.0
2.14
SYSTEM_FLAGS
(Module number 151)
System flags are global variables which are permanently integrated into the run-time system. They
include functions that facilitate programming.
The following system flags are included in the
9300 Servo PLC
/
Drive PLC
:
VariableName
DataType
Address
Note
SYSTEM_bClock01Hz
%IX151.0.0
0.1 Hz System clock
SYSTEM_bClock1Hz
%IX151.0.8
1.0 Hz System clock
SYSTEM_bClock10Hz
%IX151.1.0
10 Hz System clock
SYSTEM_bClock0100Hz
%IX151.1.8
100 Hz System clock
SYSTEM_bTogCycleTask
%IX151.2.0
Toggle marker cyclic task
SYSTEM_b1LoopCyclicTask
%IX151.2.8
First loop cyclic task
SYSTEM_b1LoopTask2
Bool
%IX151.3.0
First loop task ID2
SYSTEM_b1LoopTask3
Bool
%IX151.3.8
First loop task ID3
SYSTEM_b1LoopTask4
%IX151.4.0
First loop task ID4
SYSTEM_b1LoopTask5
%IX151.4.8
First loop task ID5
SYSTEM_b1LoopTask6
%IX151.5.0
First loop task ID6
SYSTEM_b1LoopTask7
%IX151.5.8
First loop task ID7
SYSTEM_b1LoopTask8
%IX151.6.0
First loop task ID8
SYSTEM_b1LoopTask9
%IX151.6.8
First loop task ID9
SYSTEM_nTaskInterval
Integer
%IW151.7
Interval of current task
SYSTEM_nTaskID
Integer
%IW151.8
ID-number of current task
Tip!
The system variables are not generated in simulation mode.
SYSTEM_bClockxHz
These system flags output a fixed clock pulse with an equal pulse/pause ratio.
•
The flag is toggled in real time.
•
When you use this system flag, take care with the frequency used for polling the flag (aliasing
effect). You should use at least twice the toggle frequency.
Example:
You would like to use the system flag
SYSTEM_bClock100Hz
as a clock for a counter.
•
The pulse/pause ratio is 5 msec/5 msec.
•
To avoid an aliasing effect, the counter must always be polled with an INTERVAL-TASK
efesotomasyon.com - Lenze
Show/Hide Bookmarks