Process A Channel Input With The Pid Instruction - Rockwell Automation AB quality Allen-Bradley 1746-INT4 User Manual

Thermocouple/mv isolated input module
Table of Contents

Advertisement

62
Ladder Programming Examples
Process a Channel Input
with the PID Instruction
Publication 1746-UM614B-EN-P - September 2007
The module was designed to input a channel directly to a PID
instruction of an SLC 5/02 processor or later without the need of an
intermediate scale operation.
EXAMPLE
Use channel data as the process variable for the PID instruction.
1. Select scaled-for-PID as the data type in the channel
configuration word.
2. Specify channel data word as the process variable for the PID
instruction.
In this example, the value 2081 is the numeric equivalent of
configuration word N10:0 for channel 0. It is configured for a type K
thermocouple, scaled-for-PID, zero the signal for an open input, °C,
and channel enabled.
Program
Rung 2:0
First Pass Bit
S:1
] [
15
Rung 2:1
Channel 0 Status
I:3.4
] [
11
Rung 2:2
Rate and Offset values depend on your application. The Destination will typically be an
Rung 2:3
analog output channel. For specific examples of the SCL instruction, refer to the Analog I/O
Modules User Manual.
Use channel data as the process variable for the PID
instruction.
PID
PID
Control Block
Process Variable
Control Variable
Control Block Length
SCL
SCALE
Source
Rate [/10000]
Offset
Dest
END
Initialize Channel 0
MOV
MOVE
Source
N10:0
2081
Dest
O:3.0
0
N11:0
I:3.0
N11:23
23
N11:23

Advertisement

Table of Contents
loading

Table of Contents