178
4 OPERATION CONTROL PROGRAMS
4.10 Bit Device Statuses
OFF (Normally closed contact): !
■Usable Data
: Usable
■Description, data type of result
• True is returned when the bit device specified with (S) in a bit conditional expression is OFF (0), or false is returned when
that bit device is ON (1).
An operation error will occur if:
• (S) is an indirectly specified device and its device No. is outside the range.
■Program which resets M100 when M0 is OFF (0)
Format Number of basic steps Usable steps
F/FS G
!(S) 4
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) Bit device used in bit conditional expression Logical type (true/false)
RST M100 = !M0
M100 0 0!M0 (True)