- Posts: 19311
- Thank you received: 4655
Swapper wrote: i tried running it and sniffing the serial port and its not putting out any data when i start it.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
andypugh wrote:
Swapper wrote: i tried running it and sniffing the serial port and its not putting out any data when i start it.
If you send other data to ttyACM0 do you see serial port activity?
Please Log in or Create an account to join the conversation.
Swapper wrote: i have noticed that the com is not closed correctly when i close halrun it keeps running and i have to kill the process with kill -9 and then halrun -U
Then i can start halrun again, to me that indicates a problem with the code that its "looping" and does not catch a exit.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Swapper wrote: The port sniffing i have tried, maight not have been exactly like that but i tried with mb2hal and got data in the "sniffer"
When i run the altivar comp i get nothing, its not touching the serialport at all.
i have ran it with -v no difference.
The VFD does have modbus activated since i can read registers with mb2hal component.
That in my world means that serial coms and settings to read the VFD is correct.
Since the VFD comp is changed and compiled against newer linuxcnc software my guess is that something in the modbus lib is wrong and its not able to communicate correctly.
Please Log in or Create an account to join the conversation.