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

Table of Contents

Advertisement

3. Instructions

SCL

Instruction
SCALING
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
15
P1+3
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
P1
OK
OK
OK
R
670
Mnemonic
Variations
SCL
@SCL
Block program areas
Step program areas
OK
OK
Description
0
Scaled value for point A (Ar)
0000 to 9999 (4-digit BCD)
0
Unscaled value for point A (As)
0000 to FFFF (binary)
0
Scaled value for point B (Br)
0000 to 9999 (4-digit BCD)
0
Unscaled value for point B (Bs)
0000 to FFFF (binary)
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
Converts unsigned binary data into unsigned BCD
194
data according to the specified linear function.
SCL
SCL(194)
S: Source word
S
P1: First parameter word
P1
R
R: Result word
Subroutines
OK
Data type
UINT
LWORD
WORD
Note P1 to P1+3 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
4
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents