Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: engineering on March 05, 2019, 10:01:13 PM

Title: KX1 spindle direction problem
Post by: engineering on March 05, 2019, 10:01:13 PM
Hello,
I wan to ask about my cnc mach3 KX1 have a problem about a spindle direction, my spindle direction only CCW, change the code to m3 still same direction. Is it because my kx1 profile have a problem?
Title: Re: KX1 spindle direction problem
Post by: wmgeorge on March 06, 2019, 08:04:18 PM
Do you have a 3 phase spindle? If so why would you want to reverse the rotation? If its rotating in the wrong direction it needs to be reversed with the power off of course on your VFD output. Swap any two motor leads. If you need it reversed via gcode sorry I can not help but I am assuming you just need one direction for milling, for tapping and threading yes you need reverse.
Title: Re: KX1 spindle direction problem
Post by: engineering on March 06, 2019, 08:39:43 PM
before this the machine work normally, we did not disturb the electrical wiring. Suddenly, the spindle motor run CCW. So how ? i don't think it is because my wirig, any idea?
Title: Re: KX1 spindle direction problem
Post by: wmgeorge on March 06, 2019, 08:41:37 PM
Is the machine 3 phase or the spindle 3 phase?
Title: Re: KX1 spindle direction problem
Post by: engineering on March 06, 2019, 08:48:29 PM
single phase
Title: Re: KX1 spindle direction problem
Post by: wmgeorge on March 06, 2019, 08:51:08 PM
single phase
It the spindle 3 phase or do you know, if you have a VFD its 3 phase.
Title: Re: KX1 spindle direction problem
Post by: engineering on March 06, 2019, 08:55:49 PM
Nothing issue about wiring. The problem is about a software. How can i get about KX1 profile for my machine or parameter about kx1
Title: Re: KX1 spindle direction problem
Post by: wmgeorge on March 06, 2019, 09:02:03 PM
Nothing issue about wiring. The problem is about a software. How can i get about KX1 profile for my machine or parameter about kx1

   Sorry I have no answer for you. My question, its a milling machine do you plan to tap holes or thread parts?  If not just reverse the wires like I suggested and move on. The direction of the spindle rotation can be changed in your gcode but its its running backwards when it should be forward rotation thats the wiring.

M03 is forward direction or CW, M04 is reverse direction or CCW I think your getting those confused.       
https://en.wikipedia.org/wiki/G-code
Title: Re: KX1 spindle direction problem
Post by: JimG on March 07, 2019, 07:38:33 AM
Hello,
I wan to ask about my cnc mach3 KX1 have a problem about a spindle direction, my spindle direction only CCW, change the code to m3 still same direction. Is it because my kx1 profile have a problem?

Just a thought, but if the spindle direction is controlled in a similar way to the axes stepper motors then there will be a direction pin feed to control the dircetion.  I haven't had a chance to check out my KX1 to see if this is so but I do remember having a fault on a stepper motor only going one way and the problem turned out to be a poor direction pin connection on the control cable plug.   If I get a chance I'll dig around and see if the spindle motor is controlled gthat way.

Jim.
Title: Re: KX1 spindle direction problem
Post by: wmgeorge on March 07, 2019, 09:27:45 AM
The spindle motor is not a stepper, its more than likely a 3 phase off a VFD. I do not think the poster knows what he has. My advice still holds. If its pre wired to the VFD then it either starts Forward or Reverse as set by the gcode. The direction is set either M03 or M04.
Title: Re: KX1 spindle direction problem
Post by: reuelt on March 07, 2019, 02:14:34 PM
Seig KX1 has a DC 500w Closed Loop Brushless DC Spindle Motor that drives the spindle with a belt.
Polarity just needs to be reversed either by physical wiring or some Mach3 settings need to be corrected.

Backup the current Mach3mill.xml (or other profile) and try to restore a past version of Mach3mill.xml.
If not please upload your current xml file to forum for others to analyze and help correct.
Title: Re: KX1 spindle direction problem
Post by: wmgeorge on March 07, 2019, 07:24:28 PM
Seig KX1 has a DC 500w Closed Loop Brushless DC Spindle Motor that drives the spindle with a belt.
Polarity just needs to be reversed either by physical wiring or some Mach3 settings need to be corrected.

Backup the current Mach3mill.xml (or other profile) and try to restore a past version of Mach3mill.xml.
If not please upload your current xml file to forum for others to analyze and help correct.
  Amazing what can be learned from someone who knows!! Is the spindle reversible, as in the gcode??
  Well according to this it only runs in the CW direction PDF manual >> http://images.harborfreight.com/manuals/66000-66999/66051.pdf

    Seems like the poster needs to find out more about his machine? If its not reversible its nothing in the setup file or gcode, so it must be the wiring.
Title: Re: KX1 spindle direction problem
Post by: JimG on March 08, 2019, 01:05:43 PM
I've just had a dig around on the  old support forum for the KX1/3 and in one of the threads there is mention of a direction pin for the spindle motor.  Unfortunately the FAQ section of the web site is not available and that did hold the actual pinout diagrams.  So if your KX1 uses the parallel port interface,  I would check your pin outputs to see if the the direction pin is working.  It could be oxidisation of the contact in the socket and it might be worth while putting some switch cleaner on the plug and socket contacts and doing a bit of vigorous plugging and unplugging to try clean them.   If I get a chance I'll see if I can put a port monitor on my KX1 and see which pin changes with spindle reversal.

Jim.
Title: Re: KX1 spindle direction problem
Post by: reuelt on March 08, 2019, 06:47:14 PM
Direction pin for the Spindle of KX1 is PIN# 16 (see attached). Pin 14 pulse controls the spindle speed.
M3 and M4 should work.
Check whether pin 16 is working or not. Also check the physical relay.
Title: Re: KX1 spindle direction problem
Post by: engineering on March 08, 2019, 08:09:15 PM
how can i get a kx1 profile, before this I using the profile my machine work normally.
Title: Re: KX1 spindle direction problem
Post by: engineering on March 10, 2019, 10:07:08 PM
about M03&M04 i know it. But the problems now is the spindle still rotate to CCW when i input M03. I think its not issue about wiring or motor problems.
Title: Re: KX1 spindle direction problem
Post by: reuelt on March 11, 2019, 03:31:59 AM
Then why not try to tick (DIRlowactive) to pin 16  (output to spindle dir) and see what happens.
Title: Re: KX1 spindle direction problem
Post by: reuelt on March 11, 2019, 03:49:58 AM
FYI
Forum Member kf2qd set his KX3 this way:

Spindle Axis - Enabled - Green Check, Step Pin# - 14, Dir Pin# -16, Dir LowActive - Red X, Step Low Active - Green Check, Step Port - 1, Dir Port - 1

Under the Spindle Setup tab -
Under Motor control there is a check in the Use Spindle Motor Output  and Step/Dir Motor, PWM Base Freq is 5 and minimum PWM is 0.
Under General Parameters all are 1.