Hello Guest it is March 28, 2024, 12:36:20 PM

Author Topic: Mach3 configuration for EmcoF1 mill  (Read 2937 times)

0 Members and 1 Guest are viewing this topic.

Mach3 configuration for EmcoF1 mill
« on: March 30, 2018, 10:35:48 AM »
Just assembled everything, and went on to try out the Mach3 as a running software. But, there are some hiccups.

I am using a ST-V2 bob, M542T drivers and some compatible motors. Also, I left the stock DC main spindle motor on it, and got a digital HX-SXPWM-A Pulse-Width DC motor speed controller from eBay. Bob is powered by independent 24V power supply.
Everything seems to be connected properly, I used shielded cables for driver/stepper connecting, but there is a problem...
Steppers are running as they should (configured ports and pins, and tuned them not to stall etc), but when I try to run the main spindle motor, its either not responding (depending on how do I check or un-check the active low setting) or its responding, but I get some movement on Z axis too (stepper movement is minimal, and spindle motor sounds really bad). If I change a setting for output signal, spindle motor works fine, but then I loose the stepper movement in any direction.
What could be the cause of this?
Thanks
Re: Mach3 configuration for EmcoF1 mill
« Reply #1 on: March 30, 2018, 11:45:40 AM »
here are xml files (I hope Mach3 saved them) - 4 different scenarios - name of the file gives the description on whats happening

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3 configuration for EmcoF1 mill
« Reply #2 on: March 31, 2018, 05:52:03 AM »
i had a look to your posted profiles.

Looks like in None of them a spindle is configurated.

can you please post some Screen shots of your Setting (ports&pins)

is it this BOB:

https://warp9td.com/images/BOB_Vendors/StepperOnline/ST-V2.pdf

you have ?
« Last Edit: March 31, 2018, 05:56:20 AM by TPS »
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3 configuration for EmcoF1 mill
« Reply #3 on: March 31, 2018, 11:39:47 AM »
Thank you, I will, as soon as I get to the shop, and make them. I have no internet connection there.
Re: Mach3 configuration for EmcoF1 mill
« Reply #4 on: April 02, 2018, 10:57:46 AM »
these setting seemed to work... and yes, thats the board.
« Last Edit: April 02, 2018, 11:10:21 AM by sharpshooterser »
Re: Mach3 configuration for EmcoF1 mill
« Reply #5 on: April 02, 2018, 11:09:42 AM »
and with these (after I moved the power cable of the spindle motor away from the inner 25 pin cable) I got OK results (no lag or interference). but, if I turn on the relay (with active low setting) I get bad response on axes, and barely constant movement on the spindle motor. and I need the relay for changing directions. I lost any idea what settings did I try all these days before (and I failed to write them down as I should)
also, I am clueless how to setup the spindle base freq. and minimum pwm - my motor has max 4000 rpm (and I forgot the teeth number on pulleys)

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3 configuration for EmcoF1 mill
« Reply #6 on: April 03, 2018, 01:59:19 AM »
Hello,
by comparing your settins to the Manual,
i noticed, that the configuration for ENABLE1 and OUTPUT1
are twisted.

ENABLE1 should be pin14
OUTPUT1 should be pin 17

you have it the other way round,
would explain a couple of things.

Thomas
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3 configuration for EmcoF1 mill
« Reply #7 on: April 03, 2018, 02:00:38 AM »
I did try it like in the manual, and that isnt working as it should, thats why I tried the other way around, and got some decent results

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3 configuration for EmcoF1 mill
« Reply #8 on: April 03, 2018, 02:05:12 AM »
you wrote you Need the relay for changing direction of spindle,
but in the Setup you have output1 for CW an CCW, so the
relay will Switch anyway.

in a first step
-i would try to use factory Setting
-set output2 for CW in spindle Setup
-use M4/M5 in MDI to get the relay working first
 
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3 configuration for EmcoF1 mill
« Reply #9 on: April 03, 2018, 02:06:28 AM »
OK, I will try that! Thanks!