- CREATE CNC TOUCH PLATE DRIVERS
- CREATE CNC TOUCH PLATE CODE
- CREATE CNC TOUCH PLATE PC
- CREATE CNC TOUCH PLATE SERIES
The existing electronics will be left as-is except for the addition of disconnects that will allow easy swapping between the two configurations. I am also interested in testing a toroidal power supply, using the Mesa 7i76e again, and seeing how the Raspberry Pi 4 works as the control computer running Linux CNC. They have since become an attractive option, so I have been wanting to try them out.
CREATE CNC TOUCH PLATE DRIVERS
I’ve had these components for some time now but haven’t prioritized setting them up until now.īack when I first designed my CNC router, Leadshine drivers were significantly more expensive than the Gecko G540 that I ended up using. I will be testing a new electronics package for my CNC router.
CREATE CNC TOUCH PLATE PC
The second method is RS-485 control direct from the PC to VFD.Īll the details are documented in an article on controlling a Huanyang VFD and spindle from Linux CNC 2.8. The first method is using the Mesa 7i76e, which has a dedicated terminal block for analog spindle control. I tested out two methods of controlling the VFD. The cooling pump is a submersible aquarium style pump that is being controlled from LinuxCNC to automatically turn on and off when needed. The spindle is a 2.2 kW 110 vac 3 phase 400 Hz motor with water cooling. This specific model is for 110 vac input and 110 vac 3 phase output.
CREATE CNC TOUCH PLATE SERIES
I’m starting with the Huanyang HY series VFD. So, going forward I will be testing each of the above for myself. I’ve read many (sometimes conflicting) opinions about water cooled vs air cooled and 110 vac vs 220 vac spindle motors.
CREATE CNC TOUCH PLATE CODE
The VFD is connected to LinuxCNC to enable it to be controlled automatically by the G code when files are run on the machine. It’s possible it would have run faster with a NUC computer running LinuxCNC.Īlong with the electronics upgrade, a 2.2 kW Huanyang VFD and water cooled spindle has been installed in place of the previous DeWalt routers I had been using (both the DW618 and DWP611). Here’s a quick video showing this maximum speed, which was achieved not only using a Raspberry Pi to control the machine, but operating the Pi wirelessly over remote desktop from a laptop computer. It was slightly less when driving X and Y together: 38000 mm/min (1500 ipm). In this case, the maximum speed on a single axis was 40000 mm/min or 1575 inches/minute (ipm). That makes it easy to detect when there is an issue and quickly find the maximum speeds. With the Leadshine AM822 drivers, if the motors stall or lose steps the drive will set a fault and stop motion immediately. Another item that might limit max speed is if the ball screws start whipping. Please Log in or Create an account to join the conversation.Once the main core of the electronics were installed and working, it was time to test and tune the speed and acceleration values.įirst, the acceleration is set to a low value (750 mm/sec/sec) and then speed is gradually increased, testing each axis individually and also in concert with the others until the motors start stalling or missing steps. (G10 L20 = Set Coordinate System // P - coordinate system 0-9 0 = Not active) ( Set Z0 at point where probe triggers with offset of +1.0095 )
( Set current Z position to 0 so that we will always be moving down )
Place this code in a file name 100.ng and place the file in the folder where your G-Code file are. I found this on the web but I don't remember where. This is the code that is run when I press the button on my touch-plate. Net run-touch-btn halui.mdi-command-04 Physical probe start button. Net deb-probe-in debounce.0.0.in motion.probe-input Setp debounce.0.delay 100 #this sets the delay 100 iterations of the servo-thread Loadrt debounce cfg=2,1 #change to the number you want The code below is placed in a file named 100.ng and the file is placed in the folder where you G-Code files are. My touch-plate has a spring loaded contact surface and a button to start the probe process. This is how I have the debounce setup on my probe. I have a button on my homemade touch-plate and this is how I made the connections in the hal file to debounce the signal when the bit touches the plate and recognizes the button press to start the probing process.