Bit Device Output Inversion - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Bit device output inversion

FF
High
Basic
Process
Redundant Universal
performance
FF
(D): Device number of the device to be reversed (bits)
Setting
Internal device
data
Bit
Word
(D)
Processing details
• Reverses the output status of the device designated by (D) when the execution command is turned OFF  ON.
Device
Bit device
Word device bit designation
Operation error
• There is no operation error in the FF instruction.
Program example
• The following program reverses the output of Y10 when X9 goes ON.
[Ladder Mode]
[Timing Chart]
ON
X9
OFF
ON
Y10
OFF
LCPU
Command
R, ZR
J\
Bit
Word
Device status
Prior to FF execution
OFF
ON
0
1
[List Mode]
Step
FF
D
U\G
Zn
Constant
After FF execution
ON
OFF
1
0
Instruction
Device
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
Others
DY
5
167

Advertisement

Table of Contents
loading

Table of Contents