Error Message Interpretation

From the original Synthetos forum (2011–2025)

Started by Chris S on in TinyG Support. 3 replies, last activity Dec 11, 2019.

#

Hi,
I'm getting this JSON message from the TinyG and am having difficulty interpreting it.

{"r":{"err":"{\"sr\":nuG01X197.00Y128.00Z0.00F5000f switch before setting axis zero position"},"f":[1,111,36,7377]}

Error code 111 (in the footer) is:

"JSON_SYNTAX_ERROR; JSON input string is not well formed"

Is this message insinuating that this is the command string the TinyG received from me?

":nuG01X197.00Y128.00Z0.00F5000f switch before setting axis zero position"

Because the command string I actually sent was:

"G01X197.00Y128.00Z0.00F5000"

Thanks.

Staff #

Is this message insinuating that this is the command string the TinyG received from me?

I think so, but have not seen this before.
What are the Gcode commands (3-4 lines) before your G01 ??

#

I'm doing some pretty extensive logging, these commands commands preceed G01X197.00Y128.00Z0.00F5000:

$azb=2
$ej=1
G28.2 X0 Y0 Z0
M02

I'm using the TinyG more as an industrial motion controller than a CNC machine controller so I'm probably executing a lot of non-standard messaging. In trying to further debug this I looked at the computer serial input buffer I get a massive message dump from the TinyG when the G28.2 completes (the buffer swells to > 3,000 bytes) and I think the TinyG is losing it's mind when that happens.

I think I know what's happening with that message dump and this morning I'm going to make a change that should reduce or eliminate it. I'll post back here with the results. I can email you the log file if you want but I don't think I should post it here.

Thanks.

#

OK, that seems to have fixed it, no more occurrences on four systems.

Thank you for your time.

This topic is from the original forum (December 2019). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.