EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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...
516
Conversion Instructions Section 3-12
Description COLM(064) copies the 16 bits from S to the 16 bits with bit number N in the
16-word range D to D+15. Bit m of S is copied to bit N of D+m, i.e., bit 00 of S
is copied to bit N of D and bit 15 of S is copied to bit N of D+15.
Flags
Example When CIO 000000 is ON in the following example, COLM(064) copies the 16
bits in D00200 (bits 00 through 15) to bit 5 in D00100 through D00115.
0
0 0 0 0 1 1 1 0 001 0 0 0 01
15 00
D
1 1 0 1 0 0 1 0 011 1 0 0 01
D+1
0 0 0 1 1 0 1 1 001 0 0 1 11
D+2
.
.
.
.
.
.
.
.
.
.
0 1 1 1 0 0 0 1 100 0 1 0 10
D+15
1 0 0 0 0 0 1 1 000 0 0 1 11
D+3
0 1 1
S
1
15 00
. . . . . .
.
.
.
Bit Bit
Bi
Bit Bit
Name Label Operation
Error Flag ER ON if N is not within the specified range of 0000 to 000F.
OFF in all other cases.
Equals Flag = ON if bit N is 0 in all 16 words D to D+15 after execution.
OFF in all other cases.
S: D00200
D:
to
to

Table of Contents

Related product manuals