Hello,
I am quite new to Codesys and now I am trying my first tiny examples with it. My problem should be simple to solve, but I did not find a solution, yet. I have some boolean inputs connected to a physical switch connected with a PROFINET module from Murr. I can watch the boolean signals in a variable table and see that they change corresponding to the physical switch. Now I created a visualization, put a lamp on it and assigned the boolean input to it, but the lamp is not illuminating. The boolean variable is still changing its state. What might I do wrong?
Regards
pomdas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have the boolean variable in the lamp Properties -> Position -> "Variable" text box? It should be in the highlighted textbox in my attached lamp.png image. If it still does not work, can you attach a screenshot?
Hello,
I am quite new to Codesys and now I am trying my first tiny examples with it. My problem should be simple to solve, but I did not find a solution, yet. I have some boolean inputs connected to a physical switch connected with a PROFINET module from Murr. I can watch the boolean signals in a variable table and see that they change corresponding to the physical switch. Now I created a visualization, put a lamp on it and assigned the boolean input to it, but the lamp is not illuminating. The boolean variable is still changing its state. What might I do wrong?
Regards
pomdas
Hi, pomdas,
Do you have the boolean variable in the lamp Properties -> Position -> "Variable" text box? It should be in the highlighted textbox in my attached lamp.png image. If it still does not work, can you attach a screenshot?
Thanks,
Jefferson
Hi Jefferson,
yes, I have inserted this. Attached you find the assignment and the setup of the raspberry.
Pomdas