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

Table of Contents

Advertisement

3. Instructions

SCL2

Instruction
SCALING 2
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
Source word
P1
First parameter word
R
Result word
P1: First Parameter Word
15
P1
15
P1+1
15
P1+2
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
P1
OK
OK
OK
R
674
Mnemonic
Variations
SCL2
@SCL2
Block program areas
Step program areas
OK
OK
Description
0
Offset of linear function
8000 to 7FFF (signed binary)
0
X
8000 to 7FFF (signed binary)
0
Y
0000 to 9999 (BCD)
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
Converts signed binary data into signed BCD data
486
according to the specified linear function. An offset
can be input in defining the linear function.
SCL2
SCL2(486)
S: Source word
S
P1: First parameter word
P1
R
R: Result word
Subroutines
OK
Data type
INT
WORD
WORD
Note P1 to P1+2 must be in the same area.
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
3
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents