5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
201
5
Inverting the bit device output
FF
This instruction inverts the status of the specified device.
■Execution condition
■Description, range, data type
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
■Applicable devices
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
• This instruction inverts the status of the device specified by (d) on the rising edge of the execution command.
Ladder ST
ENO:=FF(EN,d);
FBD/LD
Instruction Execution condition
FF
Operand Description Range Data type Data type (label)
(d) Inversion target device number Bit ANY_BOOL
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
(DY)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LS T,
LC
LZ K, H E $
(d)
Operand Bit Word Constant
SA\X, SA\Y, SA\M, SA\SM, SA\B SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD K, H
(d)
Device Device status
Before execution of the FF instruction After execution of the FF instruction
Bit device Off On
On Off
Bit-specified word device 0 1
10
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)