Draxcat
Hi All (Again)
Sorry to keep posting but there is very little on the internet that doesnt reference Arduino PLC IDE
I'm trying to get the Opta to work using modbus IP.
I've selected and filled out the connection details just before flashing/uploading to the opta and Radzio will not connect or anyother Modbus sniffer.
Anyone got any ideas or have the same experience??
 
R
Reply 0 0
Draxcat
Screenshot (3).png
This is the connection before upload. Also checked all params in Radzio
Reply 0 0
Draxcat
PS running fine in the windows runtime. Flashes LED and counts up
Reply 0 0
thiagoralves
What are the output logs of your compilation to the Opta?
Reply 0 0
Draxcat
This is the whole log. Thanks
Reply 0 0
Draxcat
Anyone? any ideas. Thanks
Reply 0 0
thiagoralves
From the logs it seems that the code compiled just fine. Do your PLC code runs correctly on the Opta? Can you ping the device once the code is running? My guess would be network issues or program issues. If your PLC program is locking up the device, then it will sit unresponsive.
Reply 0 0
Draxcat
Code is simply the blink prog with a counter up
Reply 0 0
Draxcat
Would it matter if the wifi was 5ghz or 2.4ghz?
Reply 0 0
Draxcat
It must be the Opta WiFi cant ping the address. Its a unique address on the network and a cheap ESP32 board works fine.
Reply 0 0
thiagoralves
Would it matter if the wifi was 5ghz or 2.4ghz?
I don't know, that should be with the Opta WiFi specs. OpenPLC code just asks it to connect to the network.
Reply 0 0
Draxcat
Yeah I know. Dont know whats up. The little esp32 works fine. I've ordered another opta. Thanks for your help.
Reply 0 0
thiagoralves
Just tested here with my Opta WiFi on the latest version of the OpenPLC Editor v3, running on the latest version of the Arduino Opta core (4.4.1), and everything worked perfectly. Ran the blink example with the blink variable on %QX0.0. The first Opta output blinks as it should and I can connect from Radzio over Modbus/TCP just fine and see the coil blinking at coil address 0. I have the Opta connected to my 2.4GHz network, not the 5GHz one though. I don't know if the Opta would connect to a 5GHz network.
Reply 1 0
Reply