Comments (3)
from arduino-tools40.
Hi,
I took a look at the example Sketch. It seems that it's missing a few things. The Sketch should really come with some error handling as it would have helped you narrow down the issue.
The 10IOs hardware is using a Wiznet W5500 to manage its Ethernet connectivity. This chip sits on the SPI bus and requires enabling a SS (slave-select) pin for the chip to be active. On the ESP32 development board used in the 10IOs, this is pin 33.
Thus, try adding the line; Ethernet.init(33);
right before Ethernet.begin(mac, ip);
. It's should solve the problem as this is required for any Ethernet code to work on the 10IOs.
from arduino-tools40.
on my Mega-2560 based PLC this example works fine.
from arduino-tools40.
Related Issues (20)
- class ModbusTCPSlave error HOT 6
- I have opened modbusRTUslave example. During compiling Threre is error about RS485.h file. HOT 1
- RS485.h file. HOT 1
- Error : 'MODBUS_TCP_ADU_SIZE' was not declared in this scope HOT 1
- Using SoftwareSerial HOT 1
- Frage HOT 5
- Modbus RTU slave compilation error HOT 4
- Example projects do not compile HOT 6
- RS485 support for MODBUS library HOT 1
- Issues with industrialshields/hardware/esp32/2.0.7/libraries/RS485 HOT 1
- Can't compile when including headers from the library HOT 3
- ModbusRTU master CRC error
- Facing Compile Time Error
- ModbusTCPSlave Example Won't compile HOT 1
- ModbusTCPSlave example does not work HOT 1
- Modbus TCP code ONLY works with Industrial Shields proprietary Arduino boards
- ModbusRTU and SoftwareSerial HOT 1
- WriteSingleRegister HOT 4
- MODBUS TCP Slave no complila HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-tools40.