Verify channel configuration changes – Rockwell Automation 1746-NR4 SLC RTD/Resistance Input Module User Manual User Manual
Page 92
Publication 1746-UM008B-EN-P - December 2006
92 Ladder Programming Examples
Verify Channel
Configuration Changes
When executing a dynamic channel configuration change, there is
always a delay from the time the ladder program makes the change to
the time the RTD module gives you a data word using that new
configuration information. Therefore, it is very important to verify that
a dynamic channel configuration change took effect in the RTD
module. This is particularly important if the channel being
dynamically configured is used for control. The Program to Verify
Configuration Word Data Changes ladder diagram explains how to
verify that channel configuration changes have taken effect.
Program to Verify Configuration Word Data Changes
EXAMPLE
Execute a dynamic configuration change to channel 2 of the
RTD module located in slot 3 of a 1746 chassis, and set an
internal data valid bit when the new configuration has taken
effect.
] [
COP
COPY FILE
Source
#N10:0
Dest
#O:3.0
Length
4
S:1
15
Set up all four channels.
Rung 2:0
Set channel 2 to display in ˚C.
] [
0
Rung 2:1
B3
0
I:1.0
[OSR]
MOVE
Source
N10:4
Dest
O:3.2
MOV
Rung 2:2
B3
1
MOVE
Source
N10:2
Dest
O:3.2
MOV
0
I:1.0
[OSR]
Set channel 2 back to display in ˚F.
]/[
Rung 2:3
MASKED MOVE
Source
I:3.6
Mask
9FFF
Dest
N7:0
MVM
BITWISE EXCLUS OR
Source A
N7:0
Mask
O:3.2
Dest
N7:1
XOR