2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 146

Advertising
background image

2 Instructions

2-110

CP1E CPU Unit Instructions Reference Manual(W483)

When CIO 0.00 is ON in the following example, the content of D101 and D100 are copied to D201 and
D200.

When CIO 0.00 is ON in the following example, the status of the bits in CIO 100 is inverted and the
result is copied to D100.

0.01

MOV

+1234

D11

0.02

MOV

-1234

D12

0.03

D10

1

2

8

11

12

15

3

4

0

3

4

7

D11

0

4

8

11

12

15

D

2

0

3

4

7

D12

F

B

8

11

12

15

2

E

0

3

4

7

MOV

#1234

D10

(Decimal 1234)

(Decimal -1234)

(Hexadecimal 1234)

MOVL

D100

D200

0.00

D100

D101

D200

D201

MVN

100

D100

0.00

100CH

D100

1101

D

1001

9

0010

2

0000

0

0010

2

0110

6

1101

D

1111

F

Advertising
This manual is related to the following products: