Initial Startup USB issues

Post Reply
jgaro
Posts: 6
Joined: Mon Oct 31, 2016 4:58 pm

Initial Startup USB issues

Post by jgaro »

Hi all,

I am getting a CNC_Blockingwrite error when first starting up. Error log is here:

Code: Select all

Application Start
Version: 1.0.6145.31820, build date: 10/28/2016 5:40:40 PM
Reading v2 format file C:\LitePlacer\LitePlacer.HomingFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.FiducialsFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.ComponentsFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.PaperTapeFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.BlackTapeFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.ClearTapeFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.SnapshotFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.NozzleFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.Nozzle2Functions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.UpCamComponentsFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.UpCamSnapshotFunctions_v2
Loading tapes with nozzles data
Reading v2 format file C:\LitePlacer\LitePlacer.TapesData_v2
Loading nozzle calibration data
Loading nozzle calibration validity data
Loading nozzles data
Reading v2 format file C:\LitePlacer\LitePlacer.NozzlesLoadData_v2
Reading v2 format file C:\LitePlacer\LitePlacer.NozzlesUnLoadData_v2
Reading v2 format file C:\LitePlacer\LitePlacer.NozzlesParameters_v2
No saved temp CAD data file
No saved temp job data file
==> 
==> {"sr":""}
Startup completed.
Clear Err.
==> {"sr":""}
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored


I've also sent the {“sys”:””} command via Cool Term and received the response here:

Code: Select all

{"r":{},"f":[1,102,4,7582]}
{"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}}
Using latest version, Windows 7. Any ideas on what's going on?
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Initial Startup USB issues

Post by JuKu »

Apparently, something broke with the latest software, my apologies! See http://www.liteplacer.com/phpBB/viewtop ... 2642#p2642 for details if interested, but in the meanwhile, you can get started with the previous:
http://www.liteplacer.com/Downloads/Lit ... 0_2016.exe

I'm working on the fix.
jgaro
Posts: 6
Joined: Mon Oct 31, 2016 4:58 pm

Re: Initial Startup USB issues

Post by jgaro »

I've installed this version and still get the same error:

Code: Select all

Application Start
Version: 1.0.6129.30534, build date: 10/12/2016 4:57:48 PM
Reading v2 format file C:\LitePlacer\LitePlacer.HomingFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.FiducialsFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.ComponentsFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.PaperTapeFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.BlackTapeFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.ClearTapeFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.SnapshotFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.NozzleFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.Nozzle2Functions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.UpCamComponentsFunctions_v2
Reading v2 format file C:\LitePlacer\LitePlacer.UpCamSnapshotFunctions_v2
Loading tapes with nozzles data
Reading v2 format file C:\LitePlacer\LitePlacer.TapesData_v2
Loading nozzle calibration data
Loading nozzle calibration validity data
Loading nozzles data
Reading v2 format file C:\LitePlacer\LitePlacer.NozzlesLoadData_v2
Reading v2 format file C:\LitePlacer\LitePlacer.NozzlesUnLoadData_v2
Reading v2 format file C:\LitePlacer\LitePlacer.NozzlesParameters_v2
No saved temp CAD data file
No saved temp job data file
==> 
==> {"sr":""}
Startup completed.
Refresh List
Clear Err.
==> {"sr":""}
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored
CNC_A_m, a: -1
### Cnc in error state, ignored

Via Coolterm, the response is now:

Code: Select all

{"r":{"sys":{"fb":440.20,"fv":0.970,"hp":1,"hv":8,"id":"3Y2462-RMV","ja":100000,"ct":0.0100,"sl":0,"st":0,"mt":2.00,"ej":1,"jv":2,"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,7780]}
I noticed that some of these mismatched the string from the setup page, so I changed them. Still getting blockingwrite error, but here is the sys response via coolterm:

Code: Select all

{"r":{"sys":{"fb":440.20,"fv":0.970,"hp":1,"hv":8,"id":"3Y2462-RMV","ja":100000,"ct":0.0100,"sl":0,"st":0,"mt":300.00,"ej":1,"jv":3,"js":1,"tv":1,"qv":2,"sv":1,"si":200,"ec":0,"ee":0,"ex":1,"baud":5,"net":0,"gpl":0,"gun":1,"gco":1,"gpa":2,"gdi":0}},"f":[1,0,11,769]}
jgaro
Posts: 6
Joined: Mon Oct 31, 2016 4:58 pm

Re: Initial Startup USB issues

Post by jgaro »

I've just completed re-flashing the 440.2 tinyG firmware.

Here is the reply to {"sys":""}

Code: Select all

{"r":{"sys":{"fb":440.20,"fv":0.970,"hp":1,"hv":8,"id":"3Y2462-RMV","ja":100000,"ct":0.0100,"sl":0,"st":0,"mt":300.00,"ej":1,"jv":3,"js":1,"tv":1,"qv":2,"sv":1,"si":200,"ec":0,"ee":0,"ex":1,"baud":5,"net":0,"gpl":0,"gun":1,"gco":1,"gpa":2,"gdi":0}},"f":[1,0,11,769]}
and here is the reply to {"sr":""}

Code: Select all

{"r":{"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}},"f":[1,0,10,1190]}
These are both via CoolTerm. Still showing Blockingwrite errors, and I've tried multiple previous verions of liteplacer software.
jgaro
Posts: 6
Joined: Mon Oct 31, 2016 4:58 pm

Re: Initial Startup USB issues

Post by jgaro »

FYI, the fix for this was to force the TinyG COM port to be COM3 (default in Liteplacer SW) in the advanced window serial device properties.
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Initial Startup USB issues

Post by JuKu »

There is a bug in how the current software works with existing serial ports connected to something else than TinyG. I'm currently testing a fix.
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Initial Startup USB issues

Post by JuKu »

ilghiz
Posts: 1
Joined: Tue Feb 07, 2017 7:10 pm

Re: Initial Startup USB issues

Post by ilghiz »

Hi,

It seems that on Win10 x64 I have the same bug, using COM3 the software reports similar timeout problem. If I press reset on TinyG, I have a message that TinyG is rebooted, and no message if I switched to COM2 or COM1 port.

The same hardware several months ago worked successfully with Win7 or Visa (I really cannot exactly remember, sorry).

Pictures with my configuration (it if helps to fix the problem) and hardware are available at: http://www.elegant-mathematics.com/LP-Pictures/

I also tried several (not all) previous releases, but all have the same behaviour.

PS: is there possibility to run the software under Linux? I can start it at wine, but it do not see any ports actually.

Please advise me how to fix it?
Post Reply