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

Page 146

Advertising
background image

Sample Programs

Appendix A

A-28

Rung 11:9
THIS RUNG MONITORS AND COUNTS THE BTR 3 ERRORS.
| BTR 3 |
| BTR 3 ERROR |
| ER COUNT |
| N30:20 +CTU–––––––––––––––+ |
+–+–––] [––––––––––––––––+–––––––––––––––––––––––––––+COUNT UP +–(CU)–+
| | 12 | |Counter C28:7| |
| | |LOCAL | |Preset 999+–(DN) |
| | |SERIAL | |Accum 0| |
| |BTR 3 |COMM. | +––––––––––––––––––+ |
| |DN |FAULT | |
| | N30:20 N31:129 | |
| +–––] [––––+–––] [––––++ |
| 13 | 0 | |
| |LOCAL | |
| |BACKPLANE | |
| |FAULT | |
| | N31:129 | |
| +–––] [––––+ |
| | 1 | |
| |LOCAL | |
| |PROGRAM | |
| |ERROR | |
| |FAULT | |
| | N31:129 | |
| +–––] [––––+ |
| 3 |
Rung 11:10
THIS RUNG MONITORS AND COUNTS THE BTW 3 ERRORS.
| BTW 3 |
| BTW 3 ERROR |
| ER COUNT |
| N30:25 +CTU–––––––––––––––+ |
+––––] [–––––––––––––––––––––––––––––––––––––––––––––+COUNT UP +–(CU)–+
| 12 |Counter C28:22| |
| |Preset 999+–(DN) |
| |Accum 0| |
| +––––––––––––––––––+ |

You can add more rungs here as required to monitor and count the BTR
and BTW instructions in your program .

Rung 11:11
| |
+––––––––––––––––––––––––––––––––[END OF FILE]–––––––––––––––––––––––––––––––––+
| |

Advertising