![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268121.webp)
82
Instruction Functions
Section 2-2
SCALING 3
SCL3
@SCL3
487
Output
Required
805
AVERAGE
AVG
195
Output
Required
808
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
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
AVG(195)
S
N
R
S
: Source word
N
: Number of
cycles
R
: Result word
R + N + 1
R
R + 1
R + 2
R + 3
Average Valid Flag
Pointer
Average
N values
N: Number of cycles
S: Source word
Calculates the average value of an input word for the specified
number of cycles.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...