Page 1 of 2
Optical Homing Error and X position reporting wrong
Posted: Mon Aug 28, 2017 7:13 pm
by mackedanzchr
Hello,
I am unable to get past the optical homing step during set up.
I can successfully get my homing dot to register (magenta circle) in the preview window. When I click measure I get an x and y value, but after doing the mechanical homing i keep getting errors.
First error is the TinyG error. Review situation and restart if needed.
I also get a count exceeded error behind the tinyg error.
I've also noticed that the X axis position value sometimes displays a very large number (positive and negative) even after homing. Example vaule: 42753333333333300000000000000.000. This seems to happen after I use the numpad 9 key to move diagonally.
One other weird thing is that I am unable to click in the camera feed and move the head to that position. I get a limits crossed error message or the tinyg error message. I get the limits crossed if the X value error is wrong. Otherwise I get the tinyG error.
Any help...?
**Output window text below**
Optical homing
BuildFunctionsList:
Invert / / / / / /
Threshold / 162 / / / / /
GoToFeatureLocation_m(), FindTolerance: 20, MoveTolerance: 0.05
Downcamera stop: Stopped
DownCamera start, moniker= @device:pnp:\\?\usb#vid_1908&pid_2311&mi_00#7&22304278&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 11, True
Optical positioning, round 0, dX= 5.2, dY= 5.15, tries= 0
CNC_XY_m, x: 5.2, y: 5.15
==> {"gc":"G0 X3.43333333333333E+28 Y5.15"}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
CNC_XY_m ok
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
Optical positioning, round 1, dX= 5.2, dY= 5.2, tries= 0
CNC_XY_m, x: 5.2, y: 5.2
### Cnc in error state, ignored
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
Optical positioning, round 2, dX= 5.2, dY= 5.2, tries= 0
CNC_XY_m, x: 5.2, y: 5.2
### Cnc in error state, ignored
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
Optical positioning, round 3, dX= 5.2, dY= 5.2, tries= 0
CNC_XY_m, x: 5.2, y: 5.2
### Cnc in error state, ignored
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
Optical positioning, round 4, dX= 5.2, dY= 5.2, tries= 0
CNC_XY_m, x: 5.2, y: 5.2
### Cnc in error state, ignored
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
Optical positioning, round 5, dX= 5.2, dY= 5.2, tries= 0
CNC_XY_m, x: 5.2, y: 5.2
### Cnc in error state, ignored
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
Optical positioning, round 6, dX= 5.2, dY= 5.2, tries= 0
CNC_XY_m, x: 5.2, y: 5.2
### Cnc in error state, ignored
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
Optical positioning, round 7, dX= 5.2, dY= 5.2, tries= 0
CNC_XY_m, x: 5.2, y: 5.2
### Cnc in error state, ignored
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":31,"msg":"Move time is NAN"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
{"er":{"fb":440.20,"st":28,"msg":"Failed to get planner buffer"}}
Re: Optical Homing Error and X position reporting wrong
Posted: Tue Aug 29, 2017 8:53 am
by JuKu
Something is wrong in your TinyG settings. Please send text $$ to TinyG; this dumps all its internal settings to the log window in human readable form. Then click inside the log window, ctrl+A to select all, copy and paste either here, or paste to a text file and send it to me,
juha@liteplacer.com.
Re: Optical Homing Error and X position reporting wrong
Posted: Tue Aug 29, 2017 8:53 am
by JuKu
Something is wrong in your TinyG settings. Please send text $$ to TinyG; this dumps all its internal settings to the log window in human readable form. Then click inside the log window, ctrl+A to select all, copy and paste either here, or paste to a text file and send it to me,
juha@liteplacer.com.
Re: Optical Homing Error and X position reporting wrong
Posted: Tue Aug 29, 2017 3:34 pm
by mackedanzchr
I will next time I am at that office. I'm not sure when that will be, I'm working between two offices and the schedule is very unpredictable.
Re: Optical Homing Error and X position reporting wrong
Posted: Wed Aug 30, 2017 1:14 pm
by mackedanzchr
$$ dump after initial power up and connection. I have not homed the machine yet.
Application Start
Version: 1.0.6325.25874, build date: 4/26/2017 2:22:28 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 COM4, result:True
No saved temp CAD data file
No saved temp job data file
DownCamera start, moniker= @device:pnp:\\?\usb#vid_1908&pid_2311&mi_00#7&22304278&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 13, True
==>
==> {"sr":""}
{"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]}
ReadyEvent r:sr
{"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}}
==> {"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":1.800},"f":[1,0,11,1431]}
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}
{"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
==> {"me":""}
{"r":{"me":null},"f":[1,0,10,3586]}
Startup completed.
==> $$
[fb] firmware build 440.20
[fv] firmware version 0.97
[hp] hardware platform 1.00
[hv] hardware version 8.00
[id] TinyG ID 5X3848-QMQ
[ja] junction acceleration 100000 mm
[ct] chordal tolerance 0.0100 mm
[sl] soft limit enable 0
[st] switch type 0 [0=NO,1=NC]
[mt] motor idle timeout 300.00 Sec
[ej] enable json mode 0 [0=text,1=JSON]
[jv] json verbosity 3 [0=silent,1=footer,2=messages,3=configs,4=linenum,5=verbose]
[js] json serialize style 1 [0=relaxed,1=strict]
[tv] text verbosity 1 [0=silent,1=verbose]
[qv] queue report verbosity 2 [0=off,1=single,2=triple]
[sv] status report verbosity 1 [0=off,1=filtered,2=verbose]
[si] status interval 200 ms
[ec] expand LF to CRLF on TX 0 [0=off,1=on]
[ee] enable echo 0 [0=off,1=on]
[ex] enable flow control 1 [0=off,1=XON/XOFF, 2=RTS/CTS]
[baud] USB baud rate 5 [1=9600,2=19200,3=38400,4=57600,5=115200,6=230400]
[net] network mode 0 [0=master]
[gpl] default gcode plane 0 [0=G17,1=G18,2=G19]
[gun] default gcode units mode 1 [0=G20,1=G21]
[gco] default gcode coord system 1 [1-6 (G54-G59)]
[gpa] default gcode path control 2 [0=G61,1=G61.1,2=G64]
[gdi] default gcode distance mode 0 [0=G90,1=G91]
[1ma] m1 map to axis 0 [0=X,1=Y,2=Z...]
[1sa] m1 step angle 0.900 deg
[1tr] m1 travel per revolution 40.0000 mm
[1mi] m1 microsteps 8 [1,2,4,8]
[1po] m1 polarity 0 [0=normal,1=reverse]
[1pm] m1 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[2ma] m2 map to axis 1 [0=X,1=Y,2=Z...]
[2sa] m2 step angle 0.900 deg
[2tr] m2 travel per revolution 40.0000 mm
[2mi] m2 microsteps 8 [1,2,4,8]
[2po] m2 polarity 0 [0=normal,1=reverse]
[2pm] m2 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[3ma] m3 map to axis 2 [0=X,1=Y,2=Z...]
[3sa] m3 step angle 1.800 deg
[3tr] m3 travel per revolution 8.0000 mm
[3mi] m3 microsteps 8 [1,2,4,8]
[3po] m3 polarity 0 [0=normal,1=reverse]
[3pm] m3 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[4ma] m4 map to axis 3 [0=X,1=Y,2=Z...]
[4sa] m4 step angle 0.900 deg
[4tr] m4 travel per revolution 160.0000 mm
[4mi] m4 microsteps 8 [1,2,4,8]
[4po] m4 polarity 0 [0=normal,1=reverse]
[4pm] m4 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[xam] x axis mode 1 [standard]
[xvm] x velocity maximum 10000 mm/min
[xfr] x feedrate maximum 10000 mm/min
[xtn] x travel minimum 0.000 mm
[xtm] x travel maximum 600.000 mm
[xjm] x jerk maximum 1000 mm/min^3 * 1 million
[xjh] x jerk homing 2000 mm/min^3 * 1 million
[xjd] x junction deviation 0.0100 mm (larger is faster)
[xsn] x switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[xsx] x switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[xsv] x search velocity 2000 mm/min
[xlv] x latch velocity 100 mm/min
[xlb] x latch backoff 8.000 mm
[xzb] x zero backoff 2.000 mm
[yam] y axis mode 1 [standard]
[yvm] y velocity maximum 10000 mm/min
[yfr] y feedrate maximum 10000 mm/min
[ytn] y travel minimum 0.000 mm
[ytm] y travel maximum 400.000 mm
[yjm] y jerk maximum 1000 mm/min^3 * 1 million
[yjh] y jerk homing 2000 mm/min^3 * 1 million
[yjd] y junction deviation 0.0100 mm (larger is faster)
[ysn] y switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[ysx] y switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[ysv] y search velocity 2000 mm/min
[ylv] y latch velocity 100 mm/min
[ylb] y latch backoff 8.000 mm
[yzb] y zero backoff 2.000 mm
[zam] z axis mode 1 [standard]
[zvm] z velocity maximum 5000 mm/min
[zfr] z feedrate maximum 2000 mm/min
[ztn] z travel minimum 0.000 mm
[ztm] z travel maximum 80.000 mm
[zjm] z jerk maximum 500 mm/min^3 * 1 million
[zjh] z jerk homing 500 mm/min^3 * 1 million
[zjd] z junction deviation 0.0100 mm (larger is faster)
[zsn] z switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[zsx] z switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[zsv] z search velocity 1000 mm/min
[zlv] z latch velocity 100 mm/min
[zlb] z latch backoff 4.000 mm
[zzb] z zero backoff 2.000 mm
[aam] a axis mode 1 [standard]
[avm] a velocity maximum 50000 deg/min
[afr] a feedrate maximum 200000 deg/min
[atn] a travel minimum -1.000 deg
[atm] a travel maximum 400.000 deg
[ajm] a jerk maximum 5000 deg/min^3 * 1 million
[ajh] a jerk homing 5000 deg/min^3 * 1 million
[ajd] a junction deviation 0.0100 deg (larger is faster)
[ara] a radius value 0.1989 deg
[asn] a switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[asx] a switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[asv] a search velocity 600 deg/min
[alv] a latch velocity 100 deg/min
[alb] a latch backoff 5.000 deg
[azb] a zero backoff 2.000 deg
[bam] b axis mode 0 [disabled]
[bvm] b velocity maximum 3600 deg/min
[bfr] b feedrate maximum 3600 deg/min
[btn] b travel minimum -1.000 deg
[btm] b travel maximum -1.000 deg
[bjm] b jerk maximum 20 deg/min^3 * 1 million
[bjd] b junction deviation 0.0500 deg (larger is faster)
[bra] b radius value 1.0000 deg
[cam] c axis mode 0 [disabled]
[cvm] c velocity maximum 3600 deg/min
[cfr] c feedrate maximum 3600 deg/min
[ctn] c travel minimum -1.000 deg
[ctm] c travel maximum -1.000 deg
[cjm] c jerk maximum 20 deg/min^3 * 1 million
[cjd] c junction deviation 0.0500 deg (larger is faster)
[cra] c radius value 1.0000 deg
[p1frq] pwm frequency 100 Hz
[p1csl] pwm cw speed lo 1000 RPM
[p1csh] pwm cw speed hi 2000 RPM
[p1cpl] pwm cw phase lo 0.125 [0..1]
[p1cph] pwm cw phase hi 0.200 [0..1]
[p1wsl] pwm ccw speed lo 1000 RPM
[p1wsh] pwm ccw speed hi 2000 RPM
[p1wpl] pwm ccw phase lo 0.125 [0..1]
[p1wph] pwm ccw phase hi 0.200 [0..1]
[p1pof] pwm phase off 0.100 [0..1]
[g54x] g54 x offset 0.000 mm
[g54y] g54 y offset 0.000 mm
[g54z] g54 z offset 0.000 mm
[g54a] g54 a offset 0.000 deg
[g54b] g54 b offset 0.000 deg
[g54c] g54 c offset 0.000 deg
[g55x] g55 x offset 75.000 mm
[g55y] g55 y offset 75.000 mm
[g55z] g55 z offset 0.000 mm
[g55a] g55 a offset 0.000 deg
[g55b] g55 b offset 0.000 deg
[g55c] g55 c offset 0.000 deg
[g56x] g56 x offset 0.000 mm
[g56y] g56 y offset 0.000 mm
[g56z] g56 z offset 0.000 mm
[g56a] g56 a offset 0.000 deg
[g56b] g56 b offset 0.000 deg
[g56c] g56 c offset 0.000 deg
[g57x] g57 x offset 0.000 mm
[g57y] g57 y offset 0.000 mm
[g57z] g57 z offset 0.000 mm
[g57a] g57 a offset 0.000 deg
[g57b] g57 b offset 0.000 deg
[g57c] g57 c offset 0.000 deg
[g58x] g58 x offset 0.000 mm
[g58y] g58 y offset 0.000 mm
[g58z] g58 z offset 0.000 mm
[g58a] g58 a offset 0.000 deg
[g58b] g58 b offset 0.000 deg
[g58c] g58 c offset 0.000 deg
[g59x] g59 x offset 0.000 mm
[g59y] g59 y offset 0.000 mm
[g59z] g59 z offset 0.000 mm
[g59a] g59 a offset 0.000 deg
[g59b] g59 b offset 0.000 deg
[g59c] g59 c offset 0.000 deg
[g92x] g92 x offset 0.000 mm
[g92y] g92 y offset 0.000 mm
[g92z] g92 z offset 0.000 mm
[g92a] g92 a offset 0.000 deg
[g92b] g92 b offset 0.000 deg
[g92c] g92 c offset 0.000 deg
[g28x] g28 x position 0.000 mm
[g28y] g28 y position 0.000 mm
[g28z] g28 z position 0.000 mm
[g28a] g28 a position 0.000 deg
[g28b] g28 b position 0.000 deg
[g28c] g28 c position 0.000 deg
[g30x] g30 x position 0.000 mm
[g30y] g30 y position 0.000 mm
[g30z] g30 z position 0.000 mm
[g30a] g30 a position 0.000 deg
[g30b] g30 b position 0.000 deg
[g30c] g30 c position 0.000 deg
tinyg [mm] ok>
Re: Optical Homing Error and X position reporting wrong
Posted: Wed Aug 30, 2017 1:17 pm
by mackedanzchr
After completing a mechanical home of XYZ: (Note right now LitePlacer software is reporting the X position correctly.)
Application Start
Version: 1.0.6325.25874, build date: 4/26/2017 2:22:28 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 COM4, result:True
No saved temp CAD data file
No saved temp job data file
DownCamera start, moniker= @device:pnp:\\?\usb#vid_1908&pid_2311&mi_00#7&22304278&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 12, True
==>
==> {"sr":""}
{"r":{"sr":{"posx":0.000,"posy":-408.000,"posz":0.000,"posa":0.000,"feed":0.00,"vel":0.00,"unit":1,"coor":1,"dist":0,"frmo":1,"stat":3}},"f":[1,0,10,8292]}
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":1.800},"f":[1,0,11,1431]}
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}
{"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
==> {"me":""}
{"r":{"me":null},"f":[1,0,10,3586]}
Startup completed.
Home XYZ
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":{"posy":-407.994,"posz":-1.830,"feed":1000.00,"vel":1000.00}}
{"sr":{"posz":-5.077}}
{"sr":{"posz":-8.324}}
{"sr":{"posz":-11.654}}
{"sr":{"posz":-14.901}}
{"sr":{"posz":-18.148}}
{"sr":{"posz":-21.395}}
{"sr":{"posz":-24.642}}
{"sr":{"posz":-27.889}}
{"sr":{"posz":-31.135}}
{"sr":{"posz":-34.015,"vel":364.11}}
{"sr":{"posz":-34.131,"vel":0.03}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-33.845,"feed":100.00,"vel":100.00}}
{"sr":{"posz":-33.513}}
{"sr":{"posz":-33.188}}
{"sr":{"posz":-32.864}}
{"sr":{"posz":-32.539}}
{"sr":{"posz":-32.215}}
{"sr":{"posz":-31.890}}
{"sr":{"posz":-31.566}}
{"sr":{"posz":-31.241}}
{"sr":{"posz":-30.917}}
{"sr":{"posz":-30.592}}
{"sr":{"posz":-30.268}}
{"sr":{"posy":-408.000,"posz":-80.000,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-407.994,"posz":-28.536,"feed":1000.00,"vel":620.72}}
{"sr":{"posz":-28.196,"vel":0.03}}
{"sr":{"posy":-408.000,"posz":0.000,"feed":0.00,"vel":0.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing Z 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.500,"posy":-407.994,"feed":2000.00,"vel":2000.00}}
{"sr":{"posx":-11.000}}
{"sr":{"posx":-17.500}}
{"sr":{"posx":-24.000}}
{"sr":{"posx":-30.500}}
{"sr":{"posx":-37.000}}
{"sr":{"posx":-43.500}}
{"sr":{"posx":-49.833}}
{"sr":{"posx":-56.333}}
{"sr":{"posx":-62.834}}
{"sr":{"posx":-69.333}}
{"sr":{"posx":-75.833}}
{"sr":{"posx":-82.333}}
{"sr":{"posx":-88.833}}
{"sr":{"posx":-95.333}}
{"sr":{"posx":-101.833}}
{"sr":{"posx":-108.333}}
{"sr":{"posx":-114.833}}
{"sr":{"posx":-121.166}}
{"sr":{"posx":-127.666}}
{"sr":{"posx":-134.166}}
{"sr":{"posx":-140.666}}
{"sr":{"posx":-147.166}}
{"sr":{"posx":-153.667}}
{"sr":{"posx":-160.167}}
{"sr":{"posx":-166.667}}
{"sr":{"posx":-173.167}}
{"sr":{"posx":-179.667}}
{"sr":{"posx":-186.168}}
{"sr":{"posx":-192.668}}
{"sr":{"posx":-199.001}}
{"sr":{"posx":-205.502}}
{"sr":{"posx":-212.002}}
{"sr":{"posx":-218.502}}
{"sr":{"posx":-225.002}}
{"sr":{"posx":-231.502}}
{"sr":{"posx":-238.003}}
{"sr":{"posx":-244.503}}
{"sr":{"posx":-251.003}}
{"sr":{"posx":-257.503}}
{"sr":{"posx":-264.003}}
{"sr":{"posx":-270.502}}
{"sr":{"posx":-276.835}}
{"sr":{"posx":-283.335}}
{"sr":{"posx":-289.834}}
{"sr":{"posx":-296.334}}
{"sr":{"posx":-302.834}}
{"sr":{"posx":-309.333}}
{"sr":{"posx":-315.833}}
{"sr":{"posx":-322.332}}
{"sr":{"posx":-327.331,"vel":44.00}}
{"sr":{"posx":-327.332,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-327.027,"feed":100.00,"vel":100.00}}
{"sr":{"posx":-326.702}}
{"sr":{"posx":-326.377}}
{"sr":{"posx":-326.052}}
{"sr":{"posx":-325.727}}
{"sr":{"posx":-325.402}}
{"sr":{"posx":-325.077}}
{"sr":{"posx":-324.752}}
{"sr":{"posx":-324.427}}
{"sr":{"posx":-324.102}}
{"sr":{"posx":-323.777}}
{"sr":{"posx":-323.444}}
{"sr":{"posx":-323.119}}
{"sr":{"posx":-322.795,"vel":99.49}}
{"sr":{"posx":-322.780,"vel":0.51}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-598.000,"posy":-408.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.
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":-412.660,"feed":2000.00,"vel":2000.00}}
{"sr":{"posy":-418.993}}
{"sr":{"posy":-425.493}}
{"sr":{"posy":-431.993}}
{"sr":{"posy":-438.492}}
{"sr":{"posy":-444.992}}
{"sr":{"posy":-451.491}}
{"sr":{"posy":-457.991}}
{"sr":{"posy":-464.491}}
{"sr":{"posy":-470.990}}
{"sr":{"posy":-477.490}}
{"sr":{"posy":-483.989}}
{"sr":{"posy":-490.489}}
{"sr":{"posy":-496.822}}
{"sr":{"posy":-503.322}}
{"sr":{"posy":-509.821}}
{"sr":{"posy":-516.322}}
{"sr":{"posy":-522.822}}
{"sr":{"posy":-529.323}}
{"sr":{"posy":-535.824}}
{"sr":{"posy":-541.449,"vel":326.16}}
{"sr":{"posy":-541.491,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-541.186,"feed":100.00,"vel":100.00}}
{"sr":{"posy":-540.863}}
{"sr":{"posy":-540.539}}
{"sr":{"posy":-540.215}}
{"sr":{"posy":-539.891}}
{"sr":{"posy":-539.568}}
{"sr":{"posy":-539.244}}
{"sr":{"posy":-538.920}}
{"sr":{"posy":-538.597}}
{"sr":{"posy":-538.273}}
{"sr":{"posy":-537.949}}
{"sr":{"posy":-537.617}}
{"sr":{"posy":-537.293}}
{"sr":{"posy":-536.970}}
{"sr":{"posy":-536.646}}
{"sr":{"posy":-536.582,"vel":0.51}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-806.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.
CNC_A_m, a: 0
-- zero A movement command --
==> $$
[fb] firmware build 440.20
[fv] firmware version 0.97
[hp] hardware platform 1.00
[hv] hardware version 8.00
[id] TinyG ID 5X3848-QMQ
[ja] junction acceleration 100000 mm
[ct] chordal tolerance 0.0100 mm
[sl] soft limit enable 0
[st] switch type 0 [0=NO,1=NC]
[mt] motor idle timeout 300.00 Sec
[ej] enable json mode 0 [0=text,1=JSON]
[jv] json verbosity 3 [0=silent,1=footer,2=messages,3=configs,4=linenum,5=verbose]
[js] json serialize style 1 [0=relaxed,1=strict]
[tv] text verbosity 1 [0=silent,1=verbose]
[qv] queue report verbosity 2 [0=off,1=single,2=triple]
[sv] status report verbosity 1 [0=off,1=filtered,2=verbose]
[si] status interval 200 ms
[ec] expand LF to CRLF on TX 0 [0=off,1=on]
[ee] enable echo 0 [0=off,1=on]
[ex] enable flow control 1 [0=off,1=XON/XOFF, 2=RTS/CTS]
[baud] USB baud rate 5 [1=9600,2=19200,3=38400,4=57600,5=115200,6=230400]
[net] network mode 0 [0=master]
[gpl] default gcode plane 0 [0=G17,1=G18,2=G19]
[gun] default gcode units mode 1 [0=G20,1=G21]
[gco] default gcode coord system 1 [1-6 (G54-G59)]
[gpa] default gcode path control 2 [0=G61,1=G61.1,2=G64]
[gdi] default gcode distance mode 0 [0=G90,1=G91]
[1ma] m1 map to axis 0 [0=X,1=Y,2=Z...]
[1sa] m1 step angle 0.900 deg
[1tr] m1 travel per revolution 40.0000 mm
[1mi] m1 microsteps 8 [1,2,4,8]
[1po] m1 polarity 0 [0=normal,1=reverse]
[1pm] m1 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[2ma] m2 map to axis 1 [0=X,1=Y,2=Z...]
[2sa] m2 step angle 0.900 deg
[2tr] m2 travel per revolution 40.0000 mm
[2mi] m2 microsteps 8 [1,2,4,8]
[2po] m2 polarity 0 [0=normal,1=reverse]
[2pm] m2 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[3ma] m3 map to axis 2 [0=X,1=Y,2=Z...]
[3sa] m3 step angle 1.800 deg
[3tr] m3 travel per revolution 8.0000 mm
[3mi] m3 microsteps 8 [1,2,4,8]
[3po] m3 polarity 0 [0=normal,1=reverse]
[3pm] m3 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[4ma] m4 map to axis 3 [0=X,1=Y,2=Z...]
[4sa] m4 step angle 0.900 deg
[4tr] m4 travel per revolution 160.0000 mm
[4mi] m4 microsteps 8 [1,2,4,8]
[4po] m4 polarity 0 [0=normal,1=reverse]
[4pm] m4 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[xam] x axis mode 1 [standard]
[xvm] x velocity maximum 10000 mm/min
[xfr] x feedrate maximum 10000 mm/min
[xtn] x travel minimum 0.000 mm
[xtm] x travel maximum 600.000 mm
[xjm] x jerk maximum 1000 mm/min^3 * 1 million
[xjh] x jerk homing 2000 mm/min^3 * 1 million
[xjd] x junction deviation 0.0100 mm (larger is faster)
[xsn] x switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[xsx] x switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[xsv] x search velocity 2000 mm/min
[xlv] x latch velocity 100 mm/min
[xlb] x latch backoff 8.000 mm
[xzb] x zero backoff 2.000 mm
[yam] y axis mode 1 [standard]
[yvm] y velocity maximum 10000 mm/min
[yfr] y feedrate maximum 10000 mm/min
[ytn] y travel minimum 0.000 mm
[ytm] y travel maximum 400.000 mm
[yjm] y jerk maximum 1000 mm/min^3 * 1 million
[yjh] y jerk homing 2000 mm/min^3 * 1 million
[yjd] y junction deviation 0.0100 mm (larger is faster)
[ysn] y switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[ysx] y switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[ysv] y search velocity 2000 mm/min
[ylv] y latch velocity 100 mm/min
[ylb] y latch backoff 8.000 mm
[yzb] y zero backoff 2.000 mm
[zam] z axis mode 1 [standard]
[zvm] z velocity maximum 5000 mm/min
[zfr] z feedrate maximum 2000 mm/min
[ztn] z travel minimum 0.000 mm
[ztm] z travel maximum 80.000 mm
[zjm] z jerk maximum 500 mm/min^3 * 1 million
[zjh] z jerk homing 500 mm/min^3 * 1 million
[zjd] z junction deviation 0.0100 mm (larger is faster)
[zsn] z switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[zsx] z switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[zsv] z search velocity 1000 mm/min
[zlv] z latch velocity 100 mm/min
[zlb] z latch backoff 4.000 mm
[zzb] z zero backoff 2.000 mm
[aam] a axis mode 1 [standard]
[avm] a velocity maximum 50000 deg/min
[afr] a feedrate maximum 200000 deg/min
[atn] a travel minimum -1.000 deg
[atm] a travel maximum 400.000 deg
[ajm] a jerk maximum 5000 deg/min^3 * 1 million
[ajh] a jerk homing 5000 deg/min^3 * 1 million
[ajd] a junction deviation 0.0100 deg (larger is faster)
[ara] a radius value 0.1989 deg
[asn] a switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[asx] a switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[asv] a search velocity 600 deg/min
[alv] a latch velocity 100 deg/min
[alb] a latch backoff 5.000 deg
[azb] a zero backoff 2.000 deg
[bam] b axis mode 0 [disabled]
[bvm] b velocity maximum 3600 deg/min
[bfr] b feedrate maximum 3600 deg/min
[btn] b travel minimum -1.000 deg
[btm] b travel maximum -1.000 deg
[bjm] b jerk maximum 20 deg/min^3 * 1 million
[bjd] b junction deviation 0.0500 deg (larger is faster)
[bra] b radius value 1.0000 deg
[cam] c axis mode 0 [disabled]
[cvm] c velocity maximum 3600 deg/min
[cfr] c feedrate maximum 3600 deg/min
[ctn] c travel minimum -1.000 deg
[ctm] c travel maximum -1.000 deg
[cjm] c jerk maximum 20 deg/min^3 * 1 million
[cjd] c junction deviation 0.0500 deg (larger is faster)
[cra] c radius value 1.0000 deg
[p1frq] pwm frequency 100 Hz
[p1csl] pwm cw speed lo 1000 RPM
[p1csh] pwm cw speed hi 2000 RPM
[p1cpl] pwm cw phase lo 0.125 [0..1]
[p1cph] pwm cw phase hi 0.200 [0..1]
[p1wsl] pwm ccw speed lo 1000 RPM
[p1wsh] pwm ccw speed hi 2000 RPM
[p1wpl] pwm ccw phase lo 0.125 [0..1]
[p1wph] pwm ccw phase hi 0.200 [0..1]
[p1pof] pwm phase off 0.100 [0..1]
[g54x] g54 x offset 0.000 mm
[g54y] g54 y offset 0.000 mm
[g54z] g54 z offset 0.000 mm
[g54a] g54 a offset 0.000 deg
[g54b] g54 b offset 0.000 deg
[g54c] g54 c offset 0.000 deg
[g55x] g55 x offset 75.000 mm
[g55y] g55 y offset 75.000 mm
[g55z] g55 z offset 0.000 mm
[g55a] g55 a offset 0.000 deg
[g55b] g55 b offset 0.000 deg
[g55c] g55 c offset 0.000 deg
[g56x] g56 x offset 0.000 mm
[g56y] g56 y offset 0.000 mm
[g56z] g56 z offset 0.000 mm
[g56a] g56 a offset 0.000 deg
[g56b] g56 b offset 0.000 deg
[g56c] g56 c offset 0.000 deg
[g57x] g57 x offset 0.000 mm
[g57y] g57 y offset 0.000 mm
[g57z] g57 z offset 0.000 mm
[g57a] g57 a offset 0.000 deg
[g57b] g57 b offset 0.000 deg
[g57c] g57 c offset 0.000 deg
[g58x] g58 x offset 0.000 mm
[g58y] g58 y offset 0.000 mm
[g58z] g58 z offset 0.000 mm
[g58a] g58 a offset 0.000 deg
[g58b] g58 b offset 0.000 deg
[g58c] g58 c offset 0.000 deg
[g59x] g59 x offset 0.000 mm
[g59y] g59 y offset 0.000 mm
[g59z] g59 z offset 0.000 mm
[g59a] g59 a offset 0.000 deg
[g59b] g59 b offset 0.000 deg
[g59c] g59 c offset 0.000 deg
[g92x] g92 x offset 0.000 mm
[g92y] g92 y offset 0.000 mm
[g92z] g92 z offset 0.000 mm
[g92a] g92 a offset 0.000 deg
[g92b] g92 b offset 0.000 deg
[g92c] g92 c offset 0.000 deg
[g28x] g28 x position 0.000 mm
[g28y] g28 y position 0.000 mm
[g28z] g28 z position 0.000 mm
[g28a] g28 a position 0.000 deg
[g28b] g28 b position 0.000 deg
[g28c] g28 c position 0.000 deg
[g30x] g30 x position 0.000 mm
[g30y] g30 y position 0.000 mm
[g30z] g30 z position 0.000 mm
[g30a] g30 a position 0.000 deg
[g30b] g30 b position 0.000 deg
[g30c] g30 c position 0.000 deg
tinyg [mm] ok>
Re: Optical Homing Error and X position reporting wrong
Posted: Wed Aug 30, 2017 1:23 pm
by mackedanzchr
Machine homed mechanically, and jogged a couple of times using the number pad. Lite placer is now reporting the X value to be 23886666666666700000000000000.000 (INSANELY HUGE NUMBER!)
Application Start
Version: 1.0.6325.25874, build date: 4/26/2017 2:22:28 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 COM4, result:True
No saved temp CAD data file
No saved temp job data file
DownCamera start, moniker= @device:pnp:\\?\usb#vid_1908&pid_2311&mi_00#7&22304278&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
*** Camera started: 11, True
==>
==> {"sr":""}
{"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":3}},"f":[1,0,10,9512]}
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":1.800},"f":[1,0,11,1431]}
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}
{"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
==> {"me":""}
{"r":{"me":null},"f":[1,0,10,3586]}
Startup completed.
==> {"gc":"G1 F1000 X590Y370"}
{"r":{},"f":[1,0,27,107]}
{"sr":{"posx":0.000,"posy":0.000,"feed":1000.00,"vel":2.51,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":2.051,"posy":1.286,"vel":1000.00}}
{"sr":{"posx":4.804,"posy":3.013}}
{"sr":{"posx":7.557,"posy":4.739}}
{"sr":{"posx":10.311,"posy":6.466}}
{"sr":{"posx":13.064,"posy":8.193}}
{"sr":{"posx":15.817,"posy":9.919}}
{"sr":{"posx":18.571,"posy":11.646}}
==> !%
{"sr":{"posx":21.381,"posy":13.408,"vel":972.32,"stat":6}}
{"sr":{"posx":21.892,"posy":13.729,"vel":0.10}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> {"gc":"G1 F1000 X590"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posx":21.892,"vel":1.97,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":24.225,"vel":1000.00}}
{"sr":{"posx":27.475}}
==> !%
==> {"gc":"G1 F1000 Y370"}
{"sr":{"posx":29.475,"vel":0.08,"stat":6}}
{"r":{},"f":[1,0,23,103]}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":0}
{"rx":254}
==> !%
{"qr":32,"qi":0,"qo":0}
{"rx":252}
==> {"gc":"G1 F1000 Y370"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posy":13.729,"vel":1.97,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":16.145,"vel":1000.00}}
{"sr":{"posy":19.395}}
==> !%
{"sr":{"posy":22.132,"vel":114.34,"stat":6}}
{"sr":{"posy":22.144,"vel":0.08}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> {"gc":"G1 F1000 X590"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posx":29.475,"vel":2.22,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":31.975,"vel":1000.00}}
{"sr":{"posx":35.224}}
==> !%
==> !%
{"sr":{"posx":36.807,"vel":0.09,"stat":6}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> {"gc":"G1 F1000 X590"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posx":36.808,"vel":1.97,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":39.141,"vel":1000.00}}
==> !%
==> !%
{"sr":{"posx":40.974,"vel":0.08,"stat":6}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> {"gc":"G1 F1000 X590Y370"}
{"r":{},"f":[1,0,27,107]}
{"sr":{"posx":40.974,"posy":22.144,"vel":2.51,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":43.088,"posy":23.484,"vel":1000.00}}
{"sr":{"posx":45.903,"posy":25.267}}
{"sr":{"posx":48.648,"posy":27.007}}
{"sr":{"posx":51.394,"posy":28.746}}
{"sr":{"posx":54.139,"posy":30.485}}
==> !%
{"sr":{"posx":56.863,"posy":32.211,"vel":945.36,"stat":6}}
{"sr":{"posx":57.308,"posy":32.493,"vel":0.10}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
Home XYZ
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.914,"vel":1000.00}}
{"sr":{"posz":-5.135,"vel":896.48}}
{"sr":{"posz":-5.826,"vel":0.03}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-5.548,"feed":100.00,"vel":100.00}}
{"sr":{"posz":-5.223}}
{"sr":{"posz":-4.899}}
{"sr":{"posz":-4.574}}
{"sr":{"posz":-4.250}}
{"sr":{"posz":-3.925}}
{"sr":{"posz":-3.601}}
{"sr":{"posz":-3.276}}
{"sr":{"posz":-2.944}}
{"sr":{"posz":-2.619}}
{"sr":{"posz":-2.295}}
{"sr":{"posz":-1.970}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posz":-80.000,"vel":0.00}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posz":-0.269,"feed":1000.00,"vel":689.97}}
{"sr":{"posz":0.174,"vel":0.03}}
{"sr":{"posz":0.000,"vel":0.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing Z 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":52.808,"feed":2000.00,"vel":2000.00}}
{"sr":{"posx":46.308}}
{"sr":{"posx":39.808}}
{"sr":{"posx":33.308}}
{"sr":{"posx":26.975}}
{"sr":{"posx":20.475}}
{"sr":{"posx":13.975}}
{"sr":{"posx":7.475}}
{"sr":{"posx":0.975}}
{"sr":{"posx":-5.480,"vel":1912.59}}
{"sr":{"posx":-6.692,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-6.386,"feed":100.00,"vel":100.00}}
{"sr":{"posx":-6.061}}
{"sr":{"posx":-5.736}}
{"sr":{"posx":-5.412}}
{"sr":{"posx":-5.087}}
{"sr":{"posx":-4.762}}
{"sr":{"posx":-4.437}}
{"sr":{"posx":-4.112}}
{"sr":{"posx":-3.787}}
{"sr":{"posx":-3.462}}
{"sr":{"posx":-3.137}}
{"sr":{"posx":-2.813}}
{"sr":{"posx":-2.488}}
{"sr":{"posx":-2.163}}
{"sr":{"posx":-1.966,"vel":0.51}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":-540.692,"feed":2000.00,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posx":0.000,"feed":1000.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing X done.
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":27.993,"feed":2000.00,"vel":2000.00}}
{"sr":{"posy":21.493}}
{"sr":{"posy":14.993}}
{"sr":{"posy":8.493}}
{"sr":{"posy":1.993}}
{"sr":{"posy":-4.507}}
{"sr":{"posy":-7.007,"vel":0.16}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-6.693,"feed":100.00,"vel":100.00}}
{"sr":{"posy":-6.368}}
{"sr":{"posy":-6.043}}
{"sr":{"posy":-5.718}}
{"sr":{"posy":-5.393}}
{"sr":{"posy":-5.068}}
{"sr":{"posy":-4.743}}
{"sr":{"posy":-4.419}}
{"sr":{"posy":-4.085}}
Home XYZ
{"sr":{"posy":-3.760}}
{"sr":{"posy":-3.436}}
{"sr":{"posy":-3.111}}
{"sr":{"posy":-2.786}}
{"sr":{"posy":-2.461}}
{"sr":{"posy":-2.136}}
{"sr":{"posy":-1.930,"vel":0.51}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posy":-365.507,"feed":2000.00,"vel":0.00}}
{"qr":32,"qi":0,"qo":1}
{"sr":{"posy":0.000,"feed":1000.00,"coor":1,"dist":0,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":1,"qo":1}
Homing Y done.
CNC_A_m, a: 0
-- zero A movement command --
==> {"gc":"G1 F1000 X590"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posx":0.000,"vel":1.97,"stat":5}}
{"qr":31,"qi":1,"qo":0}
{"sr":{"posx":2.333,"vel":1000.00}}
==> !%
{"sr":{"posx":4.083,"vel":0.08,"stat":6}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> {"gc":"G1 F1000 Y370"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posy":0.000,"vel":1.97,"stat":5}}
{"qr":31,"qi":1,"qo":0}
==> !%
{"sr":{"posy":2.333,"vel":1000.00}}
{"sr":{"posy":3.583,"vel":0.08,"stat":6}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> {"gc":"G1 F1000 X590"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posx":4.083,"vel":1.97,"stat":5}}
{"qr":31,"qi":1,"qo":0}
==> !%
{"sr":{"posx":6.231,"vel":425.32,"stat":6}}
{"sr":{"posx":6.333,"vel":0.08}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> {"gc":"G1 F1000 X590"}
{"r":{},"f":[1,0,23,103]}
{"sr":{"posx":6.333,"vel":1.97,"stat":5}}
{"qr":31,"qi":1,"qo":0}
==> !%
==> !%
{"sr":{"posx":8.705,"vel":885.66,"stat":6}}
{"sr":{"posx":9.167,"vel":0.08}}
{"sr":{"vel":0.00,"stat":3}}
ReadyEvent stat
{"qr":32,"qi":0,"qo":0}
{"rx":254}
==> $$
[fb] firmware build 440.20
[fv] firmware version 0.97
[hp] hardware platform 1.00
[hv] hardware version 8.00
[id] TinyG ID 5X3848-QMQ
[ja] junction acceleration 100000 mm
[ct] chordal tolerance 0.0100 mm
[sl] soft limit enable 0
[st] switch type 0 [0=NO,1=NC]
[mt] motor idle timeout 300.00 Sec
[ej] enable json mode 0 [0=text,1=JSON]
[jv] json verbosity 3 [0=silent,1=footer,2=messages,3=configs,4=linenum,5=verbose]
[js] json serialize style 1 [0=relaxed,1=strict]
[tv] text verbosity 1 [0=silent,1=verbose]
[qv] queue report verbosity 2 [0=off,1=single,2=triple]
[sv] status report verbosity 1 [0=off,1=filtered,2=verbose]
[si] status interval 200 ms
[ec] expand LF to CRLF on TX 0 [0=off,1=on]
[ee] enable echo 0 [0=off,1=on]
[ex] enable flow control 1 [0=off,1=XON/XOFF, 2=RTS/CTS]
[baud] USB baud rate 5 [1=9600,2=19200,3=38400,4=57600,5=115200,6=230400]
[net] network mode 0 [0=master]
[gpl] default gcode plane 0 [0=G17,1=G18,2=G19]
[gun] default gcode units mode 1 [0=G20,1=G21]
[gco] default gcode coord system 1 [1-6 (G54-G59)]
[gpa] default gcode path control 2 [0=G61,1=G61.1,2=G64]
[gdi] default gcode distance mode 0 [0=G90,1=G91]
[1ma] m1 map to axis 0 [0=X,1=Y,2=Z...]
[1sa] m1 step angle 0.900 deg
[1tr] m1 travel per revolution 40.0000 mm
[1mi] m1 microsteps 8 [1,2,4,8]
[1po] m1 polarity 0 [0=normal,1=reverse]
[1pm] m1 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[2ma] m2 map to axis 1 [0=X,1=Y,2=Z...]
[2sa] m2 step angle 0.900 deg
[2tr] m2 travel per revolution 40.0000 mm
[2mi] m2 microsteps 8 [1,2,4,8]
[2po] m2 polarity 0 [0=normal,1=reverse]
[2pm] m2 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[3ma] m3 map to axis 2 [0=X,1=Y,2=Z...]
[3sa] m3 step angle 1.800 deg
[3tr] m3 travel per revolution 8.0000 mm
[3mi] m3 microsteps 8 [1,2,4,8]
[3po] m3 polarity 0 [0=normal,1=reverse]
[3pm] m3 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[4ma] m4 map to axis 3 [0=X,1=Y,2=Z...]
[4sa] m4 step angle 0.900 deg
[4tr] m4 travel per revolution 160.0000 mm
[4mi] m4 microsteps 8 [1,2,4,8]
[4po] m4 polarity 0 [0=normal,1=reverse]
[4pm] m4 power management 2 [0=disabled,1=always on,2=in cycle,3=when moving]
[xam] x axis mode 1 [standard]
[xvm] x velocity maximum 10000 mm/min
[xfr] x feedrate maximum 10000 mm/min
[xtn] x travel minimum 0.000 mm
[xtm] x travel maximum 600.000 mm
[xjm] x jerk maximum 1000 mm/min^3 * 1 million
[xjh] x jerk homing 2000 mm/min^3 * 1 million
[xjd] x junction deviation 0.0100 mm (larger is faster)
[xsn] x switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[xsx] x switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[xsv] x search velocity 2000 mm/min
[xlv] x latch velocity 100 mm/min
[xlb] x latch backoff 8.000 mm
[xzb] x zero backoff 2.000 mm
[yam] y axis mode 1 [standard]
[yvm] y velocity maximum 10000 mm/min
[yfr] y feedrate maximum 10000 mm/min
[ytn] y travel minimum 0.000 mm
[ytm] y travel maximum 400.000 mm
[yjm] y jerk maximum 1000 mm/min^3 * 1 million
[yjh] y jerk homing 2000 mm/min^3 * 1 million
[yjd] y junction deviation 0.0100 mm (larger is faster)
[ysn] y switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[ysx] y switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[ysv] y search velocity 2000 mm/min
[ylv] y latch velocity 100 mm/min
[ylb] y latch backoff 8.000 mm
[yzb] y zero backoff 2.000 mm
[zam] z axis mode 1 [standard]
[zvm] z velocity maximum 5000 mm/min
[zfr] z feedrate maximum 2000 mm/min
[ztn] z travel minimum 0.000 mm
[ztm] z travel maximum 80.000 mm
[zjm] z jerk maximum 500 mm/min^3 * 1 million
[zjh] z jerk homing 500 mm/min^3 * 1 million
[zjd] z junction deviation 0.0100 mm (larger is faster)
[zsn] z switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[zsx] z switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[zsv] z search velocity 1000 mm/min
[zlv] z latch velocity 100 mm/min
[zlb] z latch backoff 4.000 mm
[zzb] z zero backoff 2.000 mm
[aam] a axis mode 1 [standard]
[avm] a velocity maximum 50000 deg/min
[afr] a feedrate maximum 200000 deg/min
[atn] a travel minimum -1.000 deg
[atm] a travel maximum 400.000 deg
[ajm] a jerk maximum 5000 deg/min^3 * 1 million
[ajh] a jerk homing 5000 deg/min^3 * 1 million
[ajd] a junction deviation 0.0100 deg (larger is faster)
[ara] a radius value 0.1989 deg
[asn] a switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[asx] a switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
[asv] a search velocity 600 deg/min
[alv] a latch velocity 100 deg/min
[alb] a latch backoff 5.000 deg
[azb] a zero backoff 2.000 deg
[bam] b axis mode 0 [disabled]
[bvm] b velocity maximum 3600 deg/min
[bfr] b feedrate maximum 3600 deg/min
[btn] b travel minimum -1.000 deg
[btm] b travel maximum -1.000 deg
[bjm] b jerk maximum 20 deg/min^3 * 1 million
[bjd] b junction deviation 0.0500 deg (larger is faster)
[bra] b radius value 1.0000 deg
[cam] c axis mode 0 [disabled]
[cvm] c velocity maximum 3600 deg/min
[cfr] c feedrate maximum 3600 deg/min
[ctn] c travel minimum -1.000 deg
[ctm] c travel maximum -1.000 deg
[cjm] c jerk maximum 20 deg/min^3 * 1 million
[cjd] c junction deviation 0.0500 deg (larger is faster)
[cra] c radius value 1.0000 deg
[p1frq] pwm frequency 100 Hz
[p1csl] pwm cw speed lo 1000 RPM
[p1csh] pwm cw speed hi 2000 RPM
[p1cpl] pwm cw phase lo 0.125 [0..1]
[p1cph] pwm cw phase hi 0.200 [0..1]
[p1wsl] pwm ccw speed lo 1000 RPM
[p1wsh] pwm ccw speed hi 2000 RPM
[p1wpl] pwm ccw phase lo 0.125 [0..1]
[p1wph] pwm ccw phase hi 0.200 [0..1]
[p1pof] pwm phase off 0.100 [0..1]
[g54x] g54 x offset 0.000 mm
[g54y] g54 y offset 0.000 mm
[g54z] g54 z offset 0.000 mm
[g54a] g54 a offset 0.000 deg
[g54b] g54 b offset 0.000 deg
[g54c] g54 c offset 0.000 deg
[g55x] g55 x offset 75.000 mm
[g55y] g55 y offset 75.000 mm
[g55z] g55 z offset 0.000 mm
[g55a] g55 a offset 0.000 deg
[g55b] g55 b offset 0.000 deg
[g55c] g55 c offset 0.000 deg
[g56x] g56 x offset 0.000 mm
[g56y] g56 y offset 0.000 mm
[g56z] g56 z offset 0.000 mm
[g56a] g56 a offset 0.000 deg
[g56b] g56 b offset 0.000 deg
[g56c] g56 c offset 0.000 deg
[g57x] g57 x offset 0.000 mm
[g57y] g57 y offset 0.000 mm
[g57z] g57 z offset 0.000 mm
[g57a] g57 a offset 0.000 deg
[g57b] g57 b offset 0.000 deg
[g57c] g57 c offset 0.000 deg
[g58x] g58 x offset 0.000 mm
[g58y] g58 y offset 0.000 mm
[g58z] g58 z offset 0.000 mm
[g58a] g58 a offset 0.000 deg
[g58b] g58 b offset 0.000 deg
[g58c] g58 c offset 0.000 deg
[g59x] g59 x offset 0.000 mm
[g59y] g59 y offset 0.000 mm
[g59z] g59 z offset 0.000 mm
[g59a] g59 a offset 0.000 deg
[g59b] g59 b offset 0.000 deg
[g59c] g59 c offset 0.000 deg
[g92x] g92 x offset 0.000 mm
[g92y] g92 y offset 0.000 mm
[g92z] g92 z offset 0.000 mm
[g92a] g92 a offset 0.000 deg
[g92b] g92 b offset 0.000 deg
[g92c] g92 c offset 0.000 deg
[g28x] g28 x position 0.000 mm
[g28y] g28 y position 0.000 mm
[g28z] g28 z position 0.000 mm
[g28a] g28 a position 0.000 deg
[g28b] g28 b position 0.000 deg
[g28c] g28 c position 0.000 deg
[g30x] g30 x position 0.000 mm
[g30y] g30 y position 0.000 mm
[g30z] g30 z position 0.000 mm
[g30a] g30 a position 0.000 deg
[g30b] g30 b position 0.000 deg
[g30c] g30 c position 0.000 deg
tinyg [mm] ok>
Re: Optical Homing Error and X position reporting wrong
Posted: Wed Aug 30, 2017 10:13 pm
by JuKu
I'm trying to reproduce this, but can't, so I'm guessing.
-put zero to squareness correction box. Any effect?
-what your computer is using as a decimal separator?
Re: Optical Homing Error and X position reporting wrong
Posted: Wed Sep 06, 2017 1:39 pm
by mackedanzchr
I set the squareness correction to 0 and it appears to be working correctly right now. I'm still going through all of the calibrations but I haven't been able to get the X value to go to an insanely large value.
One thing I am wondering about is why when I turn the pump on or off the head wants to move in the X axis slightly? It looks like it's moving -x and then back a positive x to where it started. Any thoughts as to why it would want to move just by toggling the pump?
Re: Optical Homing Error and X position reporting wrong
Posted: Wed Sep 06, 2017 5:28 pm
by JuKu
Apparently, the squareness correction value was corrupted. I think you can make the test and set the value now.
The small move is a workaround for TinyG firmware bug/peculiarity(*). That particular command is accepted at any time, but executed only at the same time as next move.
*: The jury is still out if this is a true bug or uncommon interpretation of the G code specification.