1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
7-130 RIO Block Transfer<br />
Publication <strong>1747</strong>-<strong>6.22</strong><br />
Rung 2:0<br />
Configure the BTR operation type, length and RIO address at power-up. Bit b3:100/7 must be set prior to going to ru<br />
to indicate a BTR operation.<br />
| |<br />
| |<br />
| |<br />
| POWER±UP BTR |<br />
| BIT CONTROL |<br />
| S:1 +COP---------------+ |<br />
|----] [--------------------------------------------------+COPY FILE +-<br />
| 15 |Source #B3:100| |<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<br />
M1 file multiple times during each program scan. Each time an instruction containing an M1 file bit, word or file is<br />
scanned by the processor an immediate data transfer to the module occurs and therefore will impact the overall<br />
processor scan time.<br />
| |<br />
| |<br />
| |<br />
| BTR |<br />
| PENDING BTR STATUS |<br />
| B3 +COP---------------+ |<br />
|-+----] [-----+------------------------------------------+COPY FILE +-<br />
| | 80 | |Source #M1:1.100| |<br />
| | | |Dest #B3:0| |<br />
| | | |Length 4| |<br />
| | | +±±±±±±±±±±±±±±±±±±+ |<br />
| | | |<br />
| | | |<br />
| | | |<br />
| | CHECK BTR | |<br />
| | STATUS | |<br />
| | B3 | |<br />
| +----] [-----+ |<br />
| 81 |<br />
Rung 2:2<br />
When the error or done bit is set indicating that the BTR completed either unsuccessfully or successfully, the enable<br />
bit must be unlatched by the ladder program. The <strong>1747</strong>-SN scanner then unlatches the error/done bit to complete<br />
the block transfer hand-shake process at this time the "check BTR status" bit must be unlatched to avoid<br />
| |<br />
| unnecessary M-file accesses.<br />
|<br />
| VIRTUAL |<br />
| BTR DONE CHECK BTR |<br />
| BIT STATUS |<br />
| B3 B3 |<br />
|-+----]/[-----+-------------------------------------------------------(U)-----<br />
| | 13 | 81 |<br />
| | | |<br />
| | | |<br />
| | | |<br />
| | | |<br />
| | VIRTUAL | |<br />
| | BT ERROR | |<br />
| | BIT | |<br />
| | B3 | |<br />
| +----]/[-----+ |<br />
| 12 |