Program the configuration – Rockwell Automation 1746-NT4 Series B,D17466.6.1 SLC 500 4-Channel Thermocouple/mV Input Module User Manual User Manual

Page 26

Advertising
background image

Publication 1746-UM007C-EN-P - July 2004

2-6 Quick Start for Experienced Users

7.

Program the configuration.

Reference

Do the programming necessary to establish the new configuration word setting in the previous

step.

1. Create integer file N10. Integer file N10 should contain one element for each channel used.

(For this example we only need one, N10:0.)

2. Enter the configuration parameters from step 6 for channel 0 into integer N10:0.

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

3. Program an instruction in your ladder logic to copy the contents of N10:0 to output word O:1.0.

Chapter 6
(Ladder
Programming
Examples)

Chapter 8
(Application
Examples)

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 that transfers a
one to bit 11 of channel configuration
word 0. This enables the channel.

.

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

Example of Data Table for Integer File N10:

8.

Write the ladder program.

Reference

Write the remainder of the ladder logic program that specifies how your thermocouple input data
will be processed for your application. In this procedure the addressing reflects the location of
the module as slot 1.

Chapter 5
(Channel
Configuration,
Data, and
Status)

Chapter 6
(Ladder
Programming
Examples)

Chapter 8
(Application
Examples)

Your
programming
device user
manual.

Channel 1 Data Word

Channel 2 Data Word

Channel 3 Data Word

Output Image

SLC 500 Controller
Data Files

Bit 15

Bit 0

Word 1

Word 2

Word 3

Address

I:1.0

Input Image

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Channel 0 Data Word

Word 0

Word 7

(8 words)

Channel 1 Status Word

Channel 2 Status Word

Channel 3 Status Word

Channel 0 Status Word

(Variable Thermocouple Input Data)

Address

I:1.0
I:1.1
I:1.2
I:1.3

I:1.7

Advertising
This manual is related to the following products: