Chapter 6 Applied Instructions
6-99
2. The operation equation: D0=(500×168)÷1,000+(-4)=80
D
S
1
0
=500
Slope=168
Offset=-4
Source value
Destination value
Example 2:
1. Suppose the values in S
1
, S
2
, and S
3
are 500, -168, and 534 respectively. When X0.0 is ON,
the instruction SCAL is executed, and the scale value is stored in D10.
2. The operation equation: D10=(500×-168)÷1,000+534=450
Additional remark:
1. Only when the slope and the offset are known can the instruction SCAL be used. If the slope
and the offset are unknown, users are suggested to use the instruction SCLP to perform the