184
4 OPERATION CONTROL PROGRAMS
4.12 Logical Operations
4.12 Logical Operations
Logical acknowledgement: (None)
■Usable Data
: Usable
■Description, data type of result
• Whether the logical type data specified with (S) is true or false is returned unchanged. (Logical acknowledgement)
An operation error will occur if:
• (S) is an indirectly specified device and its device No. is outside the range.
■Program which sets M100 when either of M0 and X0 is ON (1)
Format Number of basic steps Usable steps
F/FS G
(S)
Setting
data
Usable Data
Bit
device
Word device Constant Calculation
expression
Bit
conditional
expression
Comparison
conditional
expression
16-bit
integer
type
32-bit
integer
type (L)
64-bit
floating
point
type (F)
16-bit
integer
type
(K/H)
32-bit
integer
type
(K/H, L)
64-bit
floating
point
type (K)
(S)
Setting data Description Data type of result
(S) Data which will be logically acknowledged Logical type (true/false)
SET M100 = M0 + X0
M100 +
1
M0
0
X0
1
(True)
(True)
(False)