Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 169

Advertising
background image

Block Transfer

Chapter 14

14-14

Keystrokes: Now enter the block transfer write instruction.

[BLOCK

XFER]

The screen does not change

EN

Block Xfer Write

Data Addr:
Module Addr:
Block Length:
File:

030
100

01

110

DN

010

06

110

06

110Ć

0

Note that the words BLOCK TRANSFER WRITE are flashing.

Insert the following values. The cursor moves automatically through the
block transfer write instruction. The values are:

DATA ADDRESS 041
MODULE ADDRESS 130
BLOCK LENGTH 05
FILE

060-064

The completed bidirectional instruction should look like this:

EN

Block Xfer Read

Data Addr:
Module Addr:
Block Length:
File:

040
130

05

074

DN

013

07

113

07

070Ć

EN

Block Xfer Write

Data Addr:
Module Addr:
Block Length:
File:

041
130

05

064

DN

013

06

113

06

060Ć

Under certain conditions, it may be desirable to transfer part of a file rather
than the entire file. For example, a processor could be programmed to read
the first two or three channels of an analog input module periodically but
read all channels less frequently. To do this, use two or more block
transfer read instructions: one for each desired transfer length starting at
the same first word. The read instructions would have the same module
address, data address and file address but different block lengths. The size
of the file would equal the largest transfer.

Multiple Reads of

Different Block Lengths from

One Module

Advertising