Add a feature to program controlling traffic lights

tomson
2010-09-21
2010-09-22
  • tomson - 2010-09-21

    I have written a program which uses Moeller PLC to control simple intersection with 6 traffic lights (2 of them control left-turning). Now I'd like to add a possobility to switch all the lights to 'yellow' when a button is pressed. How can I add this functionality ? I was trying to introduce some new boolean 'ORANGE' variable but how to connect it ? Program written in Codesys 2.3.5 from Moeller website.

    traflights_tmp_3.pro [48.03 KiB]

     
  • shooter - 2010-09-22

    use a SEL switch on all lights for normal operation and for emergency orange.
    this way the status is not important.
    and make a blinker in it.
    btw your program does not run with me, probably missing a librarie

     

Log in to post a comment.