poliakov
The machine control program has a function for avoiding obstacles. To do this, you need to measure the distance using an ultrasonic sensor. I have a program for measuring distances in C under Arduino. How to include it in the project. I can’t implement it in FBD languages
Reply 0 0
thiagoralves
Make sure you have the latest version of the OpenPLC Editor. Then click on the grey plus icon on the left panel and select “arduino sketch extension”. This will open a code window for you to add arduino code to your PLC project. More info here:  https://openplc.discussion.community/post/new-feature-arduino-sketch-on-plc-programs-13249303?trail=60#57
Reply 0 0
Reply