Process A Channel Input With The Pid Instruction - Allen-Bradley B Series User Manual

Thermocouple/mv isolated input module
Hide thumbs Also See for B Series:
Table of Contents

Advertisement

Process a Channel Input
with the PID Instruction
address
N10:0
Publication 1746-6.16 – January 1999
The module was designed to input a channel directly to a PID instruction of
an SLC 5/02
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,
Program
Rung 2:0
First Pass Bit
S:1
] [
Rung 2:1
Channel 0
Status
I:3.4
] [
Rung 2:2
Rate and Offset values depend on your application. The Destination will typically be an analog output channel.
For specific examples of the SCL instruction, refer to the APS User Manual or Analog I/O Modules User Manual.
Rung 2:3
Data Table
15
data
0000 1000 0010 0001
(numerical equivalent = 2081)
Allen-Bradley
Chapter 7
Ladder Programming Examples
or later processor without the need of an intermediate scale
15
11
0
address
o
C, and channel enabled.
Initialize
Channel 0
MOV
MOVE
Source
N10:0
2081
Dest
O:3.0
PID
PID
Control Block
N11:0
Process Variable
I:3.0
Control Variable
N11:23
Control Block Length
SCL
SCALE
Source
N11:23
Rate [/10000]
Offset
Dest
END
15
data
0
23
0
7–5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1746-int4

Table of Contents