Scaling and range checking of analog inputs and – Rockwell Automation 1746-XXXX SLC 500 4-Channel Analog I/O Modules User Manual User Manual

Page 86

Advertising
background image

Publication 1746-UM005B-EN-P - June 2004

6-24 Programming Examples

Scaling and Range
Checking of Analog Inputs
and Outputs

The scaling instruction available in the SLC 5/02 processor is used to
realize a more efficient program. The scaling instruction uses the same
multiply, divide and add algorithm but it does so with a single rate
instead of the scaled range and input range values. The rate is
determined by:

Rate = (scaled range / input range) x 10,000

For the programming example the rate = 6250

Advertising