Omron CP1E-E@@D@-@ Computer Hardware User Manual


 
2 Instructions
2-284
CP1E CPU Unit Instructions Reference Manual(W483)
SCL3
Applicable Program Areas
Operands
P1: First Parameter Word
Instruction Mnemonic Variations
Function
code
Function
SCALING 3 SCL3 @SCL3 487
Converts signed BCD data into signed binary data
according to the specified linear function. An offset
can be input in defining the linear function.
Symbol
SCL3
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
S Source word WORD 1
P1 First parameter word WORD 5
R Result word INT 1
Note P1 to P1+4 must be in the same area.
S: Source word
P1: First parameter word
R: Result word
SCL3(487)
S
P1
R
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 binar
y)
0001 to 9999 (BCD)
8000 to 7FFF (signed binary)
Maximum conversion
8000 to 7FFF (signed binary)
Minimum conversion
8000 to 7FFF (signed binary)