EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
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...
805
Data Control Instructions Section 3-18
Operand Specifications
Description SCL3(487) is used to convert the signed BCD data (the BCD data contains
the absolute value and the Carry Flag shows the sign) contained in the source
word S into signed binary data and place the result in the result word R
according to the linear function defined by the slope (
X, Y) and an offset.
The maximum and minimum conversion values are also specified. The
address of the first word containing
X, Y, the offset, the maximum conver-
sion, and the minimum conversion is specified for the first parameter word P1.
The sign of the result is indicated by the status of the Carry Flag (ON: nega-
tive, OFF: positive). Use STC(040) and CLC(041) to turn the Carry Flag ON
and OFF.
The following equations are used for the conversion.
The offset and slope can be a positive value, 0, or a negative value. Using a
negative slope enables reverse scaling.
The result will be rounded to the nearest integer.
Area S P1 R
CIO Area CIO 0000 to CIO
6143
CIO 0000 to CIO
6139
CIO 0000 to CIO
6143
Work Area W000 to W511 W000 to W507 W000 to W511
Holding Bit Area H000 to H511 H000 to H507 H000 to H511
Auxiliary Bit Area A000 to A447
A448 to A959
A000 to A443
A448 to A955
A448 to A959
Timer Area T0000 to T4095 T0000 to T4091 T0000 to T4095
Counter Area C0000 to C4095 C0000 to C4091 C0000 to C4095
DM Area D00000 to
D32767
D00000 to
D32763
D00000 to
D32767
EM Area without bank E00000 to
E32767
E00000 to
E32763
E00000 to
E32767
EM Area with bank En_00000 to
En_32767
(n = 0 to C)
En_00000 to
En_32763
(n = 0 to C)
En_00000 to
En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants ---
Data Registers DR0 to DR15 --- 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
Y
R =
Binary conversion of X
x ((Binary conversion of S)+(Offset))
The slope of the line is Y/X.

Table of Contents

Related product manuals