Delta AH500 Programming Manual page 266

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
0216
SCAL
Device X
Y
M
S
1
S
2
S
3
D
Symbol:
Explanation:
1.
The operation equation in the instruction: D=(S
2.
To obtain the values in S
below first, and then round off the results to the nearest whole digit. The final 16-bit values are
entered into S
and S
2
The slope equation: S
The offset equation: S
The output curve is as shown below:
Example 1:
1.
Suppose the values in S
instruction SCAL is executed, and the scale value is stored in D0.
6 - 9 8
Operand
S
, S
, S
P
1
2
3
S
T
C
HC
D
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction
AH500
: Data source
S
1
: Slope
S
2
: Offset
S
3
D : Destination device
and S
, users have to use the slope equation and the offset equation
2
3
.
3
=[(Maximum destination value–Minimum destination value)÷(Maximum
2
source value–Minimum source value)]×1,000
=Minimum destination value–Minimum source value×S
3
, S
, and S
are 500, 168, and -4 respectively. When X0.0 is ON, the
1
2
3
, D
Scale value operation
L
SM SR
E
PR
AH500
Word
Word
Word
Word
×S
)÷1,000+S
1
2
3
Function
K
16# "$"
DF
÷1,000
2

Advertisement

Table of Contents
loading

Table of Contents