Appendices
A-36
CP2E CPU Unit Software User’s Manual(W614)
SCALING 3 SCL3 @ Converts signed BCD data into signed binary data according to
the specified linear function. An offset can be input in defining the
linear function.
P1: First Parameter Word
Note P1 to P1+4 must be in the same area.
Instruction Mnemonic Variations Symbol/Operand 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
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
P1
P1+1
P1+2
P1+3
P1+4
15 0
15 0
15 0
15 0
15 0
ΔX
ΔY
Offset of linear function
8000 to 7FFF (signed binary)
0001 to 9999 (BCD)
8000 to 7FFF (signed binary)
Maximum conversion
8000 to 7FFF (signed binary)
Minimum conversion
8000 to 7FFF (signed binary)