7–16
Application Examples
SLC 5/03 Processor
RIO Scanner
Publication 1747 6.6 - July 1996
System Layout Diagram
Local System
Remote System
RIO Link
1747-ASB
IV16 Module
OV16 Module
To Other RIO
Devices
Example Program
The following program samples the analog input data from the
1746-NIO4I module located in the remote I/O chassis every 100 ms
by executing a BTR every 100 ms. This data is then scaled for the
4 to 20 mA output and sent back to the analog module via a BTW.
The meter will then display the 4 to 20mA analog output as a 0 to
100% scale. Refer to the system layout diagram above. Also refer
to the analog module user manual, Catalog Number 1746-6.4 for
details on analog input and output ranges as well as scaling.
Important:
The following block transfer program example accesses
multiple M-file addresses throughout the program. This
increases the SLC processor scan time. If processor
scan time is a concern, please refer to the block transfer
program examples in chapter 5 instead. These
examples manage the M-file addresses more efficiently.
NIO4I
Output
Input
4 to 20 mA Transducer
0
100
4 to 20 mA Analog
Meter
(0 to 100%)