Plcć3 family processor – Rockwell Automation 1771-IFF/A,D17716.5.116 FAST ANALOG INPUT MODULE User Manual

Page 74

Advertising
background image

B–2

Programming Examples

Publication 1771Ć6.5.116 - July 1996

The PLC-2 family write block transfer data file should look like
Figure B.1.

Figure B.1

Write Block Transfer Data Transfer for a PLCĆ2 Family Processor

DATA ADDR: 030

BINARY DATA MONITOR

BLOCK TRANSFER WRITE

MODULE ADDR: 110

FILE: 400Ć444

BLOCK LENGTH: 37

POSITION

FILE DATA

001
002
003
004
005
006
007

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

008
009
010
011
012

013
014
015

DATA

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

00000000

Following is a sample procedure for entering data in the
configuration words of the write block transfer instruction when
using a PLC-3 processor.

To enter data in the configuration words, follow these steps:

Example:
Enter the following rung for a write block transfer:

EN

DN

CNTL

12

CNTL

15

BLOCK XFER WRITE

RACK :

GROUP :

MODULE:

DATA:

001

1

1 = HIGH

F0003:0000

ER

CNTL

13

LENGTH =

CNTL:

37

FB004:0000

F0003:0000 is the address of the write block transfer data file. You
want to enter/examine word 1.

PLCĆ3 Family Processor

Advertising