Publication 1747-UM013B-EN-P - January 2005
Block Transfer Examples for Earlier Processors
D-23
| BTW BTW |
| PENDING STATUS |
| B3 +COP---------------+ |
|-+----] [-----+------------------------------------------+COPY FILE +-|
| | 1 | |Source #M1:1.200| |
| | | |Dest #N7:64| |
| | | |Length 4| |
| | | +------------------+ |
| | | |
| | | |
| | | |
| | CHECK BTW | |
| | STATUS | |
| | B3 | |
| +----] [-----+ |
| 3 |
Rung 2:3
COPY THE BTW STATUS AREA TO AN INTEGER FILE ONLY WHEN A BTW IS IN PROGRESS.
THIS STATUS DATA WILL THEN BE USED THROUGHOUT THE PROGRAM AND WILL LIMIT THE
NUMBER OF M-FILE ACCESSES.
| |
| |
| |
Rung 2:4
UNLATCH THE BIT THAT CONTINUES TO CHECK THE BTW STATUS. WHEN A BTW IS
COMPLETE, THE DONE OR ERROR BIT IS SET. THE LADDER PROGRAM MUST THEN UNLATCH
THE ENABLE BIT, THEN WAIT FOR THE SN MODULE TO TURN OFF THE THE DONE/ERROR BIT
BEFORE ANOTHER BTW TO THE SAME M-FILE LOCATION CAN BE INITIATED. THIS COMPLETES
ONE BTW CYCLE.
| |
| |
| VIRTUAL |
| BTW DONE CHECK BTW |
| BIT STATUS |
| N7:64 B3 |
|-+----]/[-----+-------------------------------------------------------(U)-----|
| | 13 | 3 |
| | | |
| | | |
| | VIRTUAL | |
| | BTW ERROR | |
| | BIT | |
| | N7:64 | |
| +----]/[-----+ |
| 12 |
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)---------------+ |
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com