![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262495.webp)
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)
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......