![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030122.webp)
82
Instruction Functions
Section 2-2
SCALING 3
SCL3
@SCL3
487
Output
Required
804
AVERAGE
AVG
195
Output
Required
807
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 CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...