Function blocks
Function blocks for TwinSAFE logic components 191
3.26.8.2 Movement errors
Movement errors reported in function block state ERROR
In MOVE-UP-
CLOCKWISE state
MoveContraClockwise
becomes TRUE
The Position has changed contra
clockwise while moving up
clockwise (actual Position=%d,
old Position=%d)
In MOVE-UP-CONTRA-
CLOCKWISE state
MoveClockwise becomes
TRUE
The Position has changed
clockwise while moving up contra
clockwise (actual Position=%d,
old Position=%d)
In MOVE-STOP-TDC
state Reset is FALSE
and Stopped changes to
FALSE
The Position has moved while
waiting for a rising edge of the
input Reset in Pendulum Mode,
actual position=%d, compare
position=%d
In MOVE-START-TDC
state Reset is TRUE and
Stopped changes to
FALSE
The Position has moved while
waiting for a falling edge of the
input Reset in Pendulum Mode,
actual position=%d, last
position=%d
In WAIT-FOR-RESET
state Reset is FALSE
and Stopped changes to
FALSE
The Position was moving while
waiting for a falling edge of the
input Reset in the state WAIT-
FOR_RESET
3.26.8.3 Error while PressStarted input is active
Errors reported in function block state ERROR when input PressStarted is TRUE
If PressStarted is TRUE
and Stopped does not
change to FALSE within
the
PressStartedDelayTime
The input PressStarted is TRUE
and the position did not move
after the PressStartedDelayTime
PressStarted is TRUE and
Stopped changes to
TRUE
The input PressStarted is TRUE
and the position has stopped
after moving before
PressStarted is TRUE and
Stopped FALSE and
position does not change
by at least
MinPositionChange within
the MoveDetectionTime
The input PressStarted is TRUE
and the position has not moved
enough, the actual position is
%d, the compare position is %d