Omron CS1G/H-CPUxxH Instructions Manual page 97

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
SCALING 3
SCL3(487)
SCL3
@SCL3
487
S: Source word
P1: 1st parameter
word
R: Result word
AVERAGE
AVG(195)
AVG
195
S: Source word
N: Number of
cycles
R: Result word
76
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
Positive Offset
P1
R
R (signed binary)
Max
conver-
sion
Offset
Min.
conver-
S (signed BCD)
sion
Offset of 0000
R (signed binary)
Max
conver-
sion
Min. conversion
Calculates the average value of an input word for the specified
number of cycles.
S
S: Source word
N
R
R
R + 1
R + 2
R + 3
R + N + 1
Function
Negative Offset
R (signed binary)
Max conversion
∆Y
∆X
Offset
Min. conversion
∆Y
∆X
S (signed BCD)
N: Number of cycles
Pointer
Average Valid Flag
Section 2-2
Location
Execution
condition
Output
Required
∆Y
∆X
S (signed BCD)
Output
Required
Average
N values
Page
712
716

Advertisement

Table of Contents
loading

Table of Contents