Line - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

LINE

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

Advertisement

Table of Contents
loading

Table of Contents