Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant connect to SPJS after restarting it #21

Open
raulgotor opened this issue Mar 31, 2015 · 7 comments
Open

Cant connect to SPJS after restarting it #21

raulgotor opened this issue Mar 31, 2015 · 7 comments

Comments

@raulgotor
Copy link

I'm on Snow Leopard & Firefox. Some times chilipeppr becomes unresponsive. Normally, in that situation I disconnect from JSON and close the chilipepper's Firefox tab. Then, I relaunch both chilipeppr and JSON server but I get the following message at the OS X terminal:

Error trying to bind to port: listen tcp :8989: bind: address already in use, so exiting...logout

It seems that the port remains open and JSON cant connect anymore, but at chilipeppr JSON widget there is no JSON server connection...

I've tried at the terminal the command

lsof -i TCP:8989

but it makes no improvement. Any clues?

@chilipeppr
Copy link
Owner

You are getting that port blocked because the original SPJS is still
running. So I would not do what you're doing.

The bigger question is what do you mean by unresponsive? Do you mean you're
running a job and the browser seems to get so bogged down your CPU is at
100% and things seem unresponsive? If so, I would disable the 3d viewer
when running a job. You can disable in the pulldown menu.

Also, make sure you're using the latest SPJS of v1.8. It has the best
memory management. I noticed you posted over at UGS about after 20,000
lines UGS seems to pause. You are running into Java garbage collection
issues. SPJS is written in Go and has a different approach to garbage
collection so you should find that it stays fairly smooth through the whole
job.

If I haven't correctly guessed at what you mean by unresponsive could you
send over some screenshots and/or video of the issue?

On Tue, Mar 31, 2015 at 5:53 AM, raulgotor [email protected] wrote:

I'm on Snow Leopard & Firefox. Some times chilipeppr becomes unresponsive.
Normally, in that situation I disconnect from JSON and close the
chilipepper's Firefox tab. Then, I relaunch both chilipeppr and JSON server
but I get the following message at the OS X terminal:

Error trying to bind to port: listen tcp :8989: bind: address already in
use, so exiting...logout

It seems that the port remains open and JSON cant connect anymore, but at
chilipeppr JSON widget there is no JSON server connection...

I've tried at the terminal the command

lsof -i TCP:8989

but it makes no improvement. Any clues?


Reply to this email directly or view it on GitHub
#21.

@raulgotor
Copy link
Author

Hi,
Thanks for your answer. I've SPJS v1.8.
By unresponsive I mean that the arduino/Grbl doesn't seems to receive the commands. The 3D viewer is working smooth. All controls in the chilipeppr interface are working. For instance, by clicking the Homing button, the $H command will be displayed in the serial console. Still, the machine won't respond.

How can I stop SPJS from running? Going to localhost:8989 shows nothing, and the only way I've found until now is restarting the computer.

Thanks in advance

@raulgotor
Copy link
Author

Hi,

I've got more clues. I've been trying to produce a laser raster image which is plenty of Gcode commands. Around line 30.000 machine started to produce small pauses (same as in the UGS post that you have seen). They were more and more frequent until machine stopped completely. At this point, pause, stop, reset commands won't do anything, so I had to power off the arduino, and after turning it on, it was responding normally again.

Then, I have been playing with the X/Y arrows, moving the machine to the left and to the right, and suddently it stop moving, and no command made a movement anymore. Then, I've realized that those not performed commands are queued as stated by the serial port monitor.
These last queued commands are being executed now very very slow, more or less one every 3-5 minutes. I'm starting to think that maybe I have some hardware problem with the ATMega IC?

Here is the log (last 40 lines):

{"Version" : "1.81"}
{"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm (optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close [portName]", "bufferalgorithms", "baudrates", "restart", "exit"]}
{"Hostname" : "MacBook-2.local"}
send /dev/tty.usbmodem3d11 ~
{"Cmd":"Queued","QCnt":84670,"Ids":[""],"D":["~\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":84669,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"CompleteFake","Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":84668,"Id":"g86745","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 �
{"Cmd":"WipedQueue","QCnt":1,"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Queued","QCnt":2,"Ids":[""],"D":["\u0018\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"CompleteFake","Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
Error writing to /dev/tty.usbmodem3d11 write /dev/tty.usbmodem3d11: device not configured Closing port.
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly": "/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true, "DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly": "/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true, "DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly": "/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true, "DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly": "/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true, "DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly": "tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true, "DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly": "tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true, "DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
close /dev/tty.usbmodem3d11
Closing serial port /dev/tty.usbmodem3d11
Shutting down reader on /dev/tty.usbmodem3d11
{"Cmd":"Close","Desc":"Got unregister/close on port.","Port":"/dev/tty.usbmodem3d11","Baud":115200}
writerBuffered just got closed. make sure you make a new one. port:/dev/tty.usbmodem3d11
Shutting down writer on /dev/tty.usbmodem3d11
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly": "tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
open /dev/tty.usbmodem3d11 115200 grbl
{"Cmd":"Open","Desc":"Got register/open on port.","Port":"/dev/tty.usbmodem3d11","IsPrimary":true,"Baud":115200,"BufferType":"grbl"}
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly": "tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.Nokia5800-DataTransfer", "Friendly": "tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly": "tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly": "tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly": "tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true, "DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
{"P":"/dev/tty.usbmodem3d11","D":"\n"}
{"Cmd":"WipedQueue","QCnt":0,"Port":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"Grbl 0.9g ['$' for help]\n"}
{"P":"/dev/tty.usbmodem3d11","D":"G54M05ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 status $$
sendjson {"P":"/dev/tty.usbmodem3d11","Data":[{"Id":"startup0","D":null}]}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
{"Cmd":"Queued","QCnt":1,"Ids":[""],"D":["$$\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Queued","QCnt":1,"P":"/dev/tty.usbmodem3d11","Data":[]}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"$0=10 (step pulse, usec)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$1=1 (step idle delay, msec)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$2=50 (step port invert mask:00110010)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$3=7 (dir port invert mask:00000111)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$4=0 (step enable invert, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$5=0 (limit pins invert, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$6=0 (probe pin invert, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$10=3 (status report mask:00000011)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$11=0.010 (junction deviation, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$12=0.002 (arc tolerance, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$13=0 (report inches, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$14=1 (auto start, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$20=0 (soft limits, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$21=0 (hard limits, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$22=0 (homing cycle, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$23=1 (homing dir invert mask:00000001)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$24=1000.000 (homing feed, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$25=3000.000 (homing seek, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$26=250 (homing debounce, msec)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$27=1.000 (homing pull-off, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$100=157.810 (x, step/mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$101=157.810 (y, step/mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$102=250.000 (z, step/mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$110=4000.000 (x max rate, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$111=4000.000 (y max rate, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$112=1000.000 (z max rate, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$120=10000.000 (x accel, mm/sec^2)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$121=2000.000 (y accel, mm/sec^2)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$122=10.000 (z accel, mm/sec^2)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$130=290.000 (x max travel, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$131=215.000 (y max travel, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$132=200.000 (z max travel, mm)\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cRun,MPos:0.925,0.000,0.000,WPos:289.925,211.001,0.000\u003e\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cRun,MPos:0.336,0.000,0.000,WPos:289.335,211.001,0.000\u003e\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X10 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X10\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X10 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X10\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X10 G90
{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X10\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}

@chilipeppr
Copy link
Owner

What version of SPJS are you using?

On Tue, Mar 31, 2015 at 9:06 AM, raulgotor [email protected] wrote:

Hi,

I've got more clues. I've been trying to produce a laser raster image
which is plenty of Gcode commands. Around line 30.000 machine started to
produce small pauses (same as in the UGS post that you have seen). They
were more and more frequent until machine stopped completely. At this
point, pause, stop, reset commands won't do anything, so I had to power off
the arduino, and after turning it on, it was responding normally again.

Then, I have been playing with the X/Y arrows, moving the machine to the
left and to the right, and suddently it stop moving, and no command made a
movement anymore. Then, I've realized that those not performed commands are
queued as stated by the serial port monitor.

These last queued commands are being executed now very very slow, more or
less one every 3-5 minutes. I'm starting to think that maybe I have some
hardware problem with the ATMega IC?

Here is the log (last 40 lines):

{"Version" : "1.81"}
{"Commands" : ["list", "open [portName] [baud] [bufferAlgorithm
(optional)]", "send [portName] [cmd]", "sendnobuf [portName] [cmd]", "close
[portName]", "bufferalgorithms", "baudrates", "restart", "exit"]}
{"Hostname" : "MacBook-2.local"}
send /dev/tty.usbmodem3d11 ~

{"Cmd":"Queued","QCnt":84670,"Ids":[""],"D":["~\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":84669,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"CompleteFake","Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":84668,"Id":"g86745","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11
{"Cmd":"WipedQueue","QCnt":1,"Port":"/dev/tty.usbmodem3d11"}

{"Cmd":"Queued","QCnt":2,"Ids":[""],"D":["\u0018\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"CompleteFake","Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
Error writing to /dev/tty.usbmodem3d11 write /dev/tty.usbmodem3d11: device
not configured Closing port.
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen":
true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn":
true, "DtrOn": false, "BufferAlgorithm": "grbl",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly":
"tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "g rbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen":
true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn":
true, "DtrOn": false, "BufferAlgorithm": "grbl",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly":
"tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "g rbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen":
true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn":
true, "DtrOn": false, "BufferAlgorithm": "grbl",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly":
"tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "g rbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"/dev/tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen":
true, "IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn":
true, "DtrOn": false, "BufferAlgorithm": "grbl",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.BlackBerry9300-BlackBer", "Friendly":
"tty.BlackBerry9300-BlackBer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "g rbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer",
"Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "",
"DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", " grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver" : 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true,
"IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true,
"DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer",
"Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "",
"DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", " grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver" : 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true,
"IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true,
"DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
close /dev/tty.usbmodem3d11
Closing serial port /dev/tty.usbmodem3d11
Shutting down reader on /dev/tty.usbmodem3d11
{"Cmd":"Close","Desc":"Got unregister/close on
port.","Port":"/dev/tty.usbmodem3d11","Baud":115200}
writerBuffered just got closed. make sure you make a new one.
port:/dev/tty.usbmodem3d11
Shutting down writer on /dev/tty.usbmodem3d11
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer",
"Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "",
"DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", " grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver" : 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
open /dev/tty.usbmodem3d11 115200 grbl
{"Cmd":"Open","Desc":"Got register/open on
port.","Port":"/dev/tty.usbmodem3d11","IsPrimary":true,"Baud":115200,"BufferType":"grbl"}
list
{ "SerialPorts": [ { "Name": "/dev/tty.BlackBerry9300-BlackBer",
"Friendly": "tty.BlackBerry9300-BlackBer", "SerialNumber": "",
"DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.Bluetooth-Modem", "Friendly":
"tty.Bluetooth-Modem", "SerialNumber": "", "DeviceClass": "", "IsOpen":
false, "IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Bluetooth-PDA-Sync", "Friendly": "tty.Bluetooth-PDA-Sync",
"SerialNumber": "", "DeviceClass": "", "IsOpen": false, "IsPrimary": false,
"RelatedNames": null, "Baud": 0, "RtsOn": false, "DtrOn": false,
"BufferAlgorithm": "", "AvailableBufferAlgorithms": [ "default", "tinyg",
"dummypause", " grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.Nokia5800-DataTransfer", "Friendly":
"tty.Nokia5800-DataTransfer", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.PuertoSerie", "Friendly":
"tty.PuertoSerie", "SerialNumber": "", "DeviceClass": "", "IsOpen": false,
"IsPrimary": false, "RelatedNames": null, "Baud": 0, "RtsOn": false,
"DtrOn": false, "BufferAlgorithm": "", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 }, { "Name":
"/dev/tty.PuertoSerie-1", "Friendly": "tty.PuertoSerie-1", "SerialNumber":
"", "DeviceClass": "", "IsOpen": false, "IsPrimary": false, "RelatedNames":
null, "Baud": 0, "RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver" : 1.81 }, { "Name": "/dev/tty.iMacdeMariCarmen-Blueto", "Friendly":
"tty.iMacdeMariCarmen-Blueto", "SerialNumber": "", "DeviceClass": "",
"IsOpen": false, "IsPrimary": false, "RelatedNames": null, "Baud": 0,
"RtsOn": false, "DtrOn": false, "BufferAlgorithm": "",
"AvailableBufferAlgorithms": [ "default", "tinyg", "dummypause", "grbl" ],
"Ver": 1.81 }, { "Name": "/dev/tty.usbmodem3d11", "Friendly":
"tty.usbmodem3d11", "SerialNumber": "", "DeviceClass": "", "IsOpen": true,
"IsPrimary": true, "RelatedNames": null, "Baud": 115200, "RtsOn": true,
"DtrOn": false, "BufferAlgorithm": "grbl", "AvailableBufferAlgorithms": [
"default", "tinyg", "dummypause", "grbl" ], "Ver": 1.81 } ] }
{"P":"/dev/tty.usbmodem3d11","D":"\n"}
{"Cmd":"WipedQueue","QCnt":0,"Port":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"Grbl 0.9g ['$' for help]\n"}
{"P":"/dev/tty.usbmodem3d11","D":"G54M05ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 status $$
sendjson {"P":"/dev/tty.usbmodem3d11","Data":[{"Id":"startup0","D":null}]}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}

{"Cmd":"Queued","QCnt":1,"Ids":[""],"D":["$$\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Queued","QCnt":1,"P":"/dev/tty.usbmodem3d11","Data":[]}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"$0=10 (step pulse, usec)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$1=1 (step idle delay, msec)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$2=50 (step port invert
mask:00110010)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$3=7 (dir port invert mask:00000111)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$4=0 (step enable invert, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$5=0 (limit pins invert, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$6=0 (probe pin invert, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$10=3 (status report mask:00000011)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$11=0.010 (junction deviation, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$12=0.002 (arc tolerance, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$13=0 (report inches, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$14=1 (auto start, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$20=0 (soft limits, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$21=0 (hard limits, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$22=0 (homing cycle, bool)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$23=1 (homing dir invert
mask:00000001)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$24=1000.000 (homing feed, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$25=3000.000 (homing seek, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$26=250 (homing debounce, msec)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$27=1.000 (homing pull-off, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$100=157.810 (x, step/mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$101=157.810 (y, step/mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$102=250.000 (z, step/mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$110=4000.000 (x max rate, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$111=4000.000 (y max rate, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$112=1000.000 (z max rate, mm/min)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$120=10000.000 (x accel, mm/sec^2)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$121=2000.000 (y accel, mm/sec^2)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$122=10.000 (z accel, mm/sec^2)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$130=290.000 (x max travel, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$131=215.000 (y max travel, mm)\n"}
{"P":"/dev/tty.usbmodem3d11","D":"$132=200.000 (z max travel, mm)\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cRun,MPos:0.925,0.000,0.000,WPos:289.925,211.001,0.000\u003e\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cRun,MPos:0.336,0.000,0.000,WPos:289.335,211.001,0.000\u003e\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:1.001,0.000,0.000,WPos:290.001,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}
{"Cmd":"Complete","Id":"","P":"/dev/tty.usbmodem3d11"}
{"P":"/dev/tty.usbmodem3d11","D":"ok\n"}

{"P":"/dev/tty.usbmodem3d11","D":"\u003cIdle,MPos:0.000,0.000,0.000,WPos:288.999,211.001,0.000\u003e\n"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X-1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X-1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X1 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X1\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X10 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X10\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X10 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X10\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":1,"Id":"","P":"/dev/tty.usbmodem3d11"}
{"Cmd":"Write","QCnt":0,"Id":"","P":"/dev/tty.usbmodem3d11"}
send /dev/tty.usbmodem3d11 G91 G0 X10 G90

{"Cmd":"Queued","QCnt":2,"Ids":["",""],"D":["G91G0X10\n","G90\n"],"Port":"/dev/tty.usbmodem3d11"}


Reply to this email directly or view it on GitHub
#21 (comment).

@raulgotor
Copy link
Author

v1.8

@chilipeppr
Copy link
Owner

Can you send over screenshots and/or video of when things go wrong? I just
don't have enough info. My take is something is going wrong that you aren't
realizing that will only come out in a video or screenshots.

On Tue, Mar 31, 2015 at 9:20 AM, raulgotor [email protected] wrote:

v1.8


Reply to this email directly or view it on GitHub
#21 (comment).

@raulgotor
Copy link
Author

Sorry for the delay. I was going to record a video, when I've realized that after changing and rerouting the USB cable this random behavior has gone away. It seems that it was related to EMI with the AC line where the air assist motor of the laser is connected. Sorry for the trouble, I've should have checked this first!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants