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.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...