RSLOGIX 5000 MAINTENANCE AND TROUBLESHOOTING COURSE INTERPRETING LADDER LOGIC Summary Tasks After completing this lesson, you will be able to interpret simple ladder logic programs that use basic conditional and retentive bit-level instructions Since ladder logic is the one of programming languages used to program Control Logix system, knowing how to interpret this language make troubleshooting problems associated with this systems much easier Exercise After completing this lesson, you will be able to interpret TON (Timer On Delay) instructions You can program time-based events more effectively if you know and can apply all of the components associated with a TON instruction Directions: Create tags as follow: - Name: Timer1, Tag type Base, Data Type: TIMER Create a new routine in MainProgram, namely: Ladder_1 Select type: Ladder Diagram Create ladder diagram as following figure: Ladder Logic Lab Work – Ladder Logic In MainRoutine add JSR (Jump to Sub Routine) ladder to call Ladder_2 Routine Add new tag SW_Ladder_2 that has same format with SW0 Download and go online to this project Place controller in Remote Run Mode Toggle SW_Ladder_2 to bit = Interpret how the TON instruction works by answering the following questions: A Which switch must be turned on to start the TON timer timing? _ B How long will the TON timer time? _ C Start the timer by toggle SW0 on (corresponding to bit = 1)? _ D List two observations that indicate that the timer is done timing: _ _ Department of Engineering Physic – ITB RSLOGIX 5000 MAINTENANCE AND TROUBLESHOOTING COURSE E What does it mean when Light1 is on? _ F When doest Light1 turn off? _ G After SW0 on (by toggle SW1 to bit =1), How long does it take before Light2 turns on? _ H When does Light3 turn on? When does it turn off? _ Exercise After completing this lesson, you will be able to interpret CTU (Count Up) instructions You can write more effective programs to control counting applications if you know and can apply all of the components associated with CTU instruction Directions: Create tags as follow: - Name: Counter1, Tag type Base, Data Type: COUNTER Create a new routine in MainProgram, namely: Ladder_3 Select type: Ladder Diagram Create ladder diagram as following figure: Ladder Logic Lab Work – Ladder Logic In MainRoutine add JSR (Jump to Sub Routine) ladder to call Ladder_3 Routine Add new tag: SW_Ladder_3 that has same format with SW0 Download and go online to this project Place controller in Remote Run Mode Toggle SW_Ladder_3 to bit = Answer the questions below: A When does the counter reset? _ B Which counter bit controls Light2? _ C How many times must SW2 transition to turn Light2 on? _ D Can accumulated value increase past the preset value? _ Department of Engineering Physic – ITB RSLOGIX 5000 MAINTENANCE AND TROUBLESHOOTING COURSE E Does Light2 stay on when accumulated value passes the preset value? _ F Which rung has to be true to turn Light2 off? _ G When does Light1 come on? _ Ladder Logic ... Name: Counter1 , Tag type Base, Data Type: COUNTER Create a new routine in MainProgram, namely: Ladder_3 Select type: Ladder Diagram Create ladder diagram as following figure: Ladder Logic Lab Work... Toggle SW_Ladder_3 to bit = Answer the questions below: A When does the counter reset? _ B Which counter bit controls Light2? _ C How many times...2 Lab Work – Ladder Logic In MainRoutine add JSR (Jump to Sub Routine) ladder to call Ladder_2 Routine