beautypg.com

Rockwell Automation 1746-NI16V SLC 500 Analog Input Modules User Manual User Manual

Page 20

background image

Publication 1746-UM001A-US-P

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.
3. Program an instruction in your ladder logic to copy the contents of N10:0 to output word O:1.0.

Chapter 7

(Application Examples)

DATA FILE N10

Offset

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

N10:0

0

1

0

0

0

0

0

0

0

0

0

0

0

0

0

] [

COP

COPY FILE
Source

#N10:0

Dest

#O:1.0

Length

1

S:1

15

1

On powerup, the first pass bit (S:1/15)

is set for one scan, enabling the MOV

instruction that transfers the channel

configuration word 0. This configures

and enables channel 0.

Initialize 1746-NI16

First Pass Bit

This manual is related to the following products: