Line-To-Column - Colm - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Conversion Instructions
5-20-16 LINE-TO-COLUMN – COLM(––)
Limitations
Description
Flags
Example
00000
314
Ladder Symbols
COLM(−−)
@COLM(−−)
S
D
C
D and D+15 must be in the same data area.
DM 6129 to DM 6655 cannot be used for D.
C must be BCD between #0000 and #0015.
When the execution condition is OFF, COLM(––) is not executed. When the
execution condition is ON, COLM(––) 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).
S
D
D+1
D+2
D+3
.
.
.
D+15
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 EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
D and D+15 are not in the same data area.
EQ:
ON when the content of S is zero; otherwise OFF.
The following example shows how to use COLM(––) to move the contents of
word DM 0100 (00 to 15) to bit column 15 of the set (DM 0200 to DM 0215).
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
S
D: First word of the destination set
D
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
C
C: Column bit designator (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
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
Address Instruction
COLM(−−)
00000
DM 0100
00001
DM 0200
#0015
Section 5-20
Operand Data Areas
S: Source word
Bit
00
.
0 1
1
1
C
Bit
00
.
.
.
Operands
LD
00000
COLM(−−)
DM
0100
DM
0200
#
0015

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents