![]() The response is the same also when I use realterm to send the request (in hex) I can see both the request "0x01 0x04 0x00 0x00 0x00 0x31 0xca" from Mach and the response The plain modbus sketch works on both pills. My Setup is win7 with Roger's core 1.6.9IDE and 2 bluepills connected through a USB hub. I added the first 3 lines and the Reply_Inputs() function from plain modbus to my sketch I changed line 118 to line 119 and added lines 131,132 and 133 as per snippet below. SerialCommand library to also respond to modbus message. However I want to keep the ability to receive serial (ASCII) messages already implemented so I modified the Which is read by Mach giving expected results. ![]() It reads the message from Mach and sends response I found the sketch (plain modbus)at the end of this post online. ![]() Now I need to add ModBus to my project so that I can pass messages to Mach3. I have so far been using this for my comms with success.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |