Description:
−
The stopwatch is running if I1 = TRUE and I2 = FALSE. In all other cases, the stopwatch is
stopped.
− Input 3 determines the direction.
I3 = TRUE: Stop watch runs forward,
I3 = FALSE: Stopwatch runs backward.
− A positive edge at I4 sets the stopwatch (output O1) to the start value P1.
As from the next negative edge, the stopwatch will be running (if I1 = TRUE and I2 =
FALSE).
− P2 determines the divisor with which the internal value is converted in the output value.
− The output value is limited to the range 0.00% … 327.67%.
I1 I2 I3 I4 Function
1 0 1 x Stopwatch runs forward.
1 0 0 x Stopwatch runs backward
1 0 x
0
Æ1
Reset to start value P1
1 0 x
1
Æ0
Start after reset
Examples:
If I1 (release) = TRUE, I2 (release, inverted) = FALSE, I3 (counting direction) = TRUE, I4 (re-
set) = FALSE, the internal counter (long) is increased by one every millisecond. In order to
calculate the output value, this value is divided by P2.
P2 = 1000: O1 is increased by 0.01% every second.
1) P2 = 1, time: one second (1000 ms).
Output value:
%1 0
%
ms
1001
ms1000
2P
s1
2P
t
1 =
×
===O
After one second, the output reaches the value 10%.
2) P2 = 1000, time: one hour (3600 s).
Output value:
%3 6
%
ms
1001000
ms0006003
2P
s3600
2P
t
1 =
×
===O
O1 is increased by 0.01% every second.
After one hour, the output reaches the value 36%.
5.10 Positioning functions
The positioning can be controlled directly from the PLC functions. Via the control operation
mode of the positioning, the control can be handed assigned to the PlC functions. The position-
ing can be controlled in the settings for parameter
Configuration 30 = "x40". In these configu-
rations, parameter
Operation mode 1221 must be set to "1000 - Control via function table" in
order to control the positioning via the PLC functions.
Output O2|O1 (High word|Low word) outputs the actual position. In operation mode 507 -
"Check state", the output indicates if a motion block is running.
Note:
The "Positioning" user manual describes the positioning functions in configurations x40.