Place here button

roberto_imai
Posts: 16
Joined: Fri Oct 30, 2015 8:43 pm

Place here button

Post by roberto_imai »

Everytime I use the place here button, I get a tinyg reset.
What can I do to prevent this?
Is there a way to adjust the Z for "Pickup this" and "Place here" buttons?
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Place here button

Post by JuKu »

What should happen is that the mcahine moves to the location shown on the camera; Z axis goes down slowly until the switch triggers (it does not know the Z height, so it probes it); Z axis backs off until the switch releases; vacuum is swithced off; Z raises and machine moves to the starting location, showing the result is camera.

If you get a reset, a limit switch is triggered when not expected. I'm guessing that either the vacuum or motor noise couples to the switch and you have a noise issue or the tube movement is restricted, keeping the switch closed.
roberto_imai
Posts: 16
Joined: Fri Oct 30, 2015 8:43 pm

Re: Place here button

Post by roberto_imai »

Yes, it hits the upper Z limit switch and resets.

Code: Select all

{"er":{"fb":440.20,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
CNC_XY_m, x: 174.844945, y: 24.47
### Cnc in error state, ignored
Here is a video:
https://www.dropbox.com/s/9ytdguvtfr8b8 ... 5.mp4?dl=0
As you can see at the end of the video, the high Z limit switch gets triggered and it goes into halt.
Is it what is causing the error?
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Place here button

Post by JuKu »

> Is it what is causing the error?

Yes. The question is why it is doing that; it is supposed to return to normal Z0 level. Please restart the machine (so that startup conversation gets in the log, click place here (no need to pick up anything) and send me the full log window content (click in the log window, ctrl+A to select all, copy and paste to a text document).
roberto_imai
Posts: 16
Joined: Fri Oct 30, 2015 8:43 pm

Re: Place here button

Post by roberto_imai »

Ok, so here is what I did.
Turn on
Home
Place here
It went to calibrate the nozzle
Came back and did a successful place here
Place here again
Halted
Here is the log:

Code: Select all

Application Start
Version: 1.0.6151.32041, build date: 11/3/2016 5:48:02 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
Connecting to serial port COM85, result:True
Loading temp CAD data file
Loading temp job data file
DownCamera start, moniker= @device:pnp:\\?\usb#vid_090c&pid_037c&mi_00#9&8b35a7c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 12, True
==> 
==> {"sr":""}
{"r":{"sr":{"posx":-0.040,"posy":0.000,"posz":0.000,"posa":0.000,"feed":150.00,"vel":0.00,"unit":1,"coor":1,"dist":0,"frmo":1,"stat":3}},"f":[1,0,10,1791]}
ReadyEvent r:sr
==> {"xjm":""}
{"r":{"xjm":1000},"f":[1,0,11,1454]}
ReadyEvent r
==> {"xvm":""}
{"r":{"xvm":10000},"f":[1,0,11,3029]}
ReadyEvent r
==> {"xsv":""}
{"r":{"xsv":2000},"f":[1,0,11,8943]}
ReadyEvent r
==> {"xsn":""}
{"r":{"xsn":3},"f":[1,0,11,6374]}
ReadyEvent r
==> {"xjh":""}
{"r":{"xjh":2000},"f":[1,0,11,5217]}
ReadyEvent r
==> {"xsx":""}
{"r":{"xsx":2},"f":[1,0,11,8632]}
ReadyEvent r
==> {"1mi":""}
{"r":{"1mi":8},"f":[1,0,11,7985]}
ReadyEvent r
==> {"1sa":""}
{"r":{"1sa":0.900},"f":[1,0,11,7161]}
ReadyEvent r
==> {"1tr":""}
{"r":{"1tr":40.0000},"f":[1,0,11,2474]}
ReadyEvent r
==> {"yjm":""}
{"r":{"yjm":1000},"f":[1,0,11,8174]}
ReadyEvent r
==> {"yvm":""}
{"r":{"yvm":10000},"f":[1,0,11,1999]}
ReadyEvent r
==> {"ysn":""}
{"r":{"ysn":3},"f":[1,0,11,48]}
ReadyEvent r
==> {"ysx":""}
{"r":{"ysx":2},"f":[1,0,11,9141]}
ReadyEvent r
==> {"yjh":""}
{"r":{"yjh":2000},"f":[1,0,11,1938]}
ReadyEvent r
==> {"ysv":""}
{"r":{"ysv":2000},"f":[1,0,11,5664]}
ReadyEvent r
==> {"2mi":""}
{"r":{"2mi":8},"f":[1,0,11,1659]}
ReadyEvent r
==> {"2sa":""}
{"r":{"2sa":0.900},"f":[1,0,11,9295]}
ReadyEvent r
==> {"2tr":""}
{"r":{"2tr":40.0000},"f":[1,0,11,2225]}
ReadyEvent r
==> {"zjm":""}
{"r":{"zjm":500},"f":[1,0,11,7926]}
ReadyEvent r
==> {"zvm":""}
{"r":{"zvm":5000},"f":[1,0,11,9156]}
ReadyEvent r
==> {"zsn":""}
{"r":{"zsn":3},"f":[1,0,11,3721]}
ReadyEvent r
==> {"zsx":""}
{"r":{"zsx":2},"f":[1,0,11,2815]}
ReadyEvent r
==> {"zjh":""}
{"r":{"zjh":500},"f":[1,0,11,2724]}
ReadyEvent r
==> {"zsv":""}
{"r":{"zsv":1000},"f":[1,0,11,508]}
ReadyEvent r
==> {"3mi":""}
{"r":{"3mi":8},"f":[1,0,11,5332]}
ReadyEvent r
==> {"3sa":""}
{"r":{"3sa":0.900},"f":[1,0,11,8265]}
ReadyEvent r
==> {"3tr":""}
{"r":{"3tr":8.0000},"f":[1,0,11,7613]}
ReadyEvent r
==> {"ajm":""}
{"r":{"ajm":5000},"f":[1,0,11,2237]}
ReadyEvent r
==> {"avm":""}
{"r":{"avm":50000},"f":[1,0,11,3126]}
ReadyEvent r
==> {"4mi":""}
{"r":{"4mi":8},"f":[1,0,11,9005]}
ReadyEvent r
==> {"4sa":""}
{"r":{"4sa":0.900},"f":[1,0,11,7235]}
ReadyEvent r
==> {"4tr":""}
{"r":{"4tr":160.0000},"f":[1,0,11,2085]}
ReadyEvent r
==> {"mt":""}
{"r":{"mt":300.00},"f":[1,0,10,2825]}
mt value: 300
ReadyEvent r
==> {"zsn",3}
{"er":{"fb":440.20,"st":9,"msg":"File not open"}}
### Ignored file not open error ###
{"r":{"zsn":3},"f":[1,0,10,3720]}
ReadyEvent r
==> {"zsx",2}
{"er":{"fb":440.20,"st":9,"msg":"File not open"}}
### Ignored file not open error ###
{"r":{"zsx":2},"f":[1,0,10,2814]}
ReadyEvent r
==> {"zzb",2}
{"er":{"fb":440.20,"st":9,"msg":"File not open"}}
### Ignored file not open error ###
{"r":{"zzb":2.000},"f":[1,0,10,6309]}
ReadyEvent r
==> {"me":""}
{"r":{"me":null},"f":[1,0,10,3586]}
==> {"zsn",3}
{"er":{"fb":440.20,"st":9,"msg":"File not open"}}
### Ignored file not open error ###
{"r":{"zsn":3},"f":[1,0,10,3720]}
ReadyEvent r
==> {"zsx",2}
{"er":{"fb":440.20,"st":9,"msg":"File not open"}}
### Ignored file not open error ###
{"r":{"zsx":2},"f":[1,0,10,2814]}
ReadyEvent r
==> {"zzb",2}
{"er":{"fb":440.20,"st":9,"msg":"File not open"}}
### Ignored file not open error ###
{"r":{"zzb":2.000},"f":[1,0,10,6309]}
ReadyEvent r
Homing axis Z, timeout value: 10
==> {"gc":"G28.2 Z0"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"coor":0,"dist":1,"stat":9}}
{"qr":32,"qi":1,"qo":1}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-1.830,"feed":1000.00,"vel":1000.00}}
{"sr":{"posz":-4.609,"vel":217.19}}
{"sr":{"posz":-4.660,"vel":0.03}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-4.382,"feed":100.00,"vel":100.00}}
{"sr":{"posz":-4.058}}
{"sr":{"posz":-3.733}}
{"sr":{"posz":-3.409}}
{"sr":{"posz":-3.076}}
{"sr":{"posz":-2.752}}
{"sr":{"posz":-2.557,"vel":0.09}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-1.001,"feed":1000.00,"vel":690.00}}
{"sr":{"posz":-78.000,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posz":0.000,"feed":150.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing Z done.
 -- zero Z movement command --
ReadyEvent: zero movement command
Homing axis Y, timeout value: 16
==> {"gc":"G28.2 Y0"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"coor":0,"dist":1,"stat":9}}
{"qr":32,"qi":1,"qo":1}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-4.667,"feed":2000.00,"vel":2000.00}}
{"sr":{"posy":-9.167,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-8.869,"feed":100.00,"vel":100.00}}
{"sr":{"posy":-8.545}}
{"sr":{"posy":-8.220}}
{"sr":{"posy":-7.886}}
{"sr":{"posy":-7.562}}
BuildFunctionsList:
BuildFunctionsList:
Device 0: USB 2.0 PC Cam
Device 1: USB 2.0 PC Cam
DownCam_comboBox.SelectedIndex= 1
Device 0: USB 2.0 PC Cam
Device 1: USB 2.0 PC Cam
UpCam_comboBox.SelectedIndex= 0
{"sr":{"posy":-7.237}}
{"sr":{"posy":-6.912}}
{"sr":{"posy":-6.587}}
{"sr":{"posy":-6.262}}
{"sr":{"posy":-5.937}}
{"sr":{"posy":-5.612}}
{"sr":{"posy":-5.287}}
{"sr":{"posy":-4.962}}
{"sr":{"posy":-4.629}}
{"sr":{"posy":-4.357,"vel":0.51}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-398.000,"feed":2000.00,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posy":0.000,"feed":150.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing Y done.
Homing axis X, timeout value: 24
==> {"gc":"G28.2 X0"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"coor":0,"dist":1,"stat":9}}
{"qr":32,"qi":1,"qo":1}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-4.540,"feed":2000.00,"vel":2000.00}}
{"sr":{"posx":-10.436,"vel":566.98}}
{"sr":{"posx":-10.540,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-10.234,"feed":100.00,"vel":100.00}}
{"sr":{"posx":-9.910}}
{"sr":{"posx":-9.585}}
{"sr":{"posx":-9.260}}
{"sr":{"posx":-8.935}}
{"sr":{"posx":-8.610}}
{"sr":{"posx":-8.277}}
{"sr":{"posx":-7.952}}
{"sr":{"posx":-7.627}}
{"sr":{"posx":-7.302}}
{"sr":{"posx":-6.977}}
{"sr":{"posx":-6.652}}
{"sr":{"posx":-6.380,"vel":0.51}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-598.040,"feed":2000.00,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posx":0.000,"feed":150.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing X done.
CNC_A_m, a: 0
 -- zero A movement command --
Optical homing
BuildFunctionsList:
Meas. zoom /  / 1 /  /  /  / 
Invert /  /  /  /  /  / 
Threshold / 150 /  /  /  /  / 
GoToCircleLocation_m(), FindTolerance: 20, MoveTolerance: 0.05
Downcamera stop: unconnected
DownCamera start, moniker= @device:pnp:\\?\usb#vid_090c&pid_037c&mi_00#9&8b35a7c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 14, True
Optical positioning, round 0, dX= 4.16, dY= 2.24, tries= 1
CNC_XY_m, x: 4.16, y: 2.24
==> {"gc":"G0 X4.175 Y2.24"}
{"r":{},"f":[1,0,25,105]}
{"sr":{"posx":0.000,"posy":0.000,"vel":1.95,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":3.466,"posy":1.860,"vel":1449.70}}
{"sr":{"posx":4.175,"posy":2.240,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XY_m ok
Optical positioning, round 1, dX= 0.16, dY= 0.08, tries= 0
CNC_XY_m, x: 4.32044, y: 2.32
==> {"gc":"G1 F150 X4.336 Y2.32"}
{"r":{},"f":[1,0,30,131]}
{"sr":{"posx":4.175,"posy":2.240,"vel":5.32,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":4.336,"posy":2.320,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XY_m ok
Optical positioning, round 2, dX= 0, dY= 0.08, tries= 0
CNC_XY_m, x: 4.32092, y: 2.4
==> {"gc":"G1 F150 X3.934 Y2"}
{"r":{},"f":[1,0,27,107]}
{"sr":{"posx":4.336,"posy":2.320,"vel":5.32,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":3.984,"posy":2.040,"vel":150.00}}
{"sr":{"posx":3.934,"posy":2.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
==> {"gc":"G1 F150 X4.337 Y2.4"}
{"r":{},"f":[1,0,29,109]}
{"sr":{"posx":3.934,"posy":2.000,"vel":7.32,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":4.267,"posy":2.331,"vel":150.00}}
{"sr":{"posx":4.337,"posy":2.400,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XY_m ok
Optical positioning, round 3, dX= -0.04, dY= -0.04, tries= 0
==> {"gc":"G28.3 X0.040 Y0.040"}
Optical homing OK.
Startup completed.
{"r":{},"f":[1,0,29,109]}
{"sr":{"posx":0.040,"posy":0.040}}
{"qr":32,"qi":1,"qo":1}
Place here
test 2: Place here (probing)
Nozzle.Move_m(): X= 0.03974, Y= 0.04, A= 0
Downcamera stop: Stopped
UpCamera start, moniker= @device:pnp:\\?\usb#vid_090c&pid_037c&mi_00#a&2dc3104d&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 33, True
 -- zero Z movement command --
ReadyEvent: zero movement command
CNC_XY_m, x: -0.5, y: 107.3
==> {"gc":"G0 X-0.205 Y106.9"}
{"r":{},"f":[1,0,27,107]}
{"sr":{"posy":0.040,"vel":0.75,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":0.026,"posy":6.321,"vel":5615.01}}
{"sr":{"posx":-0.040,"posy":34.954,"vel":10000.03}}
{"sr":{"posx":-0.116,"posy":67.871}}
{"sr":{"posx":-0.185,"posy":97.984,"vel":7028.16}}
{"sr":{"posx":-0.205,"posy":106.890,"vel":82.46}}
{"sr":{"posx":-0.205,"posy":106.900,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
==> {"gc":"G1 F150 X0.197 Y107.3"}
{"r":{},"f":[1,0,31,132]}
{"sr":{"posx":-0.205,"posy":106.900,"vel":7.32,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":0.119,"posy":107.222,"vel":150.00}}
{"sr":{"posx":0.197,"posy":107.300,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XY_m ok
==> {"gc":"G0 Z18.4"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"posz":0.000,"vel":0.43,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":3.282,"vel":2656.83}}
{"sr":{"posz":13.925,"vel":3094.79}}
{"sr":{"posz":18.394,"vel":46.69}}
{"sr":{"posz":18.400,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
Using regular table
BuildFunctionsList:
Meas. zoom /  / 2 /  /  /  / 
Threshold / 100 /  /  /  /  / 
Invert /  /  /  /  /  / 
CNC_A_m, a: 0
 -- zero A movement command --
CNC_A_m, a: 22.5
==> {"gc":"G0 A22.5"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"posa":0.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":17.335,"vel":7549.31}}
{"sr":{"posa":22.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 45
==> {"gc":"G0 A45"}
{"r":{},"f":[1,0,16,75]}
{"sr":{"posa":22.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":39.835,"vel":7549.31}}
{"sr":{"posa":45.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 67.5
==> {"gc":"G0 A67.5"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"posa":45.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":62.926,"vel":7220.54}}
{"sr":{"posa":67.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 90
==> {"gc":"G0 A90"}
{"r":{},"f":[1,0,16,75]}
{"sr":{"posa":67.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":85.426,"vel":7220.54}}
{"sr":{"posa":90.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 112.5
==> {"gc":"G0 A112.5"}
{"r":{},"f":[1,0,19,78]}
{"sr":{"posa":90.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":107.335,"vel":7549.31}}
{"sr":{"posa":112.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 135
==> {"gc":"G0 A135"}
{"r":{},"f":[1,0,17,76]}
{"sr":{"posa":112.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":129.835,"vel":7549.31}}
{"sr":{"posa":135.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 157.5
==> {"gc":"G0 A157.5"}
{"r":{},"f":[1,0,19,78]}
{"sr":{"posa":135.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":152.926,"vel":7220.54}}
{"sr":{"posa":157.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 180
==> {"gc":"G0 A180"}
{"r":{},"f":[1,0,17,76]}
{"sr":{"posa":157.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":174.835,"vel":7549.31}}
{"sr":{"posa":180.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 202.5
==> {"gc":"G0 A202.5"}
{"r":{},"f":[1,0,19,78]}
{"sr":{"posa":180.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":197.335,"vel":7549.31}}
{"sr":{"posa":202.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 225
==> {"gc":"G0 A225"}
{"r":{},"f":[1,0,17,76]}
{"sr":{"posa":202.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":220.426,"vel":7220.54}}
{"sr":{"posa":225.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 247.5
==> {"gc":"G0 A247.5"}
{"r":{},"f":[1,0,19,78]}
{"sr":{"posa":225.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":242.335,"vel":7549.31}}
{"sr":{"posa":247.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 270
==> {"gc":"G0 A270"}
{"r":{},"f":[1,0,17,76]}
{"sr":{"posa":247.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":265.426,"vel":7220.54}}
{"sr":{"posa":270.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 292.5
==> {"gc":"G0 A292.5"}
{"r":{},"f":[1,0,19,78]}
{"sr":{"posa":270.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":287.335,"vel":7549.31}}
{"sr":{"posa":292.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 315
==> {"gc":"G0 A315"}
{"r":{},"f":[1,0,17,76]}
{"sr":{"posa":292.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":310.426,"vel":7220.54}}
{"sr":{"posa":315.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 337.5
==> {"gc":"G0 A337.5"}
{"r":{},"f":[1,0,19,78]}
{"sr":{"posa":315.001,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":332.335,"vel":7549.31}}
{"sr":{"posa":337.500,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_A_m, a: 360
==> {"gc":"G0 A360"}
{"r":{},"f":[1,0,17,76]}
{"sr":{"posa":337.501,"vel":8.23,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":355.426,"vel":7220.54}}
{"sr":{"posa":360.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
==> {"gc":"G0 Z0"}
{"r":{},"f":[1,0,15,74]}
{"sr":{"posz":18.400,"vel":0.43,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":15.118,"vel":2656.83}}
{"sr":{"posz":4.475,"vel":3094.79}}
{"sr":{"posz":0.010,"vel":66.24}}
{"sr":{"posz":0.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
Upcamera stop: unconnected
DownCamera start, moniker= @device:pnp:\\?\usb#vid_090c&pid_037c&mi_00#9&8b35a7c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 34, True
A: 0.000, X: -0.713, Y: 1.088
A: 22.500, X: -0.690, Y: 1.065
A: 45.000, X: -0.705, Y: 1.058
A: 67.500, X: -0.758, Y: 1.043
A: 90.000, X: -0.780, Y: 1.035
A: 112.500, X: -0.728, Y: 1.058
A: 135.000, X: -0.713, Y: 1.050
A: 157.500, X: -0.713, Y: 1.005
A: 180.000, X: -0.728, Y: 1.013
A: 202.500, X: -0.743, Y: 1.035
A: 225.000, X: -0.728, Y: 1.035
A: 247.500, X: -0.698, Y: 1.028
A: 270.000, X: -0.705, Y: 1.028
A: 292.500, X: -0.690, Y: 1.005
A: 315.000, X: -0.698, Y: 1.028
A: 337.500, X: -0.728, Y: 1.065
A: 360.000, X: -0.713, Y: 1.073
CNC_XYA_m, x: 0.03974, y: 0.04, a: 0
==> {"gc":"G0 X-0.3626 Y-0.36 A-5"}
{"r":{},"f":[1,0,32,133]}
{"sr":{"posy":107.300,"posa":360.000,"vel":4.60,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":0.150,"posy":98.228,"posa":329.244,"vel":27508.09}}
{"sr":{"posx":-0.016,"posy":66.328,"posa":221.093,"vel":35347.11}}
{"sr":{"posx":-0.184,"posy":33.975,"posa":111.407}}
{"sr":{"posx":-0.336,"posy":4.818,"posa":12.554,"vel":20810.51}}
{"sr":{"posx":-0.363,"posy":-0.360,"posa":-5.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
==> {"gc":"G1 F150 X0.04 Y0.04"}
{"r":{},"f":[1,0,29,109]}
{"sr":{"posx":-0.362,"posy":-0.360,"posa":-5.000,"vel":7.32,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-0.039,"posy":-0.038,"vel":150.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posx":0.040,"posy":0.040,"posa":-5.000,"vel":0.00,"stat":3}}
ReadyEvent stat
==> {"gc":"G0 A0"}
{"r":{},"f":[1,0,15,74]}
{"sr":{"posa":-4.999,"vel":11.84,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":0.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XYA_m, x: 75.54724, y: 31.1275, a: 0
==> {"gc":"G0 X75.74956875 Y31.1275 A-5"}
{"r":{},"f":[1,0,38,139]}
{"sr":{"posx":0.040,"posy":0.040,"posa":0.000,"vel":0.81,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":6.321,"posy":2.619,"posa":-0.415,"vel":6081.25}}
{"sr":{"posx":34.987,"posy":14.390,"posa":-2.308,"vel":10830.36}}
{"sr":{"posx":65.645,"posy":26.978,"posa":-4.333,"vel":8081.20}}
{"sr":{"posx":75.723,"posy":31.117,"posa":-4.998,"vel":173.83}}
{"sr":{"posx":75.750,"posy":31.127,"posa":-5.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
==> {"gc":"G0 A0"}
{"r":{},"f":[1,0,15,74]}
{"sr":{"posa":-4.999,"vel":11.84,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":0.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
Probing Z, timeout value: 10
==> {"zsn",0}
{"r":{"zsn":0},"f":[1,0,10,1278]}
ReadyEvent r
==> {"zsx",1}
{"r":{"zsx":1},"f":[1,0,10,2000]}
ReadyEvent r
==> {"zzb",0}
{"r":{"zzb":0.000},"f":[1,0,10,450]}
ReadyEvent r
==> {"gc":"G28.4 Z0"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"coor":0,"dist":1,"stat":9}}
{"qr":32,"qi":1,"qo":1}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":1.830,"posa":0.000,"feed":1000.00,"vel":1000.00}}
{"sr":{"posz":5.077}}
{"sr":{"posz":8.407}}
{"sr":{"posz":11.654}}
{"sr":{"posz":14.901}}
{"sr":{"posz":18.148}}
{"sr":{"posz":21.395}}
{"sr":{"posz":23.875,"vel":103.52}}
{"sr":{"posz":23.891,"vel":0.03}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":23.597,"feed":100.00,"vel":100.00}}
{"sr":{"posz":23.273}}
{"sr":{"posz":22.948}}
{"sr":{"posz":22.624}}
{"sr":{"posz":22.299}}
{"sr":{"posz":21.975}}
{"sr":{"posz":21.650}}
{"sr":{"posz":21.326}}
{"sr":{"posz":21.156,"vel":0.09}}
{"sr":{"posa":0.000,"feed":150.00,"vel":0.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
==> {"zsn",3}
{"r":{"zsn":3},"f":[1,0,10,3720]}
ReadyEvent r
==> {"zsx",2}
{"r":{"zsx":2},"f":[1,0,10,2814]}
ReadyEvent r
==> {"zzb",2}
{"r":{"zzb":2.000},"f":[1,0,10,6309]}
ReadyEvent r
==> {"gc":"G0 Z0"}
{"r":{},"f":[1,0,15,74]}
{"sr":{"posz":21.156,"posa":0.000,"vel":0.41,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":18.075,"vel":2640.05}}
{"sr":{"posz":6.532,"vel":3640.63}}
{"sr":{"posz":0.100,"vel":324.43}}
{"sr":{"posz":0.000,"posa":0.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XY_m, x: 0.03974, y: 0.04
==> {"gc":"G0 X-0.363 Y-0.36"}
{"r":{},"f":[1,0,27,107]}
{"sr":{"posx":75.750,"posy":31.127,"posa":0.000,"vel":0.81,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":69.936,"posy":28.723,"vel":5811.04}}
{"sr":{"posx":41.714,"posy":17.047,"vel":10821.94}}
{"sr":{"posx":11.000,"posy":4.341,"vel":8299.03}}
{"sr":{"posx":-0.323,"posy":-0.343,"vel":229.52}}
{"sr":{"posx":-0.363,"posy":-0.360,"posa":0.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
==> {"gc":"G1 F150 X0.04 Y0.04"}
{"r":{},"f":[1,0,29,109]}
{"sr":{"posx":-0.363,"posy":-0.360,"posa":0.000,"vel":7.32,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-0.047,"posy":-0.047,"vel":150.00}}
{"sr":{"posx":0.040,"posy":0.040,"posa":0.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XY_m ok
Place here
test 2: Place here (probing)
Nozzle.Move_m(): X= 0.03974, Y= 0.04, A= 0
CNC_XYA_m, x: 75.54724, y: 31.1275, a: 0
==> {"gc":"G0 X75.74956875 Y31.1275 A-5"}
{"r":{},"f":[1,0,38,139]}
{"sr":{"posx":0.040,"posy":0.040,"posa":0.000,"vel":0.81,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":6.321,"posy":2.619,"posa":-0.415,"vel":6081.25}}
{"sr":{"posx":34.987,"posy":14.390,"posa":-2.308,"vel":10830.36}}
{"sr":{"posx":65.645,"posy":26.978,"posa":-4.333,"vel":8081.20}}
{"sr":{"posx":75.723,"posy":31.117,"posa":-4.998,"vel":173.83}}
{"sr":{"posx":75.750,"posy":31.127,"posa":-5.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
==> {"gc":"G0 A0"}
{"r":{},"f":[1,0,15,74]}
{"sr":{"posa":-4.999,"vel":11.84,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posa":0.000,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
Probing Z, timeout value: 10
==> {"zsn",0}
{"r":{"zsn":0},"f":[1,0,10,1278]}
ReadyEvent r
==> {"zsx",1}
{"r":{"zsx":1},"f":[1,0,10,2000]}
ReadyEvent r
==> {"zzb",0}
{"r":{"zzb":0.000},"f":[1,0,10,450]}
ReadyEvent r
==> {"gc":"G28.4 Z0"}
{"r":{},"f":[1,0,18,77]}
{"sr":{"coor":0,"dist":1,"stat":9}}
{"qr":32,"qi":1,"qo":1}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":1.914,"posa":0.000,"feed":1000.00,"vel":1000.00}}
{"sr":{"posz":5.161}}
{"sr":{"posz":8.407}}
{"sr":{"posz":11.654}}
{"sr":{"posz":14.901}}
{"sr":{"posz":18.148}}
{"sr":{"posz":21.395}}
{"sr":{"posz":24.625,"vel":925.05}}
{"sr":{"posz":25.390,"vel":0.03}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":25.096,"feed":100.00,"vel":100.00}}
{"sr":{"posz":24.771}}
{"sr":{"posz":24.447}}
{"sr":{"posz":24.122}}
{"sr":{"posz":23.798}}
{"sr":{"posz":23.473}}
{"sr":{"posz":23.149}}
{"sr":{"posz":22.824}}
{"sr":{"posz":22.671,"vel":0.09}}
{"sr":{"posa":0.000,"feed":150.00,"vel":0.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
==> {"zsn",3}
{"r":{"zsn":3},"f":[1,0,10,3720]}
ReadyEvent r
==> {"zsx",2}
{"r":{"zsx":2},"f":[1,0,10,2814]}
ReadyEvent r
==> {"zzb",2}
{"r":{"zzb":2.000},"f":[1,0,10,6309]}
ReadyEvent r
==> {"gc":"G0 Z0"}
{"r":{},"f":[1,0,15,74]}
{"sr":{"posz":22.671,"posa":0.000,"vel":0.42,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":19.512,"vel":2703.13}}
{"sr":{"posz":7.379,"vel":3857.27}}
{"sr":{"posz":0.128,"vel":384.15}}
{"er":{"fb":440.20,"st":204,"msg":"Limit switch hit - Shutdown occurred"}}
CNC_XY_m, x: 0.03974, y: 0.04
### Cnc in error state, ignored
{"qr":30,"qi":1,"qo":0}
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Place here button

Post by JuKu »

I'm traveling right now (I'm back in the office on Wednesday), so I don't have my machine to compare. Just by reading it, I don't see anything odd, other than hitting the switch when it is not supposed to. When that happens, it is already decelerating and almost stopped. (The last periodic position report says 0.128mm to go, and a small fraction of speed left.)

Please try slower Z settings and perhaps faster homing acceleration, as well as checking how much more the tube could go up when the lower switch triggers. My theory at this point is that when the machine is probing down, first the switch triggers. The head starts to decelerate, using the homing acceleration setting. Before it has time to reach a complete stop, it hits the physical limit, set by the shaft collar. The z motor loses a step or two, and the head is not as low as the software thinks it is. Therefore, when going up, it goes too far.
roberto_imai
Posts: 16
Joined: Fri Oct 30, 2015 8:43 pm

Re: Place here button

Post by roberto_imai »

Which Z settings?
On basic setup, I have 4 fields for acceleration and speed and then home acceleration and speed.
When I change them, they don't seem to take effect.
Do I need to click "Load user defaults to TinyG" button for them to be used?
JuKu
Site Admin
Posts: 1110
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Place here button

Post by JuKu »

The probing is done by home speed and acceleration settings, regular moves by the other speed and acceleration settings. If my guess is correct, lower homing speed and larger homing acceleration would cure it.

When you change a setting, it turns red to indicate that the setting in the user interface is different from the setting in TinyG. Pressing enter will write the setting to TinyG.
roberto_imai
Posts: 16
Joined: Fri Oct 30, 2015 8:43 pm

Re: Place here button

Post by roberto_imai »

Yes, that worked.
Thanks!!
sebastian
Posts: 31
Joined: Wed Nov 30, 2016 7:54 pm

Re: Place here button

Post by sebastian »

I noticed the same issue on my machine, what speed/acceleration speed settings did you use in the end?
www.apertus.org
building a community driven free software & open hardware digital cinema camera
Post Reply