Rockwell Automation 1785-BCM_BEM, D17856.5.4 PLC-5 Backup Communication Module User Manual User Manual

Page 141

Advertising
background image

Sample Programs

Appendix A

A-23

Rung 10:3
THIS RUNG IS SIMILAR TO RUNG 10:2.
| PACKET |
| LENGTH |
| BTW 3 STORED IN |
| EN N30:182 |
| N30:25 +MOV–––––––––––––––+ |
+––––]/[––––––––––––––––––––––––––––––––––––––+––––––––––+MOVE ++–+
| 15 | |Source N30:182|| |
| | | 3|| |
| | |Dest N32:129|| |
| | | 3|| |
| | +––––––––––––––––––+| |
| | BTW 3 | |
| | BID=3 | |
| | +MOV–––––––––––––––+| |
| +––––––––––+MOVE ++ |
| | |Source 3|| |
| | | || |
| | |Dest N32:130|| |
| | | 3|| |
| | +––––––––––––––––––+| |
| | BTW 3 | |
| | DATA | |
| | +COP–––––––––––––––+| |
| +––––––––––+COPY FILE ++ |
| | |Source #N34:124|| |
| | |Dest #N32:131|| |
| | |Length 62|| |
| | +––––––––––––––––––+| |
| | BTW 3 | |
| |+BTW––––––––––––––––––––+ | |
| ++BLOCK TRNSFR WRITE +–(EN)+ |
| |Rack 00| |
| |Group 0+–(DN) |
| |Module 0| |
| |Control Block N30:25+–(ER) |
| |Data file N32:129| |
| |Length 0| |
| |Continuous N| |
| +–––––––––––––––––––––––+ |
| |
Rung 10:4
| |
+––––––––––––––––––––––––––––––––[END OF FILE]–––––––––––––––––––––––––––––––––+
| |

Place additional rungs here to transfer more blocks at a time. You can have
up to 16 rungs total when using a PLC-5/15 or PLC-5/25 processor. You
can have up to 64 rungs total when using a PLC-5/20, -5/30, -5/40, -5/60 or
-5/80 processor. The number of rungs you have here must equal the
number of rung pairs you have in file 9.

Advertising