beautypg.com

Program the transfer of the configuration word – Rockwell Automation 1746-INT4 Thermocouple/mV Isolated Input Module Quick Start User Manual

Page 14

background image

14 Thermocouple/mV Isolated Input Module

Publication 1746-QS002B-EN-P - July 2002

Program the Transfer of the Configuration Word

Program the transfer of the configuration word (from previous section) to the
module:

1. Using the memory map function, create integer file N10. Integer file N10

should contain one element for each channel used. For this example, we
used N10:0.

2. Enter configuration parameters for channel 0 (from previous section) into

N10:0. In this example, all the bits of N10:0 are zero except for the channel
enable bit (N10:0/11).

3. Program a ladder logic instruction to copy the contents of N10:0 to output

word O:1.0.

TIP

For more detailed information on these procedures, refer to
Chapter 7 (Ladder Programming Examples) and Chapter 9
(Application Programming Examples) of the user manual.

Dest

# O:1.0

Length

1

On power up, the first pass bit (S:1/15)
is set for one scan, enabling the COPY
instruction to transfer the configuration
word to the processor's output image
table. From there it is transferred to the
module in the processor's I/O scan.

address 15 data 0 address 15 data 0
N10:0 0000 1000 0000 0000

] [

COP

COPY FILE
Source

# N10:0

First Pass Bit

S:1

15

Data Table Display of Integer File N10:0

Ladder Logic to Transfer N10:0 to the Module: