8 - 2
8 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 Description example
M0
Bit conditional expression
!M0+X10
M100
Comparison conditional expression (D0>K100)+(D100L!=K20L)
Device set (SET=) SET Y0=M100
Device reset (RST=) RST M10=D0==K100
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.