Rockwell Automation 2711 PanelBuilder Software Getting Started User Manual

Page 104

Advertising
background image

PLC Ladder Logic Program for Remote I/O Application

B–3

Publication 2711-6.2

Rung 2:9
In auto mode, the motor speed will continually increment and decrement between
zero and one thousand.
| Auto/Man Motor |
| indicator started |
| indicator |
| T4:0 +EQU–––––––––––––––+ O:010 B3 +CTU–––––––––––––––+ |
+––] [––+EQUAL +––––] [––––––––––+–]/[––+COUNT UP +–(CU)+–+
| DN |Source A N7:10| 10 | 3 |Counter C5:0| | |
| | 1| | |Preset 20+–(DN)| |
| |Source B 0| | |Accum 6| | |
| | | | +––––––––––––––––––+ | |
| +––––––––––––––––––+ | B3 +CTD–––––––––––––––+ | |
| +–] [––+COUNT DOWN +–(CD)+ |
| | 3 |Counter C5:0| | |
| | |Preset 20+–(DN)| |
| | |Accum 6| | |
| | +––––––––––––––––––+ | |
| | Motor | |
| | speed | |
| | indicator | |
| | +MUL–––––––––––––––+| |
| +–––––––––––+MULTIPLY ++ |
| |Source A C5:0.ACC| |
| | 6| |
| |Source B 50| |
| | | |
| |Destination N7:1| |
| | 510| |
| +––––––––––––––––––+ |

Rung 2:10
In manual mode, the motor speed is incremented by ten each time the increment
motor speed push button goes from a false to true transition.
| Auto/Man Increment Motor |
| status motor speed |
| indicator speed indicator |
| pushbutton |
| +EQU–––––––––––––––+ N7:11 T4:0 +ADD–––––––––––––––+ |
+–+EQUAL +––––] [––––––] [––––––––––––––––––––+ADD +–+
| |Source A N7:3| 1 DN |Source A 10| |
| | 1| | | |
| |Source B 1| |Source B N7:1| |
| | | | 510| |
| +––––––––––––––––––+ |Destination N7:1| |
| | 510| |
| +––––––––––––––––––+ |

Rung 2:11
In manual mode, the motor speed is decremented by one each time the decrement
motor speed push button goes from a false to true transition.
| Auto/Man Decrement Motor |
| status motor speed |
| indicator speed indicator |
| pushbutton |
| +EQU–––––––––––––––+ N7:11 T4:0 +SUB–––––––––––––––+ |
+–+EQUAL +––––] [––––––] [––––––––––––––––––––+SUBTRACT +–+
| |Source A N7:3| 0 DN |Source A N7:1| |
| | 1| | 510| |
| |Source B 1| |Source B 10| |
| | | | | |
| +––––––––––––––––––+ |Destination N7:1| |
| | 510| |
| +––––––––––––––––––+ |

Advertising