Hello Guest it is April 26, 2024, 09:19:33 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fredeflint

Pages: « 1 2 3 4 »
11
General Mach Discussion / Re: ARFcnc 6040 Mach 3 USB configuration help
« 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...

12
General Mach Discussion / Re: ARFcnc 6040 Mach 3 USB configuration help
« 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?



13
General Mach Discussion / Re: ARFcnc 6040 Mach 3 USB configuration help
« 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

14
General Mach Discussion / Re: ARFcnc 6040 Mach 3 USB configuration help
« 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?

15
General Mach Discussion / Re: ARFcnc 6040 Mach 3 USB configuration help
« 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

16
General Mach Discussion / Re: ARFcnc 6040 Mach 3 USB configuration help
« 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/

17
General Mach Discussion / Re: Mach 3 outputs and e stop behavior
« on: February 15, 2018, 12:48:02 AM »
tl;dr: i was able to make an acceptable solution using an arduino and a relay shield.




...I'm not sure this is the best solution, it does work in that you can latch the vise to that state it was in when the estop event occurred. Here i tried to make a holder for the a
holder for the arduino to stick on din 25 rail.




I made a video to show the clamp does not move from either state when the estop is pressed. In the test setup m8201 is closing the first vise and m8301 opens it. I hit estop in both states to show it does not affect the position.



The final program was a bit more complicated than i originally thought bc my original idea had some gotchas and was not adequate for every situation.

In the end i used the mach3 outputs (4 of them, 1 for each vise) to send pulse signals to the arduino inputs, a momentarily high pulse toggles the state of the corresponding output relay.  I used 4 outputs on the arduino to signal the relays state back to inputs of the mach3 control card. The signal on these connections is the state of the corresponding relay (ie latched or not).

The open sesame macros check the corresponding mach3 control card input to see if the vise is open or closed. If it is in closed state then a toggle pulse is sent to the corresponding arduino input, if it is already open no pulse is sent. The closed works in a similar manner. This allows me to control 4 vises with 4 output only, not 8 as would have been needed with actual latching relays. But at the cost of 4 inputs on the mach3 control card if you want mach3 to know the sate of the vise. The card has 16 inputs and i use only 5  before this, so not too bad in the end.

Again its a bit of a complicated solution but it seems to work

I also noticed in the modbus section there are many serial modbus firmwares for the arduino, so that might be another way to try to set it up as well which might not require any connections between the arduino and mach3 control card at all.

Anyway, thanks to Russ and others for their input.

s

18
just as  a sanity check,

why not try taking the step and dir signals going to the axis that works (x) and put them on one of the other axis drivers, for example y.

so since you know the x axis step and dir signals are good, when you move x in mach 3, physically the y axis of the machine should move instead. does it move? 

do a similar test for z.

if teh axis DO move at least then you know for sure it is a problem with the signal between mach 3 and the step/dir output pins and NOT a problem with your motors or the connections from the stepper windings to your drivers/your drivers, etc.


i know you said the machine used to work, so it seems the wiring is ok but just double check since sometimes contacts corrode and conduct poorly etc... it doesn't hurt to check.


19
General Mach Discussion / Re: z zero plate problem
« on: February 10, 2018, 01:29:47 PM »
What control card are you using? i found many don't implement G31 properly and i had similar problems to what you describe with the "e cut" usb card and also the "XHc" usb motion controller card. With the XHc card the issue was even related to teh number of times you have called G31 it seems, like the first time would work perfect, then the second one, doing the same thing but not having restarted mach 3, would cause the Z axis to go up until it got to +6mm on the dro every time, or until you hit the probe as it ascends as you said.

20
General Mach Discussion / Re: Mach 3 outputs and e stop behavior
« on: February 10, 2018, 12:13:59 PM »
Russ,

Ah ok, if the video is not working then here is 1 picture i had already taken off my phone last week of the vises, you can't see all 4 in the photo but im sure you can get the idea, just a twin rod cylinder with some blocks added...



cheers

s

Pages: « 1 2 3 4 »