Dynamic programming, Programming procedure – Rockwell Automation 1746-NR4 SLC RTD/Resistance Input Module User Manual User Manual

Page 91

Advertising
background image

Publication 1746-UM008B-EN-P - December 2006

Ladder Programming Examples 91

Dynamic Programming

The programming example explains how to change data in the
channel configuration word when the channel is currently enabled.

Programming Procedure

1. Create a new element in integer file N10 using the memory map

function.

Integer file N10 already contains four elements (N10:0 through
N10:3). You add a fifth element (N10:4).

2. Enter the same configuration data as in the previous example

using the data monitor function, except for bit 8.

Bit 8 is now set for a logic 0 (°C).

EXAMPLE

Execute a dynamic configuration change to channel 2 of the
RTD module located in slot 3 of a 1746 chassis. Change from
monitoring the temperature in °F to monitoring in °C.

] [

COP

COPY FILE
Source

#N10:0

Dest

#O:3.0

Length

4

S:1

15

Set up all four channels.

Rung 2:0

] [

0

Set channel 2 to display in ˚C.

Rung 2:1

B3

0

I:1.0

MOVE
Source

N10:4

Dest

O:3.2

MOV

[OSR]

Rung 2:2

B3

1

MOVE
Source

N10:2

Dest

O:3.2

Set channel 2 back to display in ˚F

MOV

0

I:1.0

[OSR]

]/[

Rung 2:3

END

Advertising