Line To Column: Colm(116) - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Conversion Instructions
Flags
Example
0000
00

5-17-14 LINE TO COLUMN: COLM(116)

Ladder Symbol
(116)
COLM
S
Variations
j COLM(116)
Description
Precautions
Flags
226
Content of *DM word is not BCD when set for BCD.
ER (A50003):
The bit designator Bi is not BCD, or it is specifying a non-ex-
istent bit (i.e., bit specification must be between 00 and 15).
EQ (A50006):
Content of D is 0 after execution
When CIO 000000 is ON in the following example, the status of bits number 08 in
D00100 through D00115 are output in order to D00005, with the status of bit 08
in D00100 being output to bit 00 of D00005.
(115)
LINE
D00100
#0008
D
Bi
When the execution condition is OFF, COLM(116) is not executed. When the
execution condition is ON, COLM(116) copies the 16 bits of word S (00 to 15) to
bit Bi of the 16-word set D through D+15, i.e., bit n of S is copied to bit Bi of D+n,
for n=00 to 15. In the following example, Bi would be 5.
S
D
D+1
D+2
D+3
D+15
Bi must be BCD between 0000 and 0015.
Note Refer to page 101 for general precautions on operand data areas.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
The bit designator Bi is not BCD, or it is specifying a non-ex-
istent bit (i.e., bit specification must be between 00 and 15).
EQ (A50006):
Content of S is 0
D00005
Operand Data Areas
S: Source word
st
D: 1
destination word CIO, G, A, DM
Bi: Bit designator
Bit
15
.
.
.
.
.
0
Bit
15
0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
.
.
.
.
.
.
.
.
.
0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0
Section 5-17
Address Instruction
00000
LD
00001
LINE(115)
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, T, C, #(BCD), DM, DR, IR
Bit
00
.
.
0 1
1
1
Bi
Bit
00
.
.
.
Operands
000000
D00100
#0008
D00005

Advertisement

Table of Contents
loading

Table of Contents