General

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

error: 'MODBUS_TCP_ADU_SIZE' was not declared in this scope

Hi. When running the ModbusTCPSlave example that comes in the library that I downloaded from Github as indicated in the Arduino programming course in industrial environments, it shows me the error hat is observed in the title, detected in the file "ModbusTCPSlave.h". The same thing happens to me when I try the "ModbusTCPMaster" case. What is going on? This variable is not defined in the file "ModbusTCPSlave.h" and is used, but "ModbusTCP.h" is included, which is where it is defined.

Avatar
Descartar
2 Respuestas
0
Avatar
Valentin
Best Answer

Hello,

I have the same problem.

Has anyone found a solution??

Avatar
Descartar
0
Avatar
Amir
Best Answer

Hello, 

Were you able to solve this problem?

Avatar
Descartar