7 - 6
7 OPERATION CONTROL PROGRAMS
(f) Logical data
The logical data is a value returned by a bit or comparison conditional
expression and indicates whether the result is true or false.
Normally, it is used in the conditional expression of a transition program. In
an operation control program, the logical data is used in a bit conditional
expression set to device set (SET=) or device reset (RST=).
Example 1
SET M0 = X10
Logical data
Bit data
Example 2
RST M5 = !X10 M100
Logical data
Bit data
Example 3 (transition program)
D0 == K100
Logical data