I am using Raspberry Pi based PLC with Codesys SP17 Patch3. I am planning on changing the visualization screen when an Input that is connected at GPIO4 of raspberry Pi is pressed. Is there a way I can do it? I am confused.
Thanking you all!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, could you please help me with this issue. i am suddenly unable to download the code into my plc and i have no clue what is wrong. i am pasting the link that describes the issue here.
Hello All,
I am using Raspberry Pi based PLC with Codesys SP17 Patch3. I am planning on changing the visualization screen when an Input that is connected at GPIO4 of raspberry Pi is pressed. Is there a way I can do it? I am confused.
Thanking you all!
The simplest way to do so is to use a Frame of the CODESYS Visu Element list.
https://help.codesys.com/webapp/_visu_elem_frame;product=core_visualization;version=3.5.17.0
The Frame requires a Switch frame variable as INT.
Somewhere in your code, each press could increase the linked variable.
BTW: Most of the Visualizations use a code behind.
Hi!
Yes, this worked. Thank you so much for your help. I could switch in between the screens successfully. :)
Best Regards!
hi, could you please help me with this issue. i am suddenly unable to download the code into my plc and i have no clue what is wrong. i am pasting the link that describes the issue here.
https://forge.codesys.com/forge/talk/Engineering/thread/7053c43207/#7c33