No communication to tinyg

Post Reply
bradysmall
Posts: 2
Joined: Tue Mar 22, 2016 3:25 am

No communication to tinyg

Post by bradysmall »

I can send commands to the tinyg and it responds without a problem when using a terminal program.

Send a ?? and get back:

X position: 0.000 mm
Y position: 0.000 mm
Z position: 0.000 mm
A position: 0.000 deg
Feed rate: 0.000 mm/min
Velocity: 0.000 mm/min
Units: G21 - millimeter mode
Coordinate system: G54 - coordinate system 1
Distance mode: G90 - absolute distance mode
Feed rate mode: G94 - units-per-minute mode (i.e. feedrate mode)
Machine state: Ready
tinyg [mm] ok>

Also in the terminal program when i send: {"sys":""}

I get back:

{"r":{"sys":{"fb":440.20,"fv":0.970,"hp":1,"hv":8,"id":"3X2204-RQK","ja":2000000,"ct":0.0100,"sl":0,"st":1,"mt":2.00,"ej":1,"jv":5,"js":1,"tv":1,"qv":0,"sv":1,"si":500,"ec":0,"ee":0,"ex":1,"baud":5,"net":0,"gpl":0,"gun":1,"gco":1,"gpa":2,"gdi":0}},"f":[1,0,11,2423]}
{"sr":{"posx":0.000,"posy":0.000,"posz":0.000,"posa":0.000,"feed":0.00,"vel":0.00,"unit":1,"coor":1,"dist":0,"frmo":1,"stat":1}}


When i just type in the terminal window, i can see the lights flashing on the tinyg for every key press, i know its seeing what i'm sending.. But when i open the liteplacer software and select the comm port, I get:

"Debug: CNC_Blockwrite: Timeout on command {sr":""}"

It doesn't even look like the software is opening the port and sending any commands, because i don't see any LED's flash on the tinyg when i try to re-connect to it with the "Clear Err." button.

Windows 7 machine, removed all USB-Serial drivers that were detected when first installed the tinyG, and installed the FTDI drivers from the web.. liteplacer Version: 1.0.5945.17954, build date: 4/11/2016 9:58:28 AM

any clues?
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: No communication to tinyg

Post by JuKu »

I'm sure you have read this page; http://www.liteplacer.com/basic-setup/. It seems to me that the flow control parameters (e_) of TinyG are not correct, the response to sys command is not complete. You can query and set them one by one, these fit in one block:

Query: $ex
Set: $ex=1

I hope this helps.
bradysmall
Posts: 2
Joined: Tue Mar 22, 2016 3:25 am

Re: No communication to tinyg

Post by bradysmall »

Thanks, I'll check it out... I have a permanent machine that is a clean install of windows 10 that will live with the machine.. I'm going to swap that in there and hopefully its just some stupid usb to serial thing.

The thing that gets me is that i get nothing for flashing lights from the tinyg when the liteplacer starts.. Like it doesn't even send that sr command in the first place..

I can understand if i get flashing lights and malformed response cut off from the hardware hand shake not being correct, but in this instance i get nothing back.
Post Reply