Omron C200HG Computer Hardware User Manual


 
224
5-18-13 COLUMN TO LINE LINE(63)
S: First word of 16 word source set
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: Destination word
IR, SR, AR, DM, HR, TC, LR
LINE(63)
S
C
D
@LINE(63)
S
C
D
Limitations S and S+15 must be in the same data area.
C must be between #0000 and #0015.
Description When the execution condition is OFF, LINE(63) is not executed. When the
execution condition is ON, LINE(63) copies bit column C from the 16-word set (S
to S+15) to the 16 bits of word D (00 to 15).
0
0 0 0 0 111000100001
Bit
15
Bit
00
S
C
1101001001110001
S+1
0001101100100111
S+2
.
.
.
.
.
.
. . .
.
.
.
0111000110001010
S+15
1000001100000111
S+3
0 1 1
D
1
Bit
15
Bit
00
.
.
.
Flags ER: The column 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 D is zero; otherwise OFF.
Example The following example shows how to use LINE(63) to move bit column 07 from
the set (IR 100 to IR 115) to DM 0100.
LINE(63)
100
#0007
DM 0100
00000
Address Instruction Operands
00000 LD 00000
00001 LINE(63)
100
# 0007
DM 0100
Data Conversion Section 5-18