Chapter 6
Ladder Programming Examples
6–4
Figure 6.5 explains how to change data in the channel configuration word
when the channel is currently enabled.
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.
Procedure
1. Using the memory map function, create a new element in integer file
N10. Integer file N10 already contains four elements (N10:0 through
N10:3). You will now add a fifth element (N10:4).
2. Using APS data monitor function, enter the same configuration data as in
the previous example, except for bit 8. Bit 8 is now set for a logic 0 (
°
C).
Figure 6.5
Program To Change Configuration Word Data
] [
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
Data Table
address 15 data 0 address 15 data 0
N10:0 0000 1001 0001 0001 N10:3 0000 1001 0001 0001
N10:1 0000 1001 0001 0001 N10:4 0000 1000 0001 0001
N10:2 0000 1001 0001 0001
Dynamic Programming
AB Spares
Содержание SLC 500 1746-NR4
Страница 1: ...User Manual SLC 500t RTD Resistance Input Module Cat No 1746 NR4 Allen Bradley AB Spares ...
Страница 15: ...Preface P 8 Notes AB Spares ...
Страница 37: ...Chapter 2 Quick Start 2 12 Notes AB Spares ...
Страница 63: ...Chapter 4 Preliminary Operating Considerations 4 12 Notes AB Spares ...
Страница 87: ...Chapter 5 Channel Configuration Data and Status 5 24 Notes AB Spares ...
Страница 107: ...Chapter 7 Module Diagnostics and Troubleshooting 7 8 Notes AB Spares ...
Страница 117: ...Chapter 8 Application Examples 8 10 Notes AB Spares ...
Страница 123: ...Appendix A Specifications A 6 Notes AB Spares ...
Страница 125: ...Appendix B RTD Standards B 2 Notes AB Spares ...