EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 482

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
449
Logic Instructions Section 3-12
3-12-9 COMPLEMENT: COM(029)
Purpose Turns OFF all ON bits and turns ON all OFF bits in Wd.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Description COM(029) reverses the status of every specified bit in Wd.
Wd
Wd: 1 0 and 0 1
Note When using the COM instruction, be aware that the status of each bit will
change each cycle in which the execution condition is ON.
Flags
COM(029)
Wd
Wd: Word
Variations Executed Each Cycle for ON Condition COM(029)
Executed Once for Upward Differentiation @COM(029)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area Wd
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants ---
Data Registers DR0 to DR15
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Name Label Operation
Error Flag ER OFF
Equals Flag = ON when the result is 0.
OFF in all other cases.
Negative Flag N ON when the leftmost bit of R is 1.
OFF in all other cases.

Table of Contents

Related product manuals