RSLOGIX 5000 MAINTENANCE AND TROUBLESHOOTING COURSE 1 Ladder Logic INTERPRETING LADDER LOGIC Summary Tasks After completing this lesson, you will be able to interpret simple ladder lo
Trang 1RSLOGIX 5000 MAINTENANCE AND TROUBLESHOOTING COURSE 1
Ladder Logic
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 1
In the exercise you will interpret simple ladder logic programs that use basic conditional and retentive bit-level instructions
Directions:
1 Create new Project, namely: BBFE_Training_Day2 Set all controller
properties and I/O Configuration as described in previous section
2 Create tags as follow:
- Name: SW0, Tag type Base, Data Type: BOOL
- Create same format type namely SW1, SW2, SW3
Trang 22 Lab Work – Ladder Logic
Department of Engineering Physic – ITB
- Name: Light0, Tag type Alias, Alias For: Local:3:O.Data.0 Create
another following tags with same format:
- Name: Light1, Tag type Alias, Alias For: Local:3:O.Data.1
- Name: Light2, Tag type Alias, Alias For: Local:3:O.Data.2
- Name: Light3, Tag type Alias, Alias For: Local:3:O.Data.3
3 Create a new routine in MainProgram, namely: Ladder_1 Select type:
Ladder Diagram
Trang 3RSLOGIX 5000 MAINTENANCE AND TROUBLESHOOTING COURSE 3
Ladder Logic
4 Create ladder diagram as following figure:
5 In MainRoutine add JSR (Jump to Sub Routine) ladder to call Ladder_1 Routine Add new tag SW_Ladder_1 that has same format with SW0
6 Download and go online to this project
7 Place controller in Remote Run Mode
8 Toggle SW_Ladder_1 to bit = 1
9 Interpret the instruction in the program file by answering the following questions:
A Close SW0 (By toggle SW0 to bit = 1) When SW0 is closed, which
light(s) turn on?
_
B Open SW0 (by toggle SW0 to bit = 0) When SW0 is open, what happen to Light0 and Light1?
_
C Where is the bit corresponding to Light0 located?
_
Trang 44 Lab Work – Ladder Logic
Department of Engineering Physic – ITB
D Close SW1 (by toggle SW1 to bit =1) What happens to Light2?
_
E Open SW1 (by toggle SW1 to bit =0) What happens?
_
F Close SW2 (by toggle SW2 to bit =1) What happens?
_
G Open SW2 (by toggle SW2 to bit =0) What happens?
_
H What must be done to turn Light3 off?
_