Rockwell Automation 2711 PanelBuilder Software Getting Started User Manual

Page 98

Advertising
background image

Appendix

A

Publication 2711-6.2

SLC Ladder Logic Program for

DHĆ485/DH+ Application

PanelView Getting Started Application for SLC DH485/DH+
Program Listing Processor File: GETSTRTD.ACH

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

Rung 2:1
The motor is started when the Start Push Button is pressed on the PanelView.
Start status is indicated by B3:0/4.
| B3 B3 |
|–+––] [––––––––+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )––|
| | 0 | 4 |
| | B3 B3 | |
| +––] [–––]/[––+ |
| 4 5 |

Rung 2:2
The motor is stopped when the Stop Push Button is pressed on the PanelView.
Stop status is indicated by B3:0/5.
| B3 B3 |
|–+––] [––––––––+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )––|
| | 1 | 5 |
| | B3 B3 | |
| +––] [–––]/[––+ |
| 5 4 |

Rung 2:3
The latch bit (B3:0/6) is set when counter C5:0 is done incrementing. This
causes the motor speed to begin decrementing if auto mode is selected.
| C5:0 B3 |
|––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––(L)––|
| DN 6 |

Rung 2:4
The latch bit (B3:0/6) is unlatched when counter C5:0 is done decrementing.
This causes the motor speed to begin incrementing if auto mode is selected.
| +EQU–––––––––––––––+ B3 |
|–+EQUAL +––––––––––––––––––––––––––––––––––––––––––––––––––––(U)––|
| |Source A C5:0.ACC| 6 |
| | 0| |
| |Source B 0| |
| | | |
| +––––––––––––––––––+ |

Advertising