beautypg.com

Rockwell Automation 1746-FIO4V SLC 500 Fast Analog I/O/ User Manual User Manual

Page 50

background image

Publication 1746-UM009B-EN-P - September 2007

50 Write Ladder Logic

2. Then we shift the linear relationship along the input value axis.

3. Now we compute the offset for the shifted linear relationship.

The offset is 205, well below 32,767. The slope remains 3685/10
(> 3.2767), so you cannot use the SCL instruction for scaling.

9.5 V = 3890
(scaled max)

0.5 V = 205
(scaled min)

Scaled
Value

Input Value

100%
(input max)

90%
(input min)

Offset = scaled min – (input min x slope)

= 205 – [0 x (368.5)] = 205

Slope = (scaled range) / (input range) = (3890 – 205) / 10 = 3685/10
Scaled value = (input value x slope) + offset = [input value x 3685 /10] + 205

This manual is related to the following products: