A-35
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1 In
struction
Fu
nctio
n
s
App
A-1-15 Data C
ontrol Instr
uctio
ns
SCALING 2
SCL2
@
Converts signed binary data into signed BCD 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+2 must be in the same area.
Instruction
Mnemonic
Variations
Symbol/Operand
Function
SCL2(4
8
6)
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
Ne
g
ative Offset
P1
P1+1
P1+2
15
0
15
0
15
0
Offset of linear function
8
000 to 7FFF (signed binary)
8
000 to 7FFF (signed binary)
0000 to 9999 (BCD)
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......