Omron CJ2 - 02-2010 User Manual page 528

Cj2 cpu unit software
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
Code
SCALING 2
SCL2
486
@SCL2
SCALING 3
SCL3
487
@SCL3
A-52
Symbol/Operand
Converts signed binary data into signed BCD data according
SCL2(486)
to the specified linear function. An offset can be input in
defining the linear function.
S
Positive Offset
P1
R (signed BCD)
R
S: Source word
P1: 1st parameter
word
R: Result word
Offset
P1
Offset
∆Y
P1 + 1
∆X
P1 + 2
Converts signed BCD data into signed binary data according
SCL3(487)
to the specified linear function. An offset can be input in
defining the linear function.
S
P1
Positive Offset
R
R (signed binary)
S: Source word
Max.
P1: 1st parameter
conver-
word
sion
R: Result word
Min.
conver-
sion
Offset of 0000
R (signed binary)
Max.
conver-
sion
Function
Negative Offset
R (signed BCD)
∆Y
∆X
S (signed binary)
Offset
Offset of 0000
(Signed binary)
R (signed BCD)
(Signed binary)
(Signed BCD)
Offset = 0000 hex
Negative Offset
R (signed binary)
Max conversion
∆Y
∆X
Offset
S (signed BCD)
Offset
S (signed BCD)
Min. conversion
∆Y
∆X
S (signed BCD)
Min. conversion
CJ2 CPU Unit Software User's Manual
Execution
Location
condition
Output
Required
∆Y
∆X
S (signed
binary)
∆Y
∆X
S (signed
binary)
Output
Required
∆Y
∆X

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents