6 TRANSITION PROGRAMS
What can be set as a transition condition in the last block are bit conditional
expressions, comparison conditional expressions and device set
(SET=)/device reset (RST=) which return logical data values (true/false). In
the case of device set (SET=)/device reset (RST=), whether the bit or
comparison conditional expression specified at (S) is true or false is a
transition condition, and when the transition condition enables, device
set/reset is executed and execution shifts to the next step.
Transition condition description examples are given below.
Classification
Bit conditional expression
Comparison conditional expression
Device set (SET=)
Device reset (RST=)
POINT
(1) A transition program differs from an operation control program in that a
transition condition is set in the last block.
Other settings are the same as those of the operation control program.
(2) When setting device set (SET=)/device reset (RST=) in the last block as a
transition condition, the bit or comparison conditional expression specified with
(S) is not omissible.
(3) Only the bit or comparison conditional expression cannot be set in other than
the last block. Device set (SET=)/device reset (RST=) can be set in other than
the last block.
M0
!M0+X10 M100
(D0>K100)+(D100L!=K20L)
SET Y0=M100
RST M10=D0==K100
6 - 2
Description example