I ran all the limit switches in alarm and the following message(s) were returned, all seem identical, and I assume "er" is error:
• Zmax: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
• Xmin :{"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
• Xmax: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
• Ymin: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
• Ymax: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
In all cases the message was followed by {"qr":28,"qi":1,"qo":1}
The TinyG web site/wiki also has this to say about status messages
Status messages are end-user text associated with each status code, similar to those on the Status Codes page.
JSON does not return these whereas text mode does. JSON parsers must therefore work to the status codes,
and provide their own end-user messages.
HOWEVER
There are 2 cases where messages are returned in responses
System generated advisory messages may be returned as "msg" tags for some advisory cases. For example, TinyG will accept a microstep value that the chips don't support so that people who wire up TinyG to run external steppers can still set non-standard microstep values.
Gcode provided messages. A Gcode block can have a comment that starts with the string "msg". For example, (msgChange tool and hit cycle start) will return "Change tool and hit cycle start" as data for a "msg" tag. Presumably the UI would want to display this message.
I ran all the limit switches in alarm and the following message(s) were returned, all seem identical, and I assume "er" is error: • Zmax: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}} • Xmin :{"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}} • Xmax: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}} • Ymin: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}} • Ymax: {"er":{"fb":435.10,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
In all cases the message was followed by {"qr":28,"qi":1,"qo":1}
The TinyG web site/wiki also has this to say about status messages
Status messages are end-user text associated with each status code, similar to those on the Status Codes page. JSON does not return these whereas text mode does. JSON parsers must therefore work to the status codes, and provide their own end-user messages. HOWEVER There are 2 cases where messages are returned in responses
Hope this helps.
You received this message because you are subscribed to the Google Groups "ChiliPeppr" group. To unsubscribe from this group and stop receiving emails from it, send an email to chilipeppr+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/chilipeppr/bad386d0-76e2-4829-a181-d5719a578b89%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.