![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436211.webp)
201
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 exe-
cution 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
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...