512
Conversion Instructions Section 3-12
With CPU Units with unit version 4.0 of later, there are instructions to convert
ASCII to 4, 8, and 16 digits of numeric data (NUM4(517), NUM8(520), and
NUM16(522)).
3-12-12COLUMN TO LINE: LINE(063)
Purpose Converts a column of bits from a 16-word range (the same bit number in 16
consecutive words) to the 16 bits of the destination word.
Ladder Symbol
Variations
Applicable Program Areas
Operands S: First Source Word
Specifies the first source word. S and S+15 must be in the same data area.
N: Bit Number
Specifies the bit number (0000 to 000F or &0 to &15) to be copied from the
source words.
S: D00100
D: D00300
Number of bytes (2 bytes)
Starting digit (digit 1)
Parity bits: Result in even parity
Not chan
ed
Not changed
Conversion
Parity: Even
Starting byte: rightmost
Starting digit in D: Digit 1
Number of bytes: 2
Starting byte in S: Rightmost
LINE(063)
S
N
D
S: First source word
N: Bit number
D: Destination word
Variations Executed Each Cycle for ON Condition LINE(063)
Executed Once for Upward Differentiation @LINE(063)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK