Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: MoneyHSK on February 15, 2018, 11:40:16 AM

Title: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 11:40:16 AM
Just purchased this on eBay. I am trying to get the configuration all set up I only have a USB port on the back of the CNC 6040 Z  control box. I can get the spindle spinning but I can't get any of the XY or Z axis to move. Does anybody have any pictures of their pin settings or what I need to do to get the USB to communicate with the machine. I feel that it is communicating a little bit because the spindle is spinning so there has to be some kind of signals going to the mach3 motion card.

Any help would be appreciated thank you
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 15, 2018, 11:44:42 AM
Did it come with a mach3 profile by anychance?

I just googled also and found this page, di dnot look at the videos myslef though... might be something there.

if it is the XHC controller card mentioned on the page though, you can also lookup just how to configure that card with mach3 etc.

https://hl-yeah.com/2017/08/03/chinese-benchtop-commercial-cnc-wood-router-setup/
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 11:59:03 AM
yes, been through that page, watched all the videos, but they do not cover how to set all the communication settings.
most videos I have seen cover the printer port setup but not to many on setting up the usb
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 15, 2018, 01:03:13 PM
If it is the XHC motion card maybe try installing the drivers?
http://www.nvcnc.net/xhc-cnc-controller.html
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 02:18:08 PM
done that
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 02:32:52 PM
the motion card
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 15, 2018, 02:36:39 PM
hi, sorry i don;t understand then what you mean by setting up the usb communication. can you post a screen cap of what settings you are talking about?

when you boot mach 3, can you select the XHC card as the control card?
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 02:58:50 PM
yes it does
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 15, 2018, 03:16:09 PM
do you have theses instructions already?

im pretty sure for this card the step pin/dir pin dont matter, they are hard coded and cant be changed on the card. i used to have one of these cards, or an older version maybem  but it was a while ago.  
http://www.nvcnc.net/MK4/Parameter%20Settings%20for%20MKX%20.pdf

also here is a profile already setup to use this card
http://www.nvcnc.net/MK4/4%20axis%20card%20mk4%20config.rar

both are from this site

http://www.nvcnc.net/xhc-cnc-controller.html
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 04:24:39 PM
yes, I found the same thing, followed the directions and still nothing.

I messed with it now for three days straight and still no axis movement.

my next move is to set it up with my desktop pc instead of my laptop, dunno if that will make a diffrence or not, supposed to be able to use laptops.
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 04:25:38 PM
Thank you very much for the help, it is very appreciated!
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 15, 2018, 04:34:09 PM
ok

another question, when you tell the machine to move, as you said it does not physically, but do the values on the DROs on teh mach3 screen change?

also do you have an oscilloscope?


Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 06:00:32 PM
when I press the arrow keys or turn the wheel on the pendent, yes the values do change, but no movement.

if i type code in, nothing happens, except for m3, spindle will turn on and off and i can change the rpm

no scope
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 15, 2018, 06:09:51 PM
ok what about a voltmeter/multimeter?

i try to find a way to get you to test if pulses are actually coming out of the control card to the stepper drivers...

maybe someone on this forum knows a way to measure with simpler tools...
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 15, 2018, 06:19:29 PM
yes, got me one of those

I was considering the same thing, just didn't want to fry anything with the wrong settings

been there done that, lol
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 15, 2018, 06:39:23 PM
Well you should be able to measure around 5v and 0V on the DIR pins depending on which way the axis is moving. So X axis DIR pin will be high in one direction and low in the other.

THe pulse pins i imagine will be 0 or 5V when not moving then on a multi meter, it will effectively average the pulse levels, so it might be ~ 2.5V when moving. Or it might dance around when moving, it could depend on the meter exactly, but the point is you should see a difference in measurement between stopped and moving.

If that is a go then next step i would measure the power supply to the stepper drivers them selves. Probably it is 24 V DC on this machine, but look for the power supply it will say on it i would bet.



Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: TPS on February 16, 2018, 02:38:48 AM
yes it does

if i look at the screenshot of this reply
step pin is 1 for all axis. that cannot be ok.

Manual says it it 2,4,6,8     X,Y,Z,A
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 16, 2018, 02:56:47 AM
i dont think it matters with this card what the pin settings are for each axis bc they have dedicated pins on the card. see page 3

http://www.nvcnc.net/MK4/Parameter%20Settings%20for%20MKX%20.pdf

worth trying though if nothing else is working :)
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: TPS on February 16, 2018, 03:00:44 AM
i dont think it matters with this card what the pin settings are for each axis bc they have dedicated pins on the card. see page 3

i never trust this chinese stuff
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 16, 2018, 03:06:10 AM
fair,  i used to have this card though, i could be wrong but i remember not having to config the pins. it could be a problem though if you set them all to the same pin, who knows.
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: joeaverage on February 16, 2018, 03:12:21 AM
Hi fredeflint,
you used to have this board....did you ever get it to work properly? 'Use to have' sounds like past tense, do you not have it any more?

Craig
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: TPS on February 16, 2018, 03:22:15 AM
back to the actually Problem,
sounds like a wiring Problem.

do you probably have a sketch ?
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 16, 2018, 09:59:29 AM
Hi fredeflint,
you used to have this board....did you ever get it to work properly? 'Use to have' sounds like past tense, do you not have it any more?

Craig

yes the issue with this card for me is that g31 seems not to be implemented properly and does not work reliably. the card was able to move the steppers though without issue. the card mostly worked, but since g31 is something i use a lot, i swapped it out.

back to the actually Problem,
sounds like a wiring Problem.

do you probably have a sketch ?

yes another thing i thought of is that if the power supply for the steppers is 220/110v switchable, make sure it is set to 110v if you are in north america etc.
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 16, 2018, 04:29:47 PM
ok, got back to messing with it.

checked voltage coming out of the XHC motion card, voltage looks good.
checked at the stepper control, model m542, getting voltage, but the lights are not lighting up,
and getting nothing on the output side going to the stepper motors.
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 16, 2018, 04:30:55 PM
supposed to be 220v, have a transformer going from 110v to 220v.
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 16, 2018, 04:36:37 PM
a picture
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 16, 2018, 04:49:44 PM
yes so it seems then the issue is possibly that your steppers do not have power. can you locate the power supply and measure off of it if anything is coming out? you could also measure this with a voltmertr at the stepper. i think it is the red and black wires on the green connector to the left in your photo (2 furthest pins to the right)

i also noticed the xhc card in your photo has the power indicator light off, iirc this light comes on to confirm teh external power supply is good. so if that photo was taken with everything on, it also indicates it does not get power.

Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 16, 2018, 06:16:37 PM
Ok, I've got movement! Happy camper, now to find tune.

Now, what did I do? I got pissed off!

When I bought the machine, the seller told me it was a 220v machine and I needed a transformer to go from 110 to 220.

I just unplugged that sumbitch, took my power cable from my PC, and plugged it directly into the wall.

Boom, all the lights come on, and all axis have movement. I did change the power supply to 110v.
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: fredeflint on February 16, 2018, 06:35:43 PM
:) have a good weekend!
Title: Re: ARFcnc 6040 Mach 3 USB configuration help
Post by: MoneyHSK on February 16, 2018, 06:41:55 PM
Thank you so much for the help, and you have a great weekend as well