andresarmento / modbus-arduino

A library that allows your Arduino to communicate via Modbus protocol, acting as a slave (master in development). Supports serial (RS-232, RS-485) and IP via Ethernet (Modbus IP).
BSD 3-Clause "New" or "Revised" License
452 stars 267 forks source link

W5100-Uno Issues #32

Open Lupierus opened 6 years ago

Lupierus commented 6 years ago

Hi All,

I know this project is likely dead, but I was hoping for some charity this time of year...

I have been testing the TCP on the Uno with a W5100 as a slave and cannot seem to read anything off it using a scanning program or other. Other http procols work and other Modbus TCP files sort of work.

I have just been testing the lastest code off here and the Lamp example. Nothing else. I can connect with my scanner prgram to its IP bit I get timout errors and cannot read Lamp status at or around its address.

Any thoughts?? I am open to amy suggestions!!

asdelx1 commented 5 years ago

Hi, I could make this. When you use the PC to simulate a Master you have to go to ethernet configuration IPV4 and put the correct ip and select your Arduino Ip with the software you use for simulating master. I could run lots of tcp ip library, this one is preferred but i got a timeout error and then works , then a timeout error and then works.. It works but it that problem.