Omron C200HS Garage Door Opener User Manual


 
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 111000100001
Bit
15
Bit
00
D
C
1101001001110001
D+1
0001101100100111
D+2
.
.
.
.
.
.
.
.
.
.
0111000110001010
D+15
1000001100000111
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