Rockwell Automation 2711 PanelBuilder Software Getting Started User Manual

Page 103

Advertising
background image

PLC Ladder Logic Program for Remote I/O Application

B–2

Publication 2711-6.2

Rung 2:4
In auto mode, N7:10 equals 0.
In manual mode, N7:10 equals 1.
| Auto/Man Auto/Man |
| indicator status |
| indicator |
| +EQU–––––––––––––––+ +MOV–––––––––––––––+ |
+–+EQUAL +––––––––––––––––––––––––––––––––––––+MOVE +–+
| |Source A N7:10| |Source 0| |
| | 1| | | |
| |Source B 0| |Destination N7:3| |
| | | | 1| |
| +––––––––––––––––––+ +––––––––––––––––––+ |

Rung 2:5
In auto mode, N7:10 equals 0.
In manual mode, N7:10 equals 1.
| Auto/Man Auto/Man |
| indicator status |
| indicator |
| +EQU–––––––––––––––+ +MOV–––––––––––––––+ |
+–+EQUAL +––––––––––––––––––––––––––––––––––––+MOVE +–+
| |Source A N7:10| |Source 1| |
| | 1| | | |
| |Source B 1| |Destination N7:3| |
| | | | 1| |
| +––––––––––––––––––+ +––––––––––––––––––+ |

Rung 2:6
Timer for incrementing and decrementing the motor speed in auto mode.
| T4:0 +TON–––––––––––––––+ |
+––]/[–––––––––––––––––––––––––––––––––––––––––––––––+TIMER ON DELAY +–(EN)–+
| DN |Timer T4:0| |
| |Time base 0.01+–(DN) |
| |Preset 50| |
| |Accum 36| |
| +––––––––––––––––––+ |

Rung 2:7
The latched bit (B3:0/3) is used to decrement the motor speed in auto mode.
| C5:0 B3 |
+––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(L)––+
| DN 3 |

Rung 2:8
The unlatch bit (B3:0/3) is used to increment the motor speed in auto mode.
| +EQU–––––––––––––––+ B3 |
+–+EQUAL +––––––––––––––––––––––––––––––––––––––––––––––––––––(U)––+
| |Source A C5:0.ACC| 3 |
| | 6| |
| |Source B 0| |
| | | |
| +––––––––––––––––––+ |

Advertising