Re: Machine Coordinates Zero Location
hy
... let's say that full axis travel is 1000
... put those limit switches at "a" and "1000-a", where "a" represents the deceleration distance from the top speed * 1.5..2..3 ( safety factor ); "top speed" should be <= servo max capable speed, and represents the top speed that you intend to use on your machine; idea is that if your machine reaches the limit at top speed, it should be able to break without overshooting this means that the limit switch, when touched, should imediatly start to decelerate all axis towards 0 ( there are also other types of limit switches, hart type, that once touched, the machine can not continue it's movement, and the stop is caused because the servo reaches a high torque )
... declare the soft limits at "a+b" and "1000-a-b"; b represents the clearence between the software limit and the hardware limit, that depends on machine construction; for example :
...... mill : x travel is 1500, table is 1550, b is 5, and x travel is centered among table width with <1mm accuracy
...... lathe : x travel is +360-140, b is 2.5, and x center may shift each time the turret is re-aligned; this means that limits may become +360.1-139.9; if you restore the limits to their initial values, then b will become b1 and b2, 2.4 and 2.3, thus both clearances will change with how much the x center has switched
... after hard limits (a) and soft limits (b) had been declared, you may declare 0 anywhere you like; for example :
...... mill, xy axis : 0 is located at the middle of the distance between "a+b" and "1000-a-b", thus at 500
...... mill, z axis : 0 may be declared like above, or right on the surface of the table; like this, if you put a vise, and measure the distance from over the jaws to the table, using a depth caliber, that that point should represent also the z axis coordinate; of course, on a mill, z0 may mean that spindle face is touching the table
i hope you find it usefull / kindly
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg