Chapter 5 Instruction Specifications
5-87
Item number Application instructions-15 Name NOT
Ladder format Condition code
Processing time (µs)
Remark
R7F4 R7F3 R7F2 R7F1 R7F0
Average Maximum
NOT (d) DER ERR SD V C Upper case: B
zzzzz
27
Instruction format Number of steps
Middle case: W
Condition Steps
22
NOT (d) 2 Lower case: DW
28
Bit Word Double word
Usable I/O
XY
R,
M
TD, SS,
CU, CT WX WY
WR,
WM TC DX DY
DR,
DM
Constant
Other
d I/O to be reversed {{ {{ {{
Function
• Reverses the contents of d.
1111000011110000
0000111100001111
Before execution
After execution
Notes
• Use edge trigger as the startup condition for this instruction.
Program example
R000 DIF0
LD R000
AND DIF0
[
NOT WR0000
]
NOT
(WR0000)
Program description
• When R000 rises, the content of WR0000 is reversed.
Example) If WR0000 is H1234, WR0000 = HEDCB after the instruction is executed;
WR0000 = H1234 when executed again
NOT (d)