Programmeeritavad kontrollerid Labor 2
period of 5 seconds.
CHOOSEMOD
This is the block that all the modes go to, and only one of them is selected. Mode3 does not have a
condition in this block, because it only works when Manual is off, and the other two modes work
when manual is on.
Tallinn University of Technology March 2013
STOPLIGHT SEQN
This block ensures that the lights will light up in the right order. If the input is 0, Main Street has the
right of way. Input of 1 will give the right of way to the secondary street. Any change in signal will
prompt the yellow light to light up, and disable all the other ones, for a short amount of time.
DISPLAYS
Tallinn University of Technology March 2013