Tutorial incompatible, Connection Issue & Hardware Spec Confusion

I'm trying out this new PLC to maybe replace some classic PLC if it's working well.
As of now I haven't manage to connect and upload anything to the PLC using the PLC IDE, it only work with the Arduino IDE (Which I do not want to use). I always have the "Cannot compile Sketch file (error code :1) error.

I've tried to use the example from the official documentation, but it's made of 1.0.4 which is having a compatibility issue with 1.0.3. Despite having seen a post on Twitter and Instagram that 1.0.4 is out, it isn't, why so? That's so confusing.

There is also mention that the 8 input are Analog & Digital in the spec sheet on the official website :

But after some research on the forum a staff member confirm that they are only Analog? Why is it written digital then? It's super missleading.

Finally, is there some release date for a more solide PLC IDE release date? Right now I feel like I bough a brick.

R,
Jo

1 Like

Hi @techniart ,

Sorry to hear that you have found a difficulty to connect your Arduino Opta with PLC IDE 1.0.4. In this regard, some improvements will be made to PLC IDE version 1.0.4, which will be available soon.

On the other hand, the available documentation is entirely adapted to PLC IDE 1.0.3 apart from the connection to Arduino IoT Cloud which will be possible in the next update of the PLC IDE.

Please uninstall the current version you have of the PLC IDE, and install version 1.0.3 + PLC IDE Tools available here Arduino PLC IDE 1.0.3. Then restart your computer.

Open the PLC IDE and follow the steps mentioned in this tutorial: Arduino® PLC IDE Setup & Device License Activation. Now the connection should be successful.

As for Inputs, Arduino Opta offers 8 configurable digital/analog inputs as mentioned here.

If you have any further questions or require further information, please do not hesitate to contact us. We will be delighted to assist you.

Best,

This isn't true, this example use 1.0.4 : https://docs.arduino.cc/tutorials/opta/opta-modbus-tcp-plc-ide. The Project Example Files are also done on 1.0.4 and this generate error upon opening with 1.0.3. You didn't answer my question regarding 1.0.4, but it very seems that it was pulled.

This is exactly what I've done multiple time.

I can connect already, but I can't upload anything ("Cannot compile Sketch file (error code :1) error.)

Then why a Arduino Employe said on this forum that they are only Analog? Then ds18b20 should work?

For now I don't have any question since I can't really use the device yet. I have to say though that hopefully 1.0.4 will be out soon and I will be able to use it. Right now I think I might return the device, PLC aren't "toy", I can't really deal with stability issue, install/uninstall IDE.

R,
J

Best,

Is there any real support for this PLC?

R,
J

Hi @techniart

Thank you for your feedback.

Sorry if there was a misunderstanding, however in your first post you indicate "I haven't managed to connect", for this reason I have listed the steps to follow in order to connect Opta in PLC IDE.

Yes, the tutorial Modbus TCP On Opta™ Using PLC IDE presents a Project Example File developed with version 1.0.4 which generates the message you indicated. However, the functionality is available with PLC IDE 1.0.3. You can use the steps given in the tutorial to develop your own project based on Modbus TCP. BTW, you can take a look at several video tutorials on the Internet shared by Arduino Opta users, on their projects based on Modbus TCP created in PLC IDE.

As I mentioned previously, version 1.0.4 will be available soon, it is temporarily replaced by the previous version.

For the question of Inputs, my colleague clarified this point later in the conversation: Pins can be configured and used as digital inputs. Notice that the input voltage can be from 0 to 10V only. Anyway, you can configure the Inputs as digital or analog as specified in the Datasheet.

On the other hand, you can use the DS18B20 temperature sensor with your Arduino Opta. For this you will need the following library OnewireNg library. Please take a look at the DallasTemperature example sketch.

If you still have any difficulty uploading your Project via PLC IDE, you can contact us directly here.

Greetings,

The OneWireNG library will not work for Arduino Opta. The 1-wire protocol is half duplex meaning that it needs a GPIO and Arduino Opta does not have digital outputs.