Delta AS Series Programming Manual page 386

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0216
SCAL
Device
X
Y
M
S
1
S
2
S
3
D
Data
type
S
1
S
2
S
3
D
Symbol
Explanation
1.
This instruction finds a scaled linear value for the number in S1 using the slope of the line in S
to define the scaling factor, and stores the result in D.
2.
The operation equation in the instruction is D=(S
3.
To get the values in S
2
results to the nearest whole digit. Enter the final 16-bit values into S
The slope equation: S
2
Minimum source value)]×1,000
The offset equation: S
3
Operand
S
, S
, S
P
1
2
S
T
C
HC
Pulse instruction
: Data source
S
1
: Slope
S
2
: Offset
S
3
: Destination device
D
×S
1
and S
, use the slope equation and the offset equation below first, and then round off the
3
=[(Maximum destination value–Minimum destination value)÷(Maximum source value–
=Minimum destination value–Minimum source value×S
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
, D
Finding a scaled value (point-slope)
3
D
FR
SM
SR
16-bit instruction
AS
AS
)÷1,000+S
2
3
and S
.
2
3
÷1,000
2
Function
E
K
16#
"$"
32-bit instruction
AS
and the offset in S
2
6 - 1 0 7
F
6_
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents