EET3370 – Programmable Logic Controller Basics

 

SLC-504 LAB 4 – Introduction to Programming and Editing

 

PURPOSE

 

This lab will teach you how to start and configure a new file, and then how to write simple programs on the SLC-504 using RSLogix 500 software.

 

PROCEDURE

 

1.    [___]  Turn on the computer and get windows running.  You will see the RSLogix 500 Icon on the screen.  Open RSLogix 500.

 

2.    [___]  Under file select new.  A pick processor screen will come up asking processor name.  Enter 504Bxx, where xx is your bench number.  There will be a list of processors to choose from - pick 524B.  Then say OK and a project tree will appear.

 

3.    [___]  When a new screen comes up, click on configure I/O, then wait.  A second screen will come up.  Click on configure I/O.  Wait for this operation to complete.  If it doesn't work, you have a communication problem and need to ask for help.  The instructor will check your communication configuration.  Do not change the communication configuration yourself.

 

The next task is to implement the following relay control using the PLC.

 

  

 

The PLC diagram consists of three parts:  the input section, the output section, and the control section.

 

 

 

4.    [___]  You are ready to start entering a program.  Click on the ladder logic then click on the insert rung icon and then add instructions for that rung.

 

5.    [___]  When you are finished adding instructions, under edit select verify your file.  If everything is OK, you will see no errors.  If you have problems in addressing, you may see lots of errors.  You must eliminate errors before you can download your program to the processor.

 

6.    [___]  The next step now that your program is entered is to wire up the interface panel.  Turn off the interface panel while connecting wires to avoid getting shocked or shorting your power supply.  With the power off, connect a wire from a NO push button to input 0.  This is the Start push button.

 

7.    [___]  Connect a wire from a NC push button to input 01.  This is the Stop push button.

 

8.    [___]  Connect a wire from output O:2/0 to a light at the top of the panel.  Turn on the power to the interface panel.

 

9.    [___]  Download your program.

 

10.  [___]  Go online.

 

11.  [___]  Place the processor in the run mode.

 

12.  [___]  Push Start push button and release.  The output lamp should turn on and remain on indicating that the output is on and latched.

 

13.  [___]  The present program uses an on light, but no off light.  A normally closed contact is needed to drive the off light.  Add instructions so that we have one light indicating on and another light showing off.

 

14.  [___]  You must now connect a wire from the second output to a new light.

 

15.  [___]  Check the operation of the indicator lights.

 

16.  [___]  To monitor the status of the contacts, look at the screen.  The active contacts are highlighted.

 

17.  [___]  Design a ladder control that requires you to have two push buttons in the same state to operate an output.  Draw the PLC diagram (with input, output & control sections) required below and program the PLC and test it.  When it is working, have the instructor initial your lab.

 

Instructor's initials  ________________

 

18.  [___]  This concludes Lab 4.  Delete your programs, turn off all power switches, remove the wiring from trainers, and clean up the area.

 

19.  [___]  Each person is to turn in a lab before leaving.

 

Have a nice day!