- Posts: 40
- Thank you received: 0
Error compiling modbus configuration file
- SebastianM
- Topic Author
- Offline
- Senior Member
-
Less
More
1 year 4 months ago #330665
by SebastianM
Error compiling modbus configuration file was created by SebastianM
Hello!
I just tried to compile a modbus file according to this documentation:
linuxcnc.org/docs/2.9/html/drivers/mesa_...#_configuration_file
I attached the file that I created, and imho it looks fine, but the compiler just throws a bunch of errors...
What am I doing wrong
?
Edit: compiling one of the modbus sample files works fine.. no idea why my file doesnt work... I copied it directly from this post from PCW (as its the same VFD)
forum.linuxcnc.org/27-driver-boards/5533...us-so?start=0#321582
I just tried to compile a modbus file according to this documentation:
linuxcnc.org/docs/2.9/html/drivers/mesa_...#_configuration_file
I attached the file that I created, and imho it looks fine, but the compiler just throws a bunch of errors...
What am I doing wrong
Edit: compiling one of the modbus sample files works fine.. no idea why my file doesnt work... I copied it directly from this post from PCW (as its the same VFD)
forum.linuxcnc.org/27-driver-boards/5533...us-so?start=0#321582
Attachment not found
Attachment not found
Please Log in to join the conversation.
- SebastianM
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
1 year 4 months ago #330668
by SebastianM
Replied by SebastianM on topic Error compiling modbus configuration file
ok, nevermind.. I rewrote the file from scratch and now its working.. not idea what happened before.
Please Log in to join the conversation.
1 year 4 months ago #330717
by andypugh
Replied by andypugh on topic Error compiling modbus configuration file
My guess would be that you lost the { at the end of
or possibly the one that terminates that set.
If you still have the good and bad files, then could you attach them? I don't think that I can make the compiler more helpful in it's error messages, but possibly the preprocessor could be.
Code:
static const hm2_modbus_chan_descriptor_t channels[] = {
If you still have the good and bad files, then could you attach them? I don't think that I can make the compiler more helpful in it's error messages, but possibly the preprocessor could be.
Please Log in to join the conversation.
Time to create page: 0.429 seconds
