EasyManua.ls Logo

Omron SYSMAC CS/CJ Series

Omron SYSMAC CS/CJ Series
383 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
122
Data Control Instructions Section 3-16
SCALING 3
SCL3
@SCL3
487
Output
Required
AVERAGE
AVG
195
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
S: Source word
P1: 1st parameter
word
R: Result word
SCL3(487)
S
P1
R
R (signed binary)
S (signed BCD)
Positive Offset
Offset
R (signed binary)
S (signed BCD)
Negative Offset
Offset
X
Y
R (signed binary)
S (signed BCD)
Offset of 0000
X
Y
Max
conver-
sion
Min.
conver-
sion
Max conversion
Min. conversion
Max
conver-
sion
Min. conversion
X
Y
Converts signed BCD data into signed binary data according to the
specified linear function. An offset can be input in defining the linear
function.
S: Source word
N: Number of
cycles
R: Result word
AVG(195)
S
N
R
S: Source word
N: Number of cycles
Average
N values
Pointer
Average Valid Flag
R + N + 1
R
R + 1
R + 2
R + 3
Calculates the average value of an input word for the specified number of
cycles.

Table of Contents

Related product manuals