Use linuxcncrsh.
01 Dec 2023 13:01 #286965
by johnch
Use linuxcncrsh. was created by johnch
Hello everyone.
I try remote control LinuxCNC over linuxcncrsh and I had a few questions:
First:
When I send "get tool_offset" LinuxCNC return strange value, like -848433411, whaever in LinuxCNC tool offset by Z value is -1.666. If I change tool ofset in LinuxCNC, linutcncrsh return different values (May be is convert float to integer, but why?)
Second:
Send command "set mdi (debug, #5221)" and nothing return, but on LinuxCNC GUI message show. How return value of (debug, ...) or (print,...) or (msg, ....) ?
Thank you very much in advance.
I try remote control LinuxCNC over linuxcncrsh and I had a few questions:
First:
When I send "get tool_offset" LinuxCNC return strange value, like -848433411, whaever in LinuxCNC tool offset by Z value is -1.666. If I change tool ofset in LinuxCNC, linutcncrsh return different values (May be is convert float to integer, but why?)
Second:
Send command "set mdi (debug, #5221)" and nothing return, but on LinuxCNC GUI message show. How return value of (debug, ...) or (print,...) or (msg, ....) ?
Thank you very much in advance.
Please Log in or Create an account to join the conversation.
09 Dec 2023 11:32 #287642
by andypugh
Replied by andypugh on topic Use linuxcncrsh.
It does sound like some form of numeric type conversion is missing.
Does it give sensible values with a positive tool length?
MDI has no way to divert output to the network interface.
It is possible that a way to read G-code parameters exists but has not been documented, though I did not find anything in the relevant code:
github.com/LinuxCNC/linuxcnc/blob/master...c/usr_intf/emcrsh.cc
Does it give sensible values with a positive tool length?
MDI has no way to divert output to the network interface.
It is possible that a way to read G-code parameters exists but has not been documented, though I did not find anything in the relevant code:
github.com/LinuxCNC/linuxcnc/blob/master...c/usr_intf/emcrsh.cc
The following user(s) said Thank You: sky
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds