Seafoxc
Hi guys,

I made another video on Factory I/O and OpenPLC. 
So the video is solving scene 3 in Factory I/O with OpenPLC Runtime on Windows. 

In this video I solve scene 3 and also mention some good coding practices all using examples. 
Because it was otherwise a very long video I cut the video in two parts. In the next video I will complete my solution for scene 3 but I already added the complete code in this post.  

https://youtu.be/VO-DYAwJJjs


Any feedback is appreciated :-).  
I have no Idea what I'm doing...
Reply 1 0
Seafoxc
I made a second part where I programmed the discharging conditions and how I set the timer logic al in FB. 
I'm now working on the CNC station scene. 

https://youtu.be/urbnAFNp-VU

The program I ended up with is attached. 
I have no Idea what I'm doing...
Reply 0 0
kyener02
Hi Seafoxc,
 
I'm trying to apply your project. But am having trouble with water valves. When push button is pressed water flows intermittently and it's the same with discharging. Thankfully both of two work 8 seconds but not continuosly. Also timer is not working properly. I formed the project on OpenPLC Editor from scratch, then downloaded your program above but same again. Do you have any idea about that? Factory IO design is also the same with you. By the way, my OpenPLC server on the virtual server.
 
Thanks!
Reply 0 0
kyener02
When I monitor the values on OpenPLC GUI, they are just fine. For example, I can see the timer running from 0 to 7. But on Factory IO, they're not working correctly.
Reply 0 0
Seafoxc
Can you try it on a not virtual machine? It can be that the server has issues and it always disconnect and reconnect. Maybe turn off the autoconnect function and see if the connection is ok. Also try to read the openplc runtime window and post the result when the program is running.
I have no Idea what I'm doing...
Reply 1 0
kyener02
Hey, I tried on the host and yes it's working properly now. The issue is related with virtual machine. Thanks!
Reply 1 0
Reply