Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 127

Table of Contents

Advertisement

Instruction
Symbol/Operand
Mnemonic
Code
SCALING 2
SCL2(486)
SCL2
@SCL2
486
P1
S: Source word
P1: 1st parameter
word
R: Result word
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Converts signed binary data into signed BCD data according to the
specified linear function. An offset can be input in defining the linear
function.
S
Positive Offset
R (signed BCD)
R
Offset
S (signed binary)
(Signed binary)
P1
Offset
Y
P1 + 1
(Signed binary)
X
(Signed BCD)
P1 + 2
2. Summary of Instructions
Function
Negative Offset
R (signed BCD)
Y
X
X
Offset
Offset of 0000
R (signed BCD)
Offset = 0000 hex
X
Location
Execution
condition
Output
674
Required
Y
S (signed
binary)
Y
S (signed
binary)
Page
2
91

Advertisement

Table of Contents
loading

Table of Contents