PLC controlled traffic light

From Rsewiki
Revision as of 12:33, 20 April 2009 by Sh (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page contains guidelines for setting up a simple demonstration using the section's PM571 PLCs, from ABB, and the traffic light models.

Hardware setup

  • Connect one of the PLCs to one of traffic lights models using the DB25 connector.
  • Connect the PLC to the section's ethernet (It will automatically get the IP: 192.38.66.24x, where x is the PLC number)
  • Connect the power

Software download

The software controlling the traffic light is written in CoDeSys v2.3. The program is a MS Windows program, and is installed on the sections computers. It is located in the start-menu under '3S Software'. (If not, talk to Benny).

Open CodeSys and open the *.pro file in the following zip-archive: traffic_light.zip

Choose 'Communication parameters' form the menu 'Online' and set the correct IP (192.38.66.24x, with x being the PLC number).

Then choose Start from the 'Online' menu, and verify that the program is running correct.

In order to store the program in the PLC's memory choose 'Create boot project' in the 'Online' menu. This way the program will remain in th PLC's memory after poweroff.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox