
225
5-18-14 LINE TO COLUMN – COLM(64)
S
: Source word
IR, SR, AR, DM, HR, TC, LR
C:
Column bit designator (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
D
: First word of the destination set
IR, AR, DM, HR, TC, LR
COLM(64)
S
D
C
@COLM(64)
S
D
C
Limitations
D and D+15 must be in the same data area.
C must be between #0000 and #0015.
Description
When the execution condition is OFF, COLM(64) is not executed. When the
execution condition is ON, COLM(64) copies the 16 bits of word S (00 to 15) to
the column of bits, C, of the 16-word set (D to D+15).
0
0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1
Bit
15
Bit
00
D
C
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
D
+1
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
D
+2
.
.
.
.
.
.
.
.
.
.
0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0
D
+15
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
D
+3
0 1
1
S
1
Bit
15
Bit
00
.
.
.
.
.
.
.
.
.
Flags
ER:
The bit designator C is not BCD, or it is specifying a non-existent bit (i.e.,
bit specification must be between 00 and 15).
Indirectly addressed DM word is non-existent. (Content of
DM word is
not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the content of S is zero; otherwise OFF.
Example
The following example shows how to use COLM(64) to move the contents of
word DM 0100 (00 to 15) to bit column 15 of the set (DM 0200 to DM 0215).
COLM(64)
DM 0100
DM 0200
#0015
00000
Address
Instruction
Operands
00000
LD
00000
00001
COLM(64)
DM
0100
DM
0200
#
0015
Data Conversion
Section 5-18
Summary of Contents for SYSMAC C200HE
Page 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Page 2: ......
Page 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 380: ......
Page 410: ......
Page 438: ......
Page 464: ......
Page 474: ......
Page 522: ......
Page 538: ......
Page 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 554: ......
Page 560: ......
Page 584: ......
Page 585: ......
Page 586: ...W303 E1 09 ...