C - plc ladder logic program for dh+ application, Plc ladder logic program for dh+ application, Appendix – Rockwell Automation 2711 PanelBuilder Software Getting Started User Manual

Page 107

Advertising
background image

Appendix

C

Publication 2711-6.2

PLC Ladder Logic Program for

DH+ Application

Program Listing Processor File: GSDHP.AF5

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) |
| (2:0) |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 unlatched when counter C5:0 is done decrementing.
This causes the motor speed to begin incrementing 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| |
| | | |
| +––––––––––––––––––+

Rung 2:5
Counter C5:0 indicates the speed of the motor. If auto mode is selected and
the motor is started the counter will increment.
| T4:0 +EQU–––––––––––––––+ B3 C5:0 B3 +CTU–––––––––––––––+ |
|––] [––+EQUAL +––] [–––]/[–––]/[––––––––+COUNT UP +–(CU)–|
| DN |Source A N7:0| 4 DN 6 |Counter C5:0+–(DN) |
| | 0|

|Preset 20| |

| |Source B 0|

|Accum 0| |

| | |

+––––––––––––––––––+ |

| +––––––––––––––––––+

Advertising