Page 1 of 1

Optical homing issue

Posted: Sat Feb 20, 2016 9:49 pm
by martin123
Hello, trying to setup my new Liteplacer.

Having an issue with Optical homing. Got it working and went on with the setup, now at at uplooking setup it says to home the machine and when I did that it could not find the mark. So I went back to the Optical homing setup and tried to get it working again. I setup the filters and finds the homing mark when I press the measure button.
When I then press Home it can't find the mark and moves 100mm in x and says it cant find the mark.

Tried taking out the up looking camera.
Anyone have any idea what this could be?

Code: Select all

Homing => Display:Meas. zoom( True, --, 3, --, --, -- )Invert( True, --, --, --, --, -- )Threshold( True, 164, --, --, --, -- )Edge detect( True, 1, --, --, --, -- )
BuildFunctionsList:
Meas. zoom /  / 3 /  /  /  / 
Invert /  /  /  /  /  / 
Threshold / 164 /  /  /  /  / 
Edge detect / 1 /  /  /  /  / 
Measure
BuildFunctionsList:
Meas. zoom /  / 3 /  /  /  / 
Invert /  /  /  /  /  / 
Threshold / 164 /  /  /  /  / 
Edge detect / 1 /  /  /  /  / 
X: 2.351
Y: 2.989
Home
==> {"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
Homing axis Z, timeout value: 7
==> {"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.831,"feed":1000.00,"vel":1000.00}}
{"sr":{"posz":-4.813,"vel":472.44}}
{"sr":{"posz":-4.994,"vel":0.03}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-4.717,"feed":100.00,"vel":100.00}}
{"sr":{"posz":-4.392}}
{"sr":{"posz":-4.068}}
{"sr":{"posz":-3.743}}
{"sr":{"posz":-3.419}}
{"sr":{"posz":-3.094}}
{"sr":{"posz":-2.770}}
{"sr":{"posz":-2.445}}
{"sr":{"posz":-2.121}}
{"sr":{"posz":-2.018,"vel":0.09}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-0.461,"feed":1000.00,"vel":690.00}}
{"sr":{"posz":-198.000,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posz":0.000,"feed":0.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing Z done.
Move Z
 -- zero Z movement command --
ReadyEvent: zero movement command
Homing axis Y, timeout value: 13
==> {"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.660,"feed":2000.00,"vel":1999.84}}
{"sr":{"posy":-6.500,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-6.194,"feed":100.00,"vel":100.00}}
{"sr":{"posy":-5.870}}
{"sr":{"posy":-5.545}}
{"sr":{"posy":-5.220}}
{"sr":{"posy":-4.895}}
{"sr":{"posy":-4.570}}
{"sr":{"posy":-4.245}}
{"sr":{"posy":-3.920}}
{"sr":{"posy":-3.595}}
{"sr":{"posy":-3.270}}
{"sr":{"posy":-2.946}}
{"sr":{"posy":-2.621}}
{"sr":{"posy":-2.288}}
{"sr":{"posy":-1.982,"vel":10.35}}
{"sr":{"posy":-1.982,"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":0.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing Y done.
Homing axis X, timeout value: 21
==> {"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.493,"feed":2000.00,"vel":1999.84}}
{"sr":{"posx":-6.333,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-6.036,"feed":100.00,"vel":100.00}}
{"sr":{"posx":-5.711}}
{"sr":{"posx":-5.386}}
{"sr":{"posx":-5.053}}
{"sr":{"posx":-4.728}}
{"sr":{"posx":-4.403}}
{"sr":{"posx":-4.078}}
{"sr":{"posx":-3.754}}
{"sr":{"posx":-3.429}}
{"sr":{"posx":-3.104}}
{"sr":{"posx":-2.779}}
{"sr":{"posx":-2.454}}
{"sr":{"posx":-2.129}}
{"sr":{"posx":-1.982,"vel":0.51}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-598.000,"feed":2000.00,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posx":0.000,"feed":0.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing X done.
Move A
CNC_A_m, a: 0
 -- zero A movement command --
Optical homing
BuildFunctionsList:
Meas. zoom /  / 3 /  /  /  / 
Invert /  /  /  /  /  / 
Threshold / 164 /  /  /  /  / 
Edge detect / 1 /  /  /  /  / 
GoToCircleLocation_m(), FindTolerance: 20, MoveTolerance: 0.05
DownCamera already running
Optical positioning, round 0, dX= 2.35141666666667, dY= 2.97691666666667, tries= 0
CNC_XY_m, x: 2.35141666666667, y: 2.97691666666667
==> {"gc":"G0 X106.544 Y2.97691666666667"}
{"r":{},"f":[1,0,39,140]}
{"sr":{"posx":0.000,"vel":0.75,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":5.813,"posy":0.162,"vel":5371.78}}
{"sr":{"posx":34.121,"posy":0.953,"vel":10003.90}}
{"sr":{"posx":66.595,"posy":1.861}}
{"sr":{"posx":97.043,"posy":2.711,"vel":7250.75}}
{"sr":{"posx":106.527,"posy":2.976,"vel":117.51}}
{"sr":{"posx":106.544,"posy":2.977,"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":1}
CNC_XY_m ok
Failed in 8 tries.

Re: Optical homing issue, SOLVED

Posted: Sat Feb 20, 2016 10:21 pm
by martin123
Solved it. After I entered Squareness correction I just copied the value from the calculator and it had a comma so it ended up being 35 not 0.0035.

Re: Optical homing issue

Posted: Fri Jun 03, 2016 7:09 am
by Claud123
good to hear that you have solved that. Thumbs up mate :D