Tải bản đầy đủ (.pdf) (4 trang)

LAB SOURCE relay bit instructions Training PLC Allen Bradley

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (110.29 KB, 4 trang )

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 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

Ladder Logic

1



2

Lab Work – Ladder Logic

-

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.

Department of Engineering Physic – ITB


RSLOGIX 5000 MAINTENANCE AND TROUBLESHOOTING COURSE


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?
___________________________________________________

Ladder Logic

3


4

Lab Work – Ladder Logic
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?
___________________________________________________

Department of Engineering Physic – ITB



×