7–17Application Examples
Publication
17476.6 - July 1996
Rung 2:0
Configure the BTR and BTW length and RIO address at power–up. Also, set the block
transfer operation bit for BTR operation only.
| |
| |
| |
| POWER–UP BTR |
| BIT CONTROL |
| S:1 +COP–––––––––––––––+ |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––+–+COPY FILE +–+–|
| 15 | |Source #N7:50| | |
| | |Dest #M0:1.101| | |
| | |Length 2| | |
| | +––––––––––––––––––+ | |
| | BT | |
| | OPERATION | |
| | BIT | |
| | M0:1.100 | |
| +––––(L)–––––––––––––––+ |
| | 7 | |
| | BTW | |
| | CONTROL | |
| | +COP–––––––––––––––+ | |
| +–+COPY FILE +–+ |
| |Source #N7:52| |
| |Dest #M0:1.201| |
| |Length 2| |
| +––––––––––––––––––+ |
Rung 2:1
Copy the BTR status area to an integer file only when a BTR is in progress. This
status data will then be used throughout the program and will limit the number of
M–File accesses.
| SERVICE |
| THE BTR |
| STATUS/ |
| BTR |
| PENDING BTR STATUS |
| B3:0 +COP–––––––––––––––+ |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––+COPY FILE +–|
| 0 |Source #M1:1.100| |
| |Dest #N7:60| |
| |Length 4| |
| +––––––––––––––––––+ |
Rung 2:2
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.
| SERVICE |
| THE BTW |
| STATUS/ |
| BTW BTW |
| PENDING STATUS |
| B3:0 +COP–––––––––––––––+ |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––+COPY FILE +–|
| 1 |Source #M1:1.200| |
| |Dest #N7:64| |
| |Length 4| |
| +––––––––––––––––––+ |