October 06, 2024, 03:50:35 AM

MODBUS in TCP/IP Stack

Started by mehmetst, December 16, 2018, 07:05:39 PM

Previous topic - Next topic

how to write modbus codes into the TCP/IP stack

pic web kit
0 (0%)
modbus in TCP/IP
0 (0%)

Total Members Voted: 0

mehmetst

Hello, I am a green person for programming microcontroller. I have a PIC-WEB and have programmed by using TCP/IP stack demo. I also needed to write the modbus codes into the TCP/IP stack and I found the MODBUS codes(MODBUS_SourceCodes_for_ApNote) from microchip site. I added the codes to my programm for modbus but when build the programm, I get this error:

make[2]: *** [dist/default/production/PIC-WEB_5.42_Demo.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

Error - could not find definition of symbol 'COIL' in file './build/default/production/_ext/1472/MainDemo.o'.
Errors    : 1

nbproject/Makefile-default.mk:1015: recipe for target 'dist/default/production/PIC-WEB_5.42_Demo.X.production.hex' failed
make[2]: Leaving directory 'C:/Users/mehme/Desktop/PIC-WEB-5-42-UEXT-full/TCPIP/Demo App/PIC-WEB 5.42 Demo.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/mehme/Desktop/PIC-WEB-5-42-UEXT-full/TCPIP/Demo App/PIC-WEB 5.42 Demo.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed