Hello Guest it is March 28, 2024, 12:07:24 PM

Author Topic: mach don't control the spindle switch  (Read 11877 times)

0 Members and 1 Guest are viewing this topic.

mach don't control the spindle switch
« on: March 26, 2008, 11:18:07 AM »
u can see the setings atached.

i tried a lpt tester program and the switch works on pin 8 so the problem is with the mach setings.

also tried lots of diffrent setings , i installed a diffrent version of mach.. nothing happens.

 ???

in the "diagnostics" tab the "output 1" is blinking red when i input "m3" command.



Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: mach don't control the spindle switch
« Reply #1 on: March 26, 2008, 12:47:53 PM »
What have you got in your motor tuning for the spindle?
Have you tested at the pin on the port with a volmeter?
What happens when you M4 in MDI?

Hood
Re: mach don't control the spindle switch
« Reply #2 on: March 26, 2008, 01:47:38 PM »
1 i have nothing at the motor tuning for spindle, didn't realize i should change something there, i only want to switch the relay on/off

2 i tested with the voltmeter, it get 2.7 volts always m3/m4/m5 changes nothing.

3 nothing is happening.

the relay only switches with the lpt program.

another thing i just found, when running a gcode program (generated with sheetcam) it switches 2-3 times/second.

u told another guy on the forum to use a macro for switching a weldinng machine on/off... this is kind of the same thing..

tx for your patience.
Re: mach don't control the spindle switch
« Reply #3 on: March 26, 2008, 02:13:53 PM »
Looks like you are using Relays and Step/Direction Motor Control.
I don't believe you use Relays with Step/Dir.
RC
« Last Edit: March 26, 2008, 02:19:49 PM by Overloaded »
Re: mach don't control the spindle switch
« Reply #4 on: March 26, 2008, 02:21:51 PM »
the guy who made the driver board gave me the setings.. and 5-6 hours of online support .. but we couldn't switch the relay.. :(

 >:(

 i will try and disable the motor control tomorow and see what happens but i'm pretty sure i've done that at some point

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: mach don't control the spindle switch
« Reply #5 on: March 26, 2008, 04:26:33 PM »
As RC says you have your relay connected but also you are using step and direction, If you are using step/Dir then it is treated just like an axis, ie you dont need relays.
What kind of spindle motor do you have, is it a servo/stepper?

Hood
Re: mach don't control the spindle switch
« Reply #6 on: March 27, 2008, 06:24:28 AM »
i'm not using a spindle , i try to control the plasma torch on/off with that relay.

i tried with the motor controll unchecked and the spindle relays on.. nothing happens, tried the other way too.. relays off and motor control on still nothing.

if i leave the lpt tester program in background when runing a gcode in mach , the relay is switching on/off 2 times/sec but nothin with m3,m4 or m5 or the torch on/off button .


i installed a new version of mach.. still nothing.

 

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: mach don't control the spindle switch
« Reply #7 on: March 27, 2008, 08:18:39 AM »
Attach your xml file and we can have a look and see if we can figure out the problem.
 Hood
Re: mach don't control the spindle switch
« Reply #8 on: March 27, 2008, 09:04:37 AM »
i tried with a diffrent cnc program an it controls the switch ... but i like mach3 and allready bought a license

here's the xml
Re: mach don't control the spindle switch
« Reply #9 on: March 27, 2008, 09:10:04 AM »
Your XML says "Demo Version".
Is your lic. file in your Mach3 folder?
May make a difference ? ? ?
RC