In compliance with high industry standards

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Ethernet shield was not found

By
HA TRINH
on 3/23/21, 12:55 PM 299 views

Hello everyone,

I am working on an Arduino-based 10 IOs PLC. IDE was installed according to the user guide. However, when I tried an example for 10 IOs PLC Family: Ethernet->WebServer, the serial console returned:

"Ethernet shield was not found.  Sorry, can't run without hardware. :(" 

Is that faulty hardware? Anyone can help?

Thank you very much,

Ha


Update: 

Never mind. The PLC needs an external power supply for the shield to work.


0
Huy Anh Le
On 6/22/21, 4:41 PM

Hello,

You can try these examples that use WIFI so that you don't need an Ethernet Shield. 

https://randomnerdtutorials.com/esp32-web-server-arduino-ide/

https://randomnerdtutorials.com/esp32-websocket-server-arduino/


Hope it helps.

Marcos Huy Le





0
HA TRINH
On 3/24/21, 9:43 AM

Thank you for your reply. I do have another issue with the example code ModbusTCPSlave from your GitHub. It throws a lot of errors regarding the timers at compilation. Perhaps, the example was not revised to support 10 IOs PLC Family?

Here are the errors:

Arduino: 1.8.6 (Windows 10), Board: "10 IOS PLC Family, 10 IOS PLC"


C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp: In function 'void startPulses(int, uint32_t, uint8_t)':

C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp:49:8: error: 'TIMER0A' was not declared in this scope

   case TIMER0A:

        ^~~~~~~


C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp:49:8: note: suggested alternative: 'TIMERA0'

   case TIMER0A:

        ^~~~~~~

        TIMERA0


C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp:50:4: error: 'TCCR0A' was not declared in this scope

    TCCR0A |= 0b01000010;

    ^~~~~~


C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp:50:4: note: suggested alternative: 'TCA0'

    TCCR0A |= 0b01000010;

    ^~~~~~

    TCA0


C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp:51:4: error: 'TCCR0B' was not declared in this scope

    TCCR0B |= 0b10000000 | tccr;

    ^~~~~~


C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp:51:4: note: suggested alternative: 'TCA0'

    TCCR0B |= 0b10000000 | tccr;

    ^~~~~~

    TCA0


C:\Users\HATVS\Documents\Arduino\libraries\arduino-Tools40-master\src\Pulses.cpp:52:4: error: 'OCR0A' was not declared in this scope

    OCR0A = cmp;

    ^~~~~

..............

Has anyone successfully compiled the code for 10 IOS PLC?


Thank you,

Ha


  • Flag

We are currently working on solving this problem. Make sure that the 10 IOs PLC family of the "Industrial Shields megaAVR Boards" has been selected and not the "Industrial Shields ES32 modules", as it can be misleading . Meanwhile, you can contact us at support@industrialshields.com in order to get a fast solution!

Boot & Work Corp. S.L., Guillem Cura Marti
on 3/25/21, 5:01 AM

Sure, there is only one option in Arduino IDE: "10 IOs PLC family" under the "Industrial Shields megaAVR Boards".

HA TRINH
on 3/25/21, 7:33 AM

0
Industrial Shields Forum user

Guillem Cura Marti

--Guillem Cura Marti--

1000000015
| 0 0 0
Sant Fruitós de Bages, España
--Guillem Cura Marti--
Guillem Cura Marti
On 3/24/21, 4:23 AM

Hello,

In order to work properly with our devices it is required to power the PLC with an external 12/24 Vdc power supply.

Thanks a lot for the feedback provided. If you have any other question do not hesitate in contacting us at support!


Keep Informed

About This Community

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 3/23/21, 12:55 PM
Seen: 299 times
Last updated: 6/22/21, 4:41 PM