beautypg.com

Rockwell Automation 1771-PD PID MODULE (+DU) User Manual

Page 180

background image

Application Example 1, Continuous Block

Transfer

Appendix B

BĆ21

Figure B.6

PLCĆ3 Continuous Block Transfer Program

TE

ONE SHOT

CPU SCANS

TP =
TA =

T0000

1
0

TT

EN

BTR
BLOCK XFER READ
RACK :
GROUP :
MODULE:

002

1

0 = LOW

FB002:0000

DN

0

FB003:0000

ER

DATA :
LENGTH =
CNTL:

]

[

]

[

LBL

I0012

00000

00

TOS

T0000

17

T0000

16

THIS RUNG ENERGIZES T1/16 FOR ONE CPU SCAN WHEN PUSHBUTTON 012/00 IS CLOSED. THIS BIT THEN SETS THE

LOAD" BIT IN RM5 TO INITIATE A LOAD/ENTER SEQUENCE

CNTL

12

CNTL

15
CNTL

13

]

[

]

[

LBL

WB003:0000

00001

15

PERFORMS A READ" OF THE STATUS BLOCK FROM THE -PD MODULE AND TRANSFERS THAT BLOCK INTO A USER-SPECIFIED

BUFFER AREA. (*NOTE*-BLOCK TRANSFER RUNG MUST BE CONDITIONED WITH AN XIO" OF ITS' RESPECTIVE DONE" BIT)

EN

MVF
FILES FROM A TO R
A : FB002:0000
R : FB000:0057
COUNTER:

0/ 18

DN

ALL/SCAN

C0006

ER

POS/LEN =
MODE =

C0006

12

15

13

RUNG NUMBER RM0

RUNG NUMBER RM1

C0006

C0006

]

[

]

[

LBL

WB003:0000

00002

15

UPON COMPLETION OF A SUCCESSFUL READ" OF THE STATUS BLOCK INTO THE BUFFER AREA, (SIGNIFIED BY AN

ON" CONDITION OF THE READ BLOCK TRANSFER DONE" BIT) THE STATUS BLOCK IS MOVED FROM THE BUFFER TO THE

USER SPECIFIED STATUS AREA.

RUNG NUMBER RM2