Rockwell Automation 1771-IE,D17716.5.7 ANAL.INPUT MOD. User Manual

Page 22

Advertising
background image

Programming the Analog Input Module

Chapter 4

4Ć3

BTR data (control) address is 030
BTR file address is 050

FFM counter address is 043
FFM number of words moved
is

8

FFM source file A is 050
FFM destination file R is 150
FFM rate per scan is 8

Figure 4.2

Example Program for PLCĆ2 Family Processors (Local Chassis)

EN

BLOCK XFER READ
DATA ADDR:
MODULE ADDR:
BLOCK LENGTH:
FILE:

030
120

08

050 - 057

DN

BTR

DN

FILE TO FILE MOVE

COUNTER ADDR:

POSITION:
FILE LENGTH:
FILE A:
FILE R:

RATE PER SCAN:

EN

DN

Rung 1

Rung 2

012

07

112

07

043

17

043

15

043

000

08

050 - 057

150 - 157

08

112

07

IOT

012

Rung 3

Use only when 1771-IE is in a local chassis and block transfers to this

module are inhibited.

Important: When your input module is in a local I/O chassis, random
chance could allow block transfer requests to occur during module
housekeeping and prevent block transfers. This condition is apparent
when the done bit remains reset and no new data is transferred. If this
condition should occur, we recommend that you add rung 3 to your
program. It guards against the possibility of the processor repeatedly
asking for a block transfer each time the module inhibits block transfers
while updating its inputs.

Advertising