3. Instructions
410
CS/CJ/NSJ Series Instructions Reference Manual (W474)
LINE
Applicable Program Areas
Operands
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
COLUMN TO LINE LINE @LINE 063
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.
Symbol
LINE
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S First source word WORD 16
N Bit number UINT 1
D Destination word UINT 1
S: First Source Word
Note 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.
D: Destination Word
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S
OK OK OK OK OK OK OK OK OK OK
--- ---
--- OK --- --- --- ---N OK
OK
D ---
Name Label Operation
Error Flag ER • ON if N is not within the specified range of 0000 to 000F.
• OFF in all other cases.
Equals Flag = • ON if D is 0000 after execution.
• OFF in all other cases.
S: First source word
N: Bit number
D: Destination word
LINE(063)
S
N
D
15
0N
S
S+15
This bit is output to D
D
N-specified bit of S
N-specified bit of S+14
15 14
01
N-specified bit of S+15
N-specified bit of S+1