beautypg.com

Rockwell Automation 1747-SN Remote I/O Scanner User Manual

Page 157

background image

Publication 1747-UM013B-EN-P - January 2005

Block Transfer Examples for Earlier Processors D-29

Rung 2:5
WHEN

A

BTR

SUCCESSFULLY

COMPLETES,

BUFFER

THE

BTR

DATA

AND

UNLATCH

BOTH

THE

BTR

VIRTUAL

ENABLE

BIT

AND

THE

BTR

PENDING

BIT.

ALSO,

LATCH

THE

BIT

THAT

CONTINUES

CHECKING

THE

BTR

STATUS

UNTIL

THE

SN

MODULE

TURNS

OFF

THE

DONE

BIT.

| |
| |
| VIRTUAL |
| BTR DONE |
| BIT BTR DATA |
| N7:60 +COP---------------+ |
|----] [----------------------------------------------+-+COPY FILE +-+-|
| 13 | |Source #M1:1.110| | |
| | |Dest #N7:0| | |
| | |Length 10| | |
| | +------------------+ | |
| | | |
| | | |
| | | |
| | BTR | |
| | PENDING | |
| | B3 | |
| +----(U)---------------+ |
| | 0 | |
| | | |
| | | |
| | VIRTUAL | |
| | BTR ENABLE | |
| | BIT | |
| | N7:50 | |
| +----(U)---------------+ |
| | 15 | |
|

|

|

|

|

|

|

|
| | | |
| | | |
| | | |
| | CHECK BTR | |
| | STATUS | |
| | B3 | |
| +----(L)---------------+ |
| 2 |
Rung 2:6
WHEN A BTR UNSUCCESSFULLY COMPLETES, BUFFER THE ERROR CODE AND UNLATCH THE BTR
ENABLE BIT AND THE BTR PENDING BIT. ALSO, LATCH THE CHECK BTR STATUS BIT IN
ORDER TO CONTINUE READING THE STATUS INFORMATION FROM THE SCANNER UNTIL IT
TURNS THE ERROR BIT OFF, COMPLETING THE HAND-SHAKE PROCESS.
| |
| |
| BTR ERROR |
| BIT |
| N7:60 +MOV---------------+ |
|----] [----------------------------------------------+-+MOVE +-+-|
| 12 | |Source M1:1.103| | |
| | | *| | |
| | |Dest N7:21| | |
| | | 0| | |
| | +------------------+ | |
| | | |
| | | |
| | | |
| | BTR | |
| | PENDING | |
| | B3 | |
| +----(U)---------------+ |
| | 0 | |
| | | |
| | | |
| | VIRTUAL | |
| | BTR ENABLE | |
| | BIT | |
| | N7:50 | |
| +----(U)---------------+ |
| | 15 | |
| | | |
| | | |
| | | |

| | CHECK BTR | |
| | STATUS | |
| | B3 | |
| +----(L)---------------+ |
| 2 |