Programming examples, Chapter 5 – Spectrum Controls 1746sc-INI4vi User Manual

Page 43

Advertising
background image

Programming Examples

Read this chapter to familiarize yourself with how to use the advanced
features of your module for:

• PID control

• user-defined scaling

For information on how to use the Allen-Bradley Advanced
Programming Software (APS) to create ladder programs, see the Getting
Started Guide For APS
.

PID Control

Your input module was designed to work directly with the SLC 5/02, 5/
03, and 5/04 PID instruction—without an intermediate scaling operation.
Use the input channel data as the process variable in the PID instruction.

Example — Suppose your input module is in slot 3, and you have a level
sensor with a 4–20 mA range connected to channel 0. The following
figures show you how to use it for PID control:

Figure 11. PID control example.

4–20 mA
Level
Sensor

Analog Output

Module (slot 1)

1746sc-INI4i
Analog Input
Module (slot 3)

Valve

Analog Input Signal (channel 0)

Analog Output Signal

Chapter

5

Advertising