Basic Tutorial
Tip:
Adding a Point
Now we need to define a variable by which the traffic signal is to be controlled. As there are only 2
states i.e. 'GO' and 'STOP' a Boolean or digital value will be used.
Page 14
5.
Now that the main structure of the traffic signal is complete (although
rather basic), work can begin on the coloured lights. Only two lights are
needed − one red and one green; this is best achieved by selecting the
Ellipse button from the Graphic Object toolbar and drawing a circle of
appropriate size to represent the light.
Holding the CTRL key down while drawing an ellipse ensures that a true circle is
drawn.
6.
Select the colour red and then position the light at the top of the traffic
signal.
7.
Repeat the process for the green light and position this at the bottom of the
traffic signal.
OMRON
Revision 2.0