Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 450

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Conversion Instructions
Example
3-11-13 LINE TO COLUMN: COLM(064)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Operand Specifications
When CIO 0.00 is ON in the following example, LINE(063) copies bit 5 from
D100 to D115 to the 16 bits in D200.
0.00
D100
&5
D200
Converts the 16 bits of the source word to a column of bits in a 16-word range
of destination words (the same bit number in 16 consecutive words).
COLM(064)
S
D
N
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
D: First Destination Word
Specifies the first destination word. D and D+15 must be in the same data
area.
N: Bit Number
Specifies the bit number (0000 to 000F or &0 to &15) to be overwritten by the
source word.
Area
CIO Area
Work Area
S: D100
D101
D102
to
D115
D: D200
S: Source word
D: First destination word
N: Bit number
Step program areas
OK
OK
S
CIO 0 to
CIO 0 to
CIO 6143
CIO 6128
W0 to W511
W0 to W496
Section 3-11
N: #0005
to
COLM(064)
@COLM(064)
Not supported
Subroutines
Interrupt tasks
OK
D
N
CIO 0 to
CIO 6143
W0 to W511
417

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents