Olimex Support Forum

Microcontrollers => PIC => Topic started by: mehmetst on December 16, 2018, 07:05:39 PM

Poll
Question: how to write modbus codes into the TCP/IP stack
Option 1: pic web kit votes: 0
Option 2: modbus in TCP/IP votes: 0
Title: MODBUS in TCP/IP Stack
Post by: mehmetst on December 16, 2018, 07:05:39 PM
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