Attaching my latest report. I'd really like to figure out why I had to remap step 2 and dir 2 pins on the db25 to something non-standard to get that axis to spin. While it works now that I have re-mapped, it is still bugging me that I had to do this in the first place.
Otherwise, I have successfully hard-wired the dual axis machine with relay self-squaring. One thing I have to figure out is why my homing macro does not reliably use the parameters value I have stored for my Y-axis back-off distance. As far as I understand, I have stored the back-off distance in a non-volatile spot P700.
Code: Select all
#150 = #9700 ;Assign value of parameter 700 to user variable #150 which is 1.2mm
...
...
M94/112 ;Unpair Y-Axis
G91 ;Incremental move
G1Y[#150]F50 ;Back the Y-master axis back 1.2mm to achieve square
M26/Y ;Set Y0
M95/112 ;Re-pair Y-axis
G90 ;Absolute moves
When I last tested this, it worked and then the next day did not. But going into Params in centroid, I can see that the parameter is indeed saved. Do I have some kind of a syntax error? Frustrated with this, I ended up hard-coding the 1.2mm into my homing macro, but I want to set it in parameters so I can adjust it easily in the future.