3 program example "traffic light, 1 introduction, 3 program example “traffic light – Lenze DDS v2.3 User Manual
Page 23: Drive plc developer studio, 3program example “traffic light
![background image](/manuals/565964/23/background.png)
Drive PLC Developer Studio
Program example
3-1
l
DDS EN 2.3
3
Program example “Traffic light”
3.1
Introduction
This chapter includes a program tutorial for an easier start with the DDS.
The setup calls for the programming of a mini traffic control system for two traffic lights at an
intersection.
•
Both traffic lights will alternate their red/green phases.
•
To avoid accidents, the traffic lights will also include amber and amber/red between the red
and green phases, with the amber/red phase being shorter than the amber phase.
This example illustrates
•
how to implement time-controlled programs using IEC 61131-3 language tools.
•
how to edit the various standard languages using the DDS.
•
how to link the different languages.
•
how to simulate a program in the DDS and visualize it on screen.
Show/Hide Bookmarks