You are on page 1of 11

Getting started with The Allen-Bradley SLC500 programmable controller and RsLogix500 software

By : Michael Barrett Bsc. M.I.I.E.(elect.)

Getting started with The Allen-Bradley SLC500 programmable controller and RsLogix500 software

Aim of this booklet :
To introduce the first time user to The Allen Bradley Slc 500 plc ,RsLogix 500 software and RsLinx software.

The booklet’s Objectives : When you finish this booklet you should be able to : • Describe the 4 Slot Rack hardware. • Configure the RsLogix 500 software to suit the hardware. • Write a simple program. • Establish communication between the PC and the PLC using RsLinx. • Download the program to the plc. • Use the plc Multi point Monitoring and Forcing facilities

The hardware used
• 4 Slot Rack

• Power Supply
• Processor : 5/03 Cpu 8K Mem • any Discrete 16 Input Module. • any Discrete 16 Output Module.

Getting started with The Allen-Bradley SLC500 programmable controller and RsLogix500 software

The RsLogix500 Software runs on the Slc500 series and on the MicroLogix series of Plc’s. The Slc500 is a rack mounted PLC , Fig.1 is a 4 Slot Rack :

PSU.

Slot 0 (CPU.) Slot 1 Slot 2

Slot 3

Fig.1 Allen-Bradley Slc500 Rack mounted PLC

Getting started Programming The SLC500 using RsLogix500 software .

Configuring and Addressing Open RsLogix 500
Open ‘new’ The Hardware must first be configured .In this case The CPU is at Slot 0 ( this is mandatory!) Digital Input - Slot 1 Digital Output - Slot 2 Select the Processor from the Menu : 5/03 Cpu 8K Mem

From ‘I/O Configuration’ select :

• any Discrete 16 Input Module. • any Discrete 16 Output Module. To test if system is properly configured press ‘ Check Configuration’

Getting started Programming The SLC500 using RsLogix500

Configuring and Addressing
To Write a simple Program : The I/O Addressing must conform to the Physical Hardware Configuration .

The Digital Input card is at (Slot 1) - therefore Inputs are Addressed : I:1/00 -> I:1/15

The Digital Output card is at (Slot 2) - therefore Outputs are Addressed : O:2/00 -> O:2/15

Now, write a 1 rung program .

We will now set up communications between the PC and the PLC and download the program to it . The physical connection : connect the PC to the RS-232 port on the PLC

Setting up communications between the PC and the PLC
RsLogix 500 is the software platform on which the PLC program is written. RsLinx is the communication software that facilitates the downloading of the PLC program to the PLC. To setup RsLinx : Click on RsLinx. Go into “Communication” , this brings up a dialog box :

Rs who

Config.drivers

Select “Config drivers” this opens : Available driver types Select “Rs-232 Devices” Click on “Add new” This brings up a dialog box to allow “comm. Port selection “ Select your comm.. port. Click on “auto config.” – this automatically sets the baud rate and parity. Click “ok” ----------- this results in the message :
AB-DF1 DH485 Sta :Com Running

You may now EXIT RsLinx

Getting started Programming The SLC500 using RsLogix500 Downloading the program Now, in RsLogix 500 Go into “comms.” Select “Download” It can take a fairly long time for the program to download – have patience !

You can monitor the running program ( the PLC must be in “run” )

Getting started Programming The SLC500 using RsLogix500

Configuring and Addressing Exercise Change around the Digital Input and Output Modules (Disconnect the Mains supply ! ). ReConfigure the I/O. Write a simple Program ( One Rung ) reflecting the new Addressing scheme. Solution: The Digital Input card is at Slot 2 - therefore Inputs are Addressed : I:2/00 -> I:2/15 The Digital Output card is at Slot 1 - therefore Outputs are Addressed : O:1/00 -> O:1/15

Getting started Programming The SLC500 using RsLogix500

SLC500 Facilities

Multipoint Monitoring Function : • Allows a range of I/O to be monitored • Allows a range of I/O to be Programmed to Flag certain conditions for example an Output when Off to display ‘Stop’ and when On to display ‘Run’

Forcing
Function : Allows I/O to be ‘Forced ‘ On or Off from the Computer. This is a useful facility for fault finding , but it should be used under strictly controlled conditions because of the Safety considerations .

Getting started Programming The SLC500 using RsLogix500

SLC500 Facilities Forcing (cont.)

To access this facility go to ‘Force Files’ To Force an Input or Output highlight the Address required. Before proceeding ensure that it is safe to activate the Field Device in question. Enter ‘1’ . Click on ‘Enable’. You will be prompted to Confirm. To Disable change ‘1’ to ‘0’ When the session is finished be sure to ‘Disable All’ and ‘Remove Forces’