1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
7-124 RIO Block Transfer<br />
Rung 2:0<br />
| |<br />
| |<br />
|<br />
POWER±UP BTR |<br />
| BIT CONTROL |<br />
| S:1 +COP---------------+ |<br />
|-+----] [-----+------------------------------------------+COPY FILE |<br />
| 15 |Source #B3:100| |<br />
|<br />
|Dest #M0:1.100| |<br />
| |Length 3| |<br />
| +------------------+ |<br />
Rung 2:1<br />
Copy the BTR status area to a binary file which will be used throughout the program. This avoids addressing the M1 file multiple times<br />
during each program scan. Each time an instruction containing an M1 file bit, word or file is scanned by the processor, an immediate<br />
data transfer to the module occurs and will impact the overall processor scan time.<br />
| SERVICE |<br />
| THE BTR |<br />
| STATUS/ |<br />
| BTR |<br />
| PENDING BTR STATUS |<br />
| B3:5 +COP---------------+ |<br />
|-+----] [-----+------------------------------------------+COPY FILE |<br />
| 0 |Source #M1:1.100| |<br />
|<br />
| | |Dest #B3:0| |<br />
| | | |Length 4| |<br />
| | | +------------------+ |<br />
| | CHECK BTR | |<br />
| | STATUS | |<br />
| | UNTIL DN | |<br />
| | OR ER BIT | |<br />
| | IS OFF | |<br />
| | B3:5 | |<br />
| +----] [-----+ |<br />
| 1 |<br />
Rung 2:2<br />
| | | CHECK BTR |<br />
| | | STATUS |<br />
| | VIRTUAL | UNTIL DN |<br />
| | BTR DONE | OR ER BIT |<br />
| | BIT | IS OFF |<br />
| B3:0 B3:5 |<br />
|----]/[-------------------------------------------------------------(U)--------<br />
| 13 1<br />
|<br />
| |<br />
| | VIRTUAL |<br />
| | BTR ERROR |<br />
| | BIT |<br />
| | B3:0 |<br />
| +----]/[-----+<br />
| 12<br />
Publication <strong>1747</strong>-<strong>6.22</strong><br />
Block Transfer Read Control Logic Example<br />
Configure the BTR operation type, length and rio address at power-up. Bit b3:100/7 must be set prior to run to<br />
indicate a BTR operation.<br />
Unlatch the bit that continues to check the btr status. When a BTR is complete, the done bit is set. The ladder program must then<br />
unlatch the enable bit, then wait for the SN module to turn off the done bit before another BTR to the same M-file location can be initiate<br />
This is one complete BTR cycle.