Rockwell Automation 1746-NR4 SLC RTD/Resistance Input Module User Manual User Manual

Page 94

Advertising
background image

Publication 1746-UM008B-EN-P - December 2006

94 Ladder Programming Examples

] [

MOVE
Source

N10:0

Dest

O:3.0

First Pass Bit

S:1

15

Rung 2:0

MOV

Initialize NR4 Channel 0

11

Rung 2:1

Channel 0

Status

] [

I:3.4

PID

PID
Control Block

N11:0

Process Variable

I:3.0

Control Variable

N11:23

Control Block Length

23

Entering address N1 1:0 allocates elements N11:0 to N11:22 for required

Control Block file length of 23 words. The Process Variable is address

I:3.0, which stores the value of input data word 0 (channel 0). Output of
the PID instruction is stored at address N11:23 (Control Variable
address).

Rung 2:2

SCL

SCALE
Source

N11:23

Rate [/10000]

Offset

Dest

The Rate and Offset parameters should be set per your application. The Dest is typically an analog output
channel. Refer to the SLC Instruction Set Reference Manual or Analog I/O Modules User Manual for specific
examples of the SCL instruction

Rung 2:3

END

Advertising