Rockwell Automation 2711 PanelBuilder Software Getting Started User Manual

Page 102

Advertising
background image

Appendix

B

Publication 2711-6.2

PLC Ladder Logic Program for

Remote I/O Application

Program Listing Report for RIO PLC–5/25 File GSRIO1

Rung 2:0
Block transfer data for PanelView outputs.
| N17:0 N17:20 +BTW––––––––––––––––––––+ |
+––]/[–––]/[––––––––––––––––––––––––––––––––––––+BLOCK TRANSFER WRITE +–(EN)–+
| 15 15 |Rack 01| |
| |Group 0+–(DN) |
| |Module 0| |
| |Control block N17:0+–(ER) |
| |Data file N7:0| |
| |Length 10| |
| |Continuous N| |
| +–––––––––––––––––––––––+ |

Rung 2:1
Block transfer data for PV inputs.
| N17:20 N17:0 +BTR––––––––––––––––––––+ |
+––]/[––––]/[–––––––––––––––––––––––––––––––––––+BLOCK TRANSFER READ +–(EN)–+
| 15 15 |Rack 01| |
| |Group 0+–(DN) |
| |Module 0| |
| |Control block N17:20+–(ER) |
| |Data file N7:10| |
| |Length 10| |
| |Continuous N| |
| +–––––––––––––––––––––––+ |

Rung 2:2
When the start motor push button is pressed, set the motor start indicator and
reset the motor stop indicator.
| Start Motor |
| motor started |
| pushbutton indicator |
| I:010 O:010 |
+––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+–––(L)––––+–+
| 10 | 10 | |
| |Motor | |
| |stopped | |
| |indicator | |
| | O:010 | |
| +–––(U)––––+ |
| 11 |

Rung 2:3
When the stop motor push button is pressed, set the motor stop indicator and
reset the motor start indicator.
| Stop Motor |
| motor stopped |
| pushbutton indicator |
| I:010 O:010 |
+––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+–––(L)––––+–+
| 11 | 11 | |
| |Motor | |
| |started | |
| |indicator | |
| | O:010 | |
| +–––(U)––––+ |
| 10 |

Advertising