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