EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 449

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
416
Conversion Instructions Section 3-11
Operand Specifications
Description LINE(063) copies the 16 bits with bit number N from the 16-word range S to
S+15 to the destination word D. Bit N of S+m is copied to bit m of D, i.e., bit N
of S is copied to bit 00 of D and bit N of S+15 is copied to bit 15 of D.
Flags
Area S N D
CIO Area CIO 0 to
CIO 6128
CIO 0 to CIO 6143
Work Area W0 to W496 W0 to W511
Holding Bit Area H0 to H496 H0 to H511
Auxiliary Bit Area A0 to A944 A0 to A959 A448 to A959
Timer Area T0000 to T4080 T0000 to T4095
Counter Area C0000 to C4080 C0000 to C4095
DM Area D0 to D32752 D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants --- #0000 to 000F
(binary) or &0 to
&15
---
Data Registers --- DR0 to DR15
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
0
0 0 0 1 1 1 1 0 001 0 0 0 01
15 00
S
N
1 1 0 1 0 0 1 0 011 1 0 0 01
S+1
0 0 0 1 1 0 1 1 001 0 0 1 11
S+2
.
.
.
.
.
.
...
.
.
.
0 1 1 0 0 0 0 1 100 0 1 0 10
S+15
1 0 0 0 0 0 1 1 000 0 0 1 11
S+3
0 1 1
D
1
15 00
.
.
.
Bit Bit
Bit Bit
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.

Table of Contents

Related product manuals