EasyManua.ls Logo

Omron SYSMAC CV Series - Double Complement: Coml(139)

Omron SYSMAC CV Series
636 pages
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...
(139)
COMLD02000
0000
00
348
10 0110 0110 0110 01
01 1001 1001 1001 10
15 00
15 00
Original
Complement
D02000
5-25-10 DOUBLE COMPLEMENT: COML(139)
(139)
COML Wd
Wd: Word CIO, G, A, DM
Operand Data AreaLadder Symbol
Variations
j COML(139)
When the execution condition is OFF, COML(139) is not executed. When the
execution condition is ON, COML(139) turns OFF all ON bits and turns ON all
OFF bits in Wd and Wd+1.
Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
EQ (A50006): The result is 0.
N (A50008): Shows the status of bit 15 of R+1 after execution.
Example When CIO 000000 is ON in the following example, the complement of the status
of each bit in D02000 and D02001 is taken and written back to D02000 and
D02001, i.e., the status of each bit is reversed.
Address Instruction Operands
00000 LD 000000
00001 COML(139)
00002 D02000
01 01 01 01
10 10 10 10
15 00
15 00
01 01 11 11
10 10 00 00
15 00
15 00
Original
Complement
D02000D02001
Description
Precautions
Logic Instructions Section 5-25

Table of Contents

Related product manuals