Rockwell Automation 2711 PanelBuilder Software Getting Started User Manual

Page 100

Advertising
background image

SLC Ladder Logic Program for DH-485/DH+ Application

A–3

Publication 2711-6.2

Rung 2:10
When the motor is started or stopped, the motor speed is moved to N7:2. The
PanelView displays the value at N7:2.
| B3 +MOV–––––––––––––––+ |
|––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+MOVE +–|
| 4 |Source N7:1| |
| | 0| |
| |Dest N7:2| |
| | 0| |
| +––––––––––––––––––+ |

Rung 2:11
When the motor is started or stopped, the motor speed is moved to N7:2. The PanelView
displays the value at N7:2.
| B3 +MOV–––––––––––––––+ |
|––] [–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+MOVE +–|
| 5 |Source 0| |
| | | |
| |Dest N7:2| |
| | 0| |
| +––––––––––––––––––+ |

Rung 2:12
The motor speed is incremented by a value of 10 if the increment push button
is pressed, manual mode is selected, and the motor is started.
| B3 T4:1 +EQU–––––––––––––––+ B3 +LEQ–––––––––––––––+ +ADD–––––––––––––––+ |
|––] [–––] [––+EQUAL +––] [––+LESS THAN OR EQUAL+––––+ADD +–|
| 2 DN |Source A N7:0| 4 |Source A N7:1| |Source A N7:1| |
| | 0| | 0| | 0| |
| |Source B 1| |Source B 990| |Source B 10| |
| | | | | | | |
| +––––––––––––––––––+ +––––––––––––––––––+ |Dest N7:1| |
| | 0| |
| +––––––––––––––––––+ |

Rung 2:13
The motor speed is decremented by a value of 10 if the decrement push button
is pressed, manual mode is selected, and the motor is started.
| B3 T4:1 +EQU–––––––––––––––+ B3 +GEQ–––––––––––––––+ +SUB–––––––––––––––+ |
|––] [–––] [––+EQUAL +––] [––+GRTR THAN OR EQUAL+––––+SUBTRACT +–|
| 3 DN |Source A N7:0| 4 |Source A N7:1| |Source A N7:1| |
| | 0| | 0| | 0| |
| |Source B 1| |Source B 10| |Source B 10| |
| | | | | | | |
| +––––––––––––––––––+ +––––––––––––––––––+ |Dest N7:1| |
| | 0| |
| +––––––––––––––––––+ |

Rung 2:14
| +LIM–––––––––––––––+ +MOV–––––––––––––––+ |
|–+LIMIT TEST +–––––––––––––––––––––––––––––––––––––––––––+MOVE +–|
| |Low Lim 950| |Source 950| |
| | | | | |
| |Test N7:1| |Dest N7:3| |
| | 0| | 0| |
| |High Lim 1000| +––––––––––––––––––+ |
| | | |
| +––––––––––––––––––+ |

Advertising