First thing that came up was the Z axis motor's encoder has an issue. I've isolated it to the encoder. DMM is sending a replacement tomorrow. After getting that isolated, I checked out all of the Acorn I/O. New inductive proximity sensors are working well, so I moved on to getting the X and Y axis homing working. I wanted to use the DYN4's ZRI for precision homing. A huge thank you goes to forum member Joe for all of his help.
The idea behind the ZRI precision homing is to use your home switch to get close and then use the DYN4 marker pulse for precision homing. I'm sure there are a lot of ways to do this. So.. here's what I did for homing X and Y (Z will work the same).
Code: Select all
M105 /X P-1 F50 ;Move X minus at 50in/m until input 1(X axis switch) opens
M106 /X P6 F1 ;Move X plus at 1in/m until input 6(ZRI+ input) closes
M26 /X ;Set X home here
M106 /X P-6 F5 ;Back X off ZRI+ so next axis can use it
M105 /Y P-2 F50 ;Move Y minus at 50in/m until input 2(Y axis switch) opens
M105 /Y P6 F1 ;Move Y plus at 1in/m until input 6(ZRI+ input) closes
M26 /Y ;Set Y home here
M106 /Y P2 F25 ;Back Y off Switch
I made the cable for the ZRI input by cutting this double male straight through DB9 cable in half, found pins one and nine, some heatshrink to act as an insulator and strain relief and ferrules. Pin1 goes to COM and Pin9 to the INPUT you are using.
The schematic I used: DB9 ZRI cable: Lastly, it seems I have a problem others have had - noise causing Acorn/DYN4 to lose steps. I have asked DMM to weigh in on this. I am using their DB25 cables and have separated AC power from the step direction cables. I'll see what the experts say..
A walkaround of the machine in its current state that shows the losing steps issue:
https://youtu.be/CpK6874EGfE
This video shows the issue on the Y axis, resulting in both Y axis drives faulting out.
https://youtu.be/AkBV7j-1284