Publication 1747-UM013B-EN-P - January 2005
Block Transfer Examples for Earlier Processors
D-15
Rung 2:5
INITIATE A BTR FOR EACH FALSE-TO-TRUE TRANSITION OF THE USER INPUT.
| USER LOGIC |
| TO |
| INITIATE A |
| BTR |
| I:2 B3 B3 |
|----] [------[OSR]-------------------------------------------------------(L)--|
| 0 82 83 |
Rung 2:6
WHEN USER LOGIC INITIATES A NEW BTR, LATCH THE ENABLE BIT AS LONG AS A BTR IS
NOT IN PROGRESS. ALSO, LATCH THE BTR PENDING BIT SO THE BTR STATUS FILE WILL BE
READ BY THE LADDER PROGRAM.
| | | |
| | | |
| VIRTUAL |VIRTUAL |VIRTUAL |
| BTR ENABLE|BTR DONE |BTR ERROR BTR |
| BIT |BIT |BIT PENDING |
| B3 B3 B3 B3 B3 |
|--] [-----]/[--------]/[--------]/[----------------------------+----(L)-----+-|
| 83 1615 13 12 | 80 | |
| | | |
| | | |
| | VIRTUAL | |
| | BTR ENABLE | |
| | BIT | |
| | B3 | |
| +----(L)-----+ |
| | 1615 | |
| | B3 | |
| +--(U)-------+ |
| 83 |
Rung 2:7
MOVE THE VIRTUAL CONTROL WORD TO THE M0 FILE FOR THE SN MODULE WHILE A BTR IS
IN PROGRESS, AND CONTINUE DOING SO UNTIL THE ENABLE, DONE AND ERROR BITS ARE
ALL TURNED OFF, COMPLETING THE BTR HAND-SHAKE PROCESS.
| |
| |
| VIRTUAL BTR |
| BTR ENABLE CONTROL |
| BIT WORD |
| B3 +MOV---------------+ |
|-+----] [-----+------------------------------------------+MOVE +-|
| | 1615 | |Source B3:100| |
| | | | 0000000000000000| |
| | | |Dest M0:1.100| |
| | | | *| |
| | | +------------------+ | |
| | |
| | | |
| | VIRTUAL | |
| | BTR DONE | |
| | BIT | |
| | B3 | |
| +----] [-----+ |
| | 13 | |
| | | |
| | | |
| | VIRTUAL | |
| | BTR ERROR | |
| | BIT | |
| | B3 | |
| +----] [-----+ |
| 12 |
Rung 2:8
| |
|-------------------------------------+END+------------------------------------|
| |
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com