Program action – Rockwell Automation 1794-XXXX FLEX I/O High-Density Analog Modules User Manual

Page 77

Advertising
background image

Publication 1794-UM062A-EN-P - September 2012

Module Programming 69

PLC-3 Family Sample Program Structure for a 1794-IE8 Module

Program Action

At power-up in RUN mode, or when the processor is switched from PROG to
RUN, the user program enables a block transfer read. Then it initiates a block
transfer write to configure the module if the power-up bit is set.

Thereafter, the program continuously performs read block transfers.

The pushbutton allows the user to manually request a block transfer write to
configure the module.

EN

BTR
BLOCK TRANSFER READ
RACK:
GROUP:
SLOT:

DATA FILE:

7
0
0

B4:0

LENGTH:

CONTROL:

9

B3:0

05

Pushbutton

B3:0

15

DN

ER

Block Transfer

Read Done Bit

B3:0

Block Transfer
Write Done Bit

12

15

13

Enable

Done

Error

EN

BTR
BLOCK TRANSFER WRITE
RACK:
GROUP:
SLOT:

DATA FILE:

7
0
0

B5:0

LENGTH:

CONTROL:

1

B3:0

DN

ER

02

05

03

Enable

Done

Error

Power-up Bit

1

B4:8

15

1

Power-up bit included in Series B modules only.

1

2

TIP

You must create the data file for the block transfers before
you enter the block transfer instructions.

Advertising