Gracias por el comentario Luis Carlos Sierra Arzate. Me alegro de que te haya ayudado. Saludos, Garry Thank you for the comment Luis Carlos Sierra Arzate. I am glad that it helped you out. Regards, Garry
Sorry for the delayed response. The connection would depend on the model of controller that you are wiring. Inputs will tell you the minimum and maximum range that can be applied in the specifications. Relay output specifications will tell you the maximum voltages that you would apply to the circuit. These are isolated from the PLC. I hope this helps you out. Regards, Garry
I've tried your sketch, others and one I wrote myself (same logic as working OpenPLC RPI). I can initialize the OPTA, connect to to and tell it to download code. I get an error "getcrcfromtarget error reading par: 12293", I click OK and it tells me it uploads the code. The code doesn't run, the IDE says "different code" on the bottom and if I reconnect after a reboot, the IDE pops up a warning that the code is different. Running latest PLC IDE. Built similar logic in OpenPLC and tried uploading, same issues. I must be doing something wrong or have a defective Opta.
Hi Areli Medina, Here is a thread explaining how to get the simulator to work. forum.arduino.cc/t/plc-ide-simulation/1099163/2 I hope this helps you out. Regards, Garry Салам Арели Медина, Бул жерде симуляторду кантип иштетүү керектиги түшүндүрүлгөн жип. forum.arduino.cc/t/plc-ide-simulation/1099163/2 Бул сизге жардам берет деп үмүттөнөм. Урматтоо менен, Гарри
Great video! Is there a chance you are doing a video on the RS485 connection using ladder logic? I can't find anything that shows me how to use it. I thought it would be straight forward, but there's no real help on it for ladder logic. Thanks!
Hi @AaronMilford, Thank you for the comment. Yes, I plan on doing some videos on the RS485 connection using Modbus RTU as both the master (Client) and slave (Server). I am currently waiting for some answers and additional documentation from Arduino. This has been promised for the end of the month. Regards, Garry
Hi @rickbronx8528, That is not possible over the USB cable. However, you could send information to the Opta server using Labview as a Modbus Client. I have not tried this, but it looks to be doable. forums.ni.com/t5/LabVIEW/Labview-Modbus-Serial-connection/td-p/3709527 I hope this helps you out. Regards, Garry
Hi @sumeetguleria232, The following post will allow you to add this to your network. I do not have the OPTA WiFi unit, but it should be similar using the Ethernet port. accautomation.ca/programming-the-arduino-opta-plc-ethernet-port/ Here is the link for the OPTA series: accautomation.ca/series/arduino-opta-plc/ Regards, Garry
Hi Morten, It sounds like you are using Linux. The following thread may help you out. forum.arduino.cc/t/dfu-util-problem-with-portenta-h7-and-arduino-ide/661435 Regards, Garry
@@mortenrasmussen5668 Can you see the COM port in the device manager? If not, then please reinstall the software with the administration privileges. Regards, Garry
I also had a similar error when I first connected to the Opta. It turned out to be the cable. Ensure that it is for data as well as charging. I use the following: UGREEN USB A to Type C Right Angle Cable 6.6 Ft amzn.to/3AYGCeN Regards, Garry
ACC Automation, Thank you for this excellent quick Start guide to using the Arduino Opta. Question: What features set apart the Arduino Opta from other current PLC units in the Market today? I'm familiar with both Allen-Bradley PLC's and Unitronics PLC's. The features this Quick Start guide showed, are similar to the features round in AB and Unitronics PLC's as of today. Why would you recommend people to use the "Arduino Opta" PLC unit?
Hi Agustin, Good question. The quick select guide was only implemented to quickly get users up and running with the software. All of the features were just basic functions. Hardware: Currently, 8 inputs (digital or analog selectable for each input) and 4 relay outputs. Expandability will come in the future. Ethernet and USB are on board as standard. This can then communicate Modbus RTU or TCP. Programming software: It is open-source software when using the Arduino core/libraries through the standard Arduino IDE or Cloud Web Editor. Most students are familiar with this C++ type of coding. Allows Arduino PLC IDE- IEC 61131-3 programming (full set of 5 languages) + no/code fieldbus + Arduino sketch integrated with shared variables. PLC languages are not open source; the IDE is freely downloadable and usable, while each device's PLC Firmware runtime activation comes with every Opta. Others: The Opta is certified as a PLC by CE and UL (c UL us). There are also Arduino IoT Cloud Dashboard Widgets that can be done. Node-RED would no longer be used. Note: I have yet to test this feature. It is a great investment for the money. Regards, Garry
Hi @@ACCautomation, thank you for the awesome video on Opta. I had a question how would we use Node-Red with the Arduino Opta? Do I run the ladder diagram simultaneously with other programs in this device? I mean to use an inductive proximity sensor, quite similar to your application in this video, however, I wish to keep the Arduino Opta not physically connected to any host PC. So, I am thinking about how to setup Node-Red in this case. Would love any references or tutorials to this question.
for something that's advertised to be an industrial PLC, is questionable. I've programmed PLC's before, and I can't believe how difficult it is to even connect to this device, using a correct programming cable, not enough I/O to run much of anything. Modbus being an industrial standard network, absolutely no documentation on how to connect to it using this software - where to program the IP address or Modbus port number? You should be able to program this PLC through Ethernet or remotely over a Wifi network. I hope there's more to come on this device from Arduino, because right now, for a few more dollars you can buy a Siemens Logo or an IDEC Programmable Relay with expansion modules and all the Industrial functionality you need. I have to give a shout out to Jakob Sagatowski, with his UA-cam videos, for doing all the heavy lifting on programming this device.
Hi @automation_jeff, I agree with your comments. Finder, the manufacturer of the OPTA, describes this as a programmable relay only. This is one of the first for the industrial market for Arduino. I am sure that this will improve as the product matures. Documentation, expansion, I/O wiring options, etc. Currently, a Click (Koyo) can be used for several fewer dollars. accautomation.ca/series/click-plc/ Thanks for the comments. Garry
Arduino Opta IoT PLC Series
accautomation.ca/series/arduino-opta-plc/
This contains the following highlighted posts and videos and more:
Arduino Opta IoT PLC Hardware
accautomation.ca/cutting-edge-hardware-of-arduino-opta-iot-plc/
ua-cam.com/video/a8JFUr11b1k/v-deo.html
Arduino Opta Software Installation
accautomation.ca/arduino-opta-software-installation/
ua-cam.com/video/Vk-TgZ0xQrI/v-deo.html
Opta PLC FAQ - Frequently Asked Questions
accautomation.ca/series/arduino-opta-plc/opta-plc-faq/
Arduino Opta PLC - IoT and Industry 4.0 Enabler
Finder OPTA 8A Series - Tutorials
opta.findernet.com/en/
Datasheet
cdn.findernet.com/app/uploads/S8AEN.pdf
Quickstart Sheet
cdn.findernet.com/app/uploads/IB8A04EN.pdf
Arduino Opta Hardware
www.arduino.cc/pro/hardware-arduino-opta
Arduino PLC IDE
www.arduino.cc/pro/software-plc-ide
Arduino Software Download Page
www.arduino.cc/en/software
(Arduino IDE, PLC IDE, PLC IDE Tools)
Garry
ACC Automation
accautomation.ca/
You seem to have the patience of an angel. Thanks for the clarity!
Thank you for the comment.
Garry
Excelente video, me ayudó mucho para iniciar con el PLC, thank you very much and greetings from Mexico
Gracias por el comentario Luis Carlos Sierra Arzate.
Me alegro de que te haya ayudado.
Saludos,
Garry
Thank you for the comment Luis Carlos Sierra Arzate.
I am glad that it helped you out.
Regards,
Garry
Thank you for sharing!👍
Thank you, gar232010.
I appreciate the comment.
Garry
I have 2 questions 1) Can i connect 12 v sensor to this module and 2) what is the output voltage at relay point when it is high?
Sorry for the delayed response.
The connection would depend on the model of controller that you are wiring. Inputs will tell you the minimum and maximum range that can be applied in the specifications.
Relay output specifications will tell you the maximum voltages that you would apply to the circuit. These are isolated from the PLC.
I hope this helps you out.
Regards,
Garry
I've tried your sketch, others and one I wrote myself (same logic as working OpenPLC RPI). I can initialize the OPTA, connect to to and tell it to download code. I get an error "getcrcfromtarget error reading par: 12293", I click OK and it tells me it uploads the code. The code doesn't run, the IDE says "different code" on the bottom and if I reconnect after a reboot, the IDE pops up a warning that the code is different. Running latest PLC IDE. Built similar logic in OpenPLC and tried uploading, same issues. I must be doing something wrong or have a defective Opta.
I have yet to come across that error. I would suggest contacting Arduino or posting on the forum.
Regards,
Garry
¿no puedo simular si no esta comectado el plc, cierto?
Hi Areli Medina,
Here is a thread explaining how to get the simulator to work.
forum.arduino.cc/t/plc-ide-simulation/1099163/2
I hope this helps you out.
Regards,
Garry
Салам Арели Медина,
Бул жерде симуляторду кантип иштетүү керектиги түшүндүрүлгөн жип.
forum.arduino.cc/t/plc-ide-simulation/1099163/2
Бул сизге жардам берет деп үмүттөнөм.
Урматтоо менен,
Гарри
Great video! Is there a chance you are doing a video on the RS485 connection using ladder logic? I can't find anything that shows me how to use it. I thought it would be straight forward, but there's no real help on it for ladder logic. Thanks!
Hi @AaronMilford,
Thank you for the comment. Yes, I plan on doing some videos on the RS485 connection using Modbus RTU as both the master (Client) and slave (Server). I am currently waiting for some answers and additional documentation from Arduino. This has been promised for the end of the month.
Regards,
Garry
Do you happen to know if I can send serial signals as "input signals" over the USB cable (from my labview software" to the Opta?
Hi @rickbronx8528,
That is not possible over the USB cable. However, you could send information to the Opta server using Labview as a Modbus Client. I have not tried this, but it looks to be doable.
forums.ni.com/t5/LabVIEW/Labview-Modbus-Serial-connection/td-p/3709527
I hope this helps you out.
Regards,
Garry
sir can we connect opta wifi to my own network if yes how sir
Hi @sumeetguleria232,
The following post will allow you to add this to your network. I do not have the OPTA WiFi unit, but it should be similar using the Ethernet port.
accautomation.ca/programming-the-arduino-opta-plc-ethernet-port/
Here is the link for the OPTA series:
accautomation.ca/series/arduino-opta-plc/
Regards,
Garry
getting this error when trying to download to pota Cannot open DFU device 2341:0364 found on devnum 5 (LIBUSB_ERROR_NOT_FOUND) anny idea?
Hi Morten,
It sounds like you are using Linux. The following thread may help you out.
forum.arduino.cc/t/dfu-util-problem-with-portenta-h7-and-arduino-ide/661435
Regards,
Garry
Nope Windows 10 🙄
@@mortenrasmussen5668
Can you see the COM port in the device manager?
If not, then please reinstall the software with the administration privileges.
Regards,
Garry
I also had a similar error when I first connected to the Opta. It turned out to be the cable. Ensure that it is for data as well as charging.
I use the following:
UGREEN USB A to Type C Right Angle Cable 6.6 Ft
amzn.to/3AYGCeN
Regards,
Garry
Thanks!
ACC Automation, Thank you for this excellent quick Start guide to using the Arduino Opta. Question: What features set apart the Arduino Opta from other current PLC units in the Market today?
I'm familiar with both Allen-Bradley PLC's and Unitronics PLC's. The features this Quick Start guide showed, are similar to the features round in AB and Unitronics PLC's as of today. Why would you recommend people to use the "Arduino Opta" PLC unit?
Hi Agustin,
Good question. The quick select guide was only implemented to quickly get users up and running with the software. All of the features were just basic functions.
Hardware: Currently, 8 inputs (digital or analog selectable for each input) and 4 relay outputs. Expandability will come in the future. Ethernet and USB are on board as standard. This can then communicate Modbus RTU or TCP.
Programming software:
It is open-source software when using the Arduino core/libraries through the standard Arduino IDE or Cloud Web Editor. Most students are familiar with this C++ type of coding.
Allows Arduino PLC IDE- IEC 61131-3 programming (full set of 5 languages) + no/code fieldbus + Arduino sketch integrated with shared variables.
PLC languages are not open source; the IDE is freely downloadable and usable, while each device's PLC Firmware runtime activation comes with every Opta.
Others:
The Opta is certified as a PLC by CE and UL (c UL us).
There are also Arduino IoT Cloud Dashboard Widgets that can be done. Node-RED would no longer be used.
Note: I have yet to test this feature.
It is a great investment for the money.
Regards,
Garry
Hi @@ACCautomation, thank you for the awesome video on Opta. I had a question how would we use Node-Red with the Arduino Opta? Do I run the ladder diagram simultaneously with other programs in this device? I mean to use an inductive proximity sensor, quite similar to your application in this video, however, I wish to keep the Arduino Opta not physically connected to any host PC. So, I am thinking about how to setup Node-Red in this case.
Would love any references or tutorials to this question.
Thank's so much
You are welcome, Alexis Lacaille.
Thank you for the comment.
Garry
for something that's advertised to be an industrial PLC, is questionable. I've programmed PLC's before, and I can't believe how difficult it is to even connect to this device, using a correct programming cable, not enough I/O to run much of anything. Modbus being an industrial standard network, absolutely no documentation on how to connect to it using this software - where to program the IP address or Modbus port number? You should be able to program this PLC through Ethernet or remotely over a Wifi network. I hope there's more to come on this device from Arduino, because right now, for a few more dollars you can buy a Siemens Logo or an IDEC Programmable Relay with expansion modules and all the Industrial functionality you need. I have to give a shout out to Jakob Sagatowski, with his UA-cam videos, for doing all the heavy lifting on programming this device.
Hi @automation_jeff,
I agree with your comments. Finder, the manufacturer of the OPTA, describes this as a programmable relay only. This is one of the first for the industrial market for Arduino. I am sure that this will improve as the product matures. Documentation, expansion, I/O wiring options, etc.
Currently, a Click (Koyo) can be used for several fewer dollars.
accautomation.ca/series/click-plc/
Thanks for the comments.
Garry