PDA

View Full Version : Current Reduction, HobbyCNC - Mach3



gacrwell
12-20-2007, 12:43 AM
MODIFYING THE HOBBY CNCPro DRIVER BOARD TO USE MACH3 CURRENT CONTROL

Before I can suggest anyone try this modification, conscience requires me to fully explain the background and logic behind it. I will try to make it as non-technical as possible, and I apologize in advance for its length. Or, you can skip the whole thing and go straight to the mod instructions at the end; short story: It works. It's worth it.

The circuit background:
The Hobby CNC Pro driver board (hereafter HCNCP) uses a timing circuit that activates when it receives a step pulse. When activated, this circuit stays active for ten seconds. While active, it turns off the driver chip sync function, and holds the driver current at a high level. This is the normal 'step activity' state. If there is no step activity for ten seconds, the circuit 'times out', which turns on the sync function (reducing noise), and reduces the driver current (reducing heat). Each axis of the HCNCP has its own timer circuit which operates independently for that axis only.
This timer circuit is taken from the Allegro data sheet for the SLA7078 driver chip. In that data sheet, the circuit's use was intended for the sync function only, not the combination of sync-current reduction. Also, the time setting of this circuit was suggested to be something just longer than the average time between step pulses; something like a few tenths of a second (or less), rather than ten seconds.

The problem:
So, why is the HCNCP's timer set for ten seconds? I suspect the reason for that is because the timer-sync function has been bundled with the current reduction function. Remember, the timers for each axis are independent, so, if there is no activity on one axis, it could go to reduced current while another axis is in motion. Due to a total lack of experience in such matters, I can't say for certain, but it seems to me that you would always want all axes at full current while any are in motion. And, I believe this is the reason for the '10-second' timer on the HCNCP: If any one axis is idle for ten seconds, it's likely that all cutting and motion has ceased, and it is OK to reduce the current.

That's probably a pretty good assumption, so why is it a problem? Well, the issue is, that it is the step pulse that triggers the timer, turning off the sync and restoring full current. That step pulse also goes directly to the driver chip, which immediately starts the commanded step, and that action doesn't wait for the timer/sync/current functions to return to a normal operating state.

So, what happens is, you have an axis that functions normally most of the time, but when it has been idle for ten seconds, it stalls when attempting to begin motion again. This apparently happens because the current ruduction or sync functions have not really turned off when the step action starts. The common suggestion is to "reduce the acceleration" or "reduce the step rate", which is an attempt to slow down the initial motion to allow the circuit to 'catch up'. Apparently this is inadequate in some situations, or the driver software doesn't support it; regardless, it's what's technically known as a 'kludge'.

The difficulty in diagnosing this problem is that it manifests itself differently on different systems; and all systems are different: Different motors, screws, nuts, lubrication, cables, masses, voltages, currents, etc. Some will never see an issue, while for others it appears to be a persistent problem. In testing on my own system, it's pretty easy to set up a step rate and acceleration that will jog reliably when there are no delays between jogs, but which will nearly always stall when attempting to jog after a 10 second idle time. This can be nearly always fixed by reducing the acceleration, or, by disabling the current reduction (placing J4). Since the problem is fixed by disabling the current reduction, we can be pretty sure that sync is not a part of the stalling problem (disabling current reduction does not affect the sync function). The question is though, why, should I have to live with reduced acceleration all of the time to accomodate this single problem case, or, why should I have to forego the temperature reduction advantage of a reduced current control to get back that acceleration?


The solution:
Briefly, the object is to eliminate the timer circuit on the HCNCP, and control the current and sync function directly with the current reduction control built into the driver software. Mach3 has an optional current reduction output - I have no idea about other driver software.

On Mach3, if you assign the current reduction fuction to an output pin, it will command high current before any step activity takes place, will remain at high current when step activity is taking place on any axis, and will switch to low current only when step activity has ceased on all axes. There is also no reason why sync couldn't be combined to operate off of the same control.

There is zero information on this control in the Mach3 documentation that I have found. I asked about it once on the Mach3 forum and got no response. The above description is the way I assume it works, based upon setting it up and observing it's action with an oscilloscope. I could be wrong.

What this means: If you use the Mach3 current reduction output to control the HCNCP, there will be no ten-second delay before low current and sync are activated; they will activate when there is no step activity for some period (short and unspecified, but observed to be no more than a few hundred milliseconds). Since there is no ten second wait, and it will switch to low current even for short pauses, this probably means lower temperatures and less noise overall. The difference is that all axes must operate in concert - all will go to low current/sync only when none are active. When step activity begins on any axis, all will go to full current, before the step activity begins. Which, I believe, is exactly the type of operation you really want.


HCNCP hardware modification for Mach3 current control:
Tools/materials required:

fine-tip soldering iron, solder
fine-tip diagonal cutters
fine-tip needle nose pliers, or tweezers
wire strippers
small hook-up wire, ~12 inches (solid, 28-30 guage wire-wrip wire would work best)No modifications are made to the printed circuit board itself. The modification is reversible simply by removing any added wires, and replacing the removed components.

The modification may be applied to a single axis at a time. Try it on one, and if that works, it can be added to the remaining axes.

Got all that? Ready? Confident? Here's how to do the mod:
Remember you can mod and test one axis only, or all at once, your choice.

For the X-axis, remove R9 (100K), C15 (100uF), and Q1 (BS250P)
For the Y-axis, remove R10 (100K), C16 (100uF), and Q3 (BS250P)
For the Z-axis, remove R11 (100K), C17 (100uF), and Q5 (BS250P)
For the A-axis, remove R12 (100K), C18 (100uF), and Q7 (BS250P)
If you are building a new board, the mod is simple, just don't install the indicated components. On an assembled board, you have to remove those components, but it's not very hard. If you want to be extra careful, you can unsolder and remove the components without damage, but it's hardly worth the trouble; they are common, inexpensive components that are easily replaced. The resistor and transistor can just be clipped out using small diagonal wire cutters. The capacitor is likely sitting flush with the board without the leads exposed, so it will probably have to be unsoldered - you can alternately heat one leg at a time from the bottom and 'rock' it out a little bit each time.
Now, for each axis, run a wire from the '+' hole of the removed capacitor location, to the #1 input location (near the parallel port connector, just above where it says "no pullups"). You could run these wires on the top or bottom of the board; I chose the top so it would be easier to insure I had the correct locations. You could also 'daisy-chain' one wire from cap-to-cap-to-cap-to-cap-to-#1, but using four separate wires is just as easy. No particular routing of the wires is necessary; you'll note from the pictures that I threaded them through the legs of other components to keep them dressed against the board.
That's it!If you are not confident to make this modification yourself, or, don't have the tools to do so, I'd be happy to install it for anyone that wants to give it a try. No charge, just pay the shipping here and back.


Configuring the Mach3 software:

from the main menu, select config\ports & pins
select output signals tab
scroll down to Current Hi/Low
column 1, click to get green 'enable' check
column 2, set to port #1 (or whatever port you're using)
column 3, set to pin #1
column 4, click to get green 'active low' check
Apply, OK, close, whateverThe pics:

removed components and added wire. this is the Z-axis; the others are very similar.
all of the wires go to pin 1.
Mach3 output configuration screen
my current arrangement reduces the cutting area somewhat.

bp092
12-20-2007, 06:41 AM
is that a work bench or a joe cnc?

joecnc2006
12-20-2007, 09:28 AM
very good info, will be interesting to see the machine running it, and see your final results on the mod.

Joe

gacrwell
12-20-2007, 12:13 PM
Looking through the HCNCP instructions and the Allegro SLA7078 data sheets I noticed something curious: There are additional step modes available that aren't mentioned in the HCNCP instructions.

Those instructions list the following positions for the step mode jumpers J1, J2, J3: (J4 is the unrelated current reduction disable jumper)

Full Step: ON, ON, OFF
Half Step: ON, OFF, OFF
1/4 Step: OFF, ON, ON
1/8 Step: OFF, ON, OFF
1/16 Step: OFF, OFF, ONThe other obvious combination of OFF, OFF, OFF; puts the drivers in Sleep mode, with no lockup current. A few users get worried when they first power-on their boards and don't get lockup; later finding out that at least one jumper is necessary to avoid the sleep mode.

The Full and Half step modes selected by the jumper combinations above are called 'Mode F' in the data sheet. There are alternate selections for what is called 'Mode 8':

Full Step: ON, OFF, OFF (Mode 8)
Half Step: ON, OFF, ON (Mode 8)I'm not entirely clear on the difference between the modes. It appears that Mode F, provides 100% current all the time, while Mode 8 modulates the current to better balance it during a step. What I've read elsewhere indicates that Mode F gives maximum torque, while Mode 8 gives smoother operation. I suspect the difference would be imperceptable or nearly so, depending upon your system. Maybe worth a try though.

Gary

DeWalt58
12-20-2007, 02:00 PM
Great work Gary!!! I really didn't noticed the problem till I switched to the 1/2-8 (2 start) acme, but its there for sure and like you say turning down accel does reduce the problem but its still there, just a smaller hic-up. I'll do the mod for sure. Glad you investagated this problem, thanks!!!!!

Cheers
dewalt58

BobF
12-20-2007, 02:28 PM
Thanks for the extremely detailed info Gary.
I am one of the ones who had problems initially. Your threads in particular led me to try turning off the HCNC current reduction (J4) and this solved the startup issues.
I will try this mod next time I get the solder station out.

pminmo
12-20-2007, 04:38 PM
Allegro doesn't write the clearest data sheets in some aspects....I believe the difference between mode 8 and mode F is phase currents. Allegro runs full step at phase equal current angles, 45 degrees as example. So mode F has each phase at 45 degrees at 100% phase current and mode 8 has each phase at 70.7% phase current. They also change the off time between the two modes.

An automatic current reduction isn't necessarily a good thing and it depends on the circuit of the driver. As for the 7078, the data sheet says that if the refence input value is changed, there needs to be a 100us delay between the time it changed and a clock pulse. So internally the 7078 must have an analog response time based on that 100us figure.

Adamj12b
12-27-2007, 08:45 PM
Thanks for the great work! I just got my 4 axis board and did this to it while building it. -Adam

gacrwell
12-28-2007, 01:58 AM
What, you mean it works? I was just joking...

Gary

BobF
01-23-2008, 09:49 PM
I must admit I never did try this. Things are working reasonably well now and I have not taken the time to open up the controller and get out the soldering station.
Did anyone else try this? How's it working?

Paulds
02-29-2008, 05:19 PM
I had bought and extra hobby cnc boarda while back as a back up for my router cnc project that i am doing and just did the mod on that board will try it tonight or next week and leave feedback thanks for the great info. I have seen this problem on my other non modded board sometimes it seem like it just stalled, but the info here explains why this is happening.
Thanks a lot for the GREAT INFO.

Paul

CNCDevil
03-01-2008, 12:35 PM
The problem:
So, why is the HCNCP's timer set for ten seconds? I suspect the reason for that is because the timer-sync function has been bundled with the current reduction function. Remember, the timers for each axis are independent, so, if there is no activity on one axis, it could go to reduced current while another axis is in motion. Due to a total lack of experience in such matters, I can't say for certain, but it seems to me that you would always want all axes at full current while any are in motion. And, I believe this is the reason for the '10-second' timer on the HCNCP: If any one axis is idle for ten seconds, it's likely that all cutting and motion has ceased, and it is OK to reduce the current.



Interesting thread. I have always assumed that the independable current reduction on each axis was particularly meant to be smart when making a 2-d job, where e.g. the z-axis could be idle for several minutes at a time.

It's a while since this thread was written, so it would be interesting to hear if anybody did try out this mod?


CNCDevil

erniebro
03-27-2008, 09:38 PM
I made the modifications outlined above to my controller board and I want to report that it works great. I just built a Joe 4x4 hybrid mill and have been running it for a couple of weeks. I tried running with and without the jumpers in the j4 position and the motors stayed noticeably cooler with the jumpers removed- ie. when letting Mach3 power down the motors. I haven't noticed any missed steps.

Thanks for the great write up and solution!

Here is a picture of how I routed the jumper wires using the existing through holes to facilitate the soldering.

Paulds
10-22-2008, 12:34 AM
:)I also have made this mod and found it to work as described (very good)
Thanks a lot for the info on this mod and the research also the posts from others on this mod.

Thanks Paulds

joecnc2006
10-22-2008, 12:54 AM
:)I also have made this mod and found it to work as described (very good)
Thanks a lot for the info on this mod and the research also the posts from others on this mod.

Thanks Paulds

Thats great, I think we have 4 people now who are running the CNC 4x4 Hybrid with it and works well.

Joe

gacrwell
10-27-2008, 08:08 PM
I'm really glad to hear that this has worked out for people. Ironically, other than the initial testing, I haven't been able to use it myself. I injured my shoulder almost a year ago, doing the final assembly of my Joe's, and I haven't gotten over that yet.. perhaps looking at rotator cuff surgery. The Joe's sits unfinished.

I thought I should add the following comments though. First, I have attached a schematic that shows the changes described, just so you can get a better idea of what's happening with the mod. The 'X's are the removed components, and the heavy lines are the added wires.

Second, this schematic shows an added 10K resistor as a pull-up on the input pin. If your mod is working, I wouldn't worry about it, but some parallel ports might need a pull-up there. That resistor can be placed from TP1 to any nearby +5V point, or anywere else that effectively makes that connection. A handy place would be accross the Drain and Source pins on any of the removed transistors - those would be the outer two pins of the three-pin transistor pattern. I'll add a pic when I get around to doing this with mine.

Finally, I completely endorse erniebro's alternate routing of the jumper wires; that neatens things up a bit.

Gary
http://www.linkedin.com/in/garycrowellsr

imprez55
10-28-2008, 11:40 PM
I am looking over pictures of the EZ driver board and your schematics for the pro version and notice the only meaningful (as far as I can tell) difference is the Schmitt triggering of the 74HC14. Since you have an oscilloscope and the board there in front of you, could you tell me if the Schmitt trigger is truly necessary?
It probably is, and that is why it is added, but even if not it seems as simple as adding a Schmitt trigger to the EZ driver board and run a 10K pullup resistor between the two and then out to pin 17 on the SLA7078M. Then the two would be functionally identical (except for the obvious 4th axis).
If it seems my logic has gone awry please let me know, its just a thought to add increased functionality when only 3 axises are needed.

gacrwell
10-29-2008, 08:57 PM
I am looking over pictures of the EZ driver board and your schematics for the pro version and notice the only meaningful (as far as I can tell) difference is the Schmitt triggering of the 74HC14. Since you have an oscilloscope and the board there in front of you, could you tell me if the Schmitt trigger is truly necessary?
It probably is, and that is why it is added, but even if not it seems as simple as adding a Schmitt trigger to the EZ driver board and run a 10K pullup resistor between the two and then out to pin 17 on the SLA7078M. Then the two would be functionally identical (except for the obvious 4th axis).
If it seems my logic has gone awry please let me know, its just a thought to add increased functionality when only 3 axises are needed.

Though I haven't seen one, I've glanced at the EZ pics too. Unfortunately the key bits that would be missing would be the FET transistors that switch on the current reduction (Q2, Q4, Q6, Q8). Pin 17 on the drivers only controls the sync. Pin 13 controls the current.

However, current control could be added to the EZ; it would only take about a dollars worth of components and a small breadboard like they sell at Radio Shack. Remove three resistors from the EZ and wire into it at four points plus the power. I've included a schematic. It would not be terribly difficult to do, but it would require wiring up the transistors and resistors on the breadboard - it would depend on the user's comfort level with such things.

Note that since the 74hc14 inverter is not in the circuit, the level of the pin 1 control in Mach3 would have to be set opposite to what it was for the other mod.

Note also, that since I've never seen an EZ in person, I can't guarantee details of the schematic such as reference designators, but the circuit itself is pretty much a slam dunk - there's just no other way to connect it.

Now, this wouldn't control the sync. Pins 17 on all the drivers are grounded on the EZ. So to do sync, traces would have to be cut to remove those ground connections. I don't know how easy that would be to do on the board. But sync isn't supposed to be used in microstepping modes anyway. (If one did want the sync, all pins 17 would just be separated from ground, and tied together and connected to P2 pin 1.)

Gary

rlwoodjr
04-27-2009, 07:13 PM
Do you follow the same procedure for setting the current?

Also, just to be clear for those who are not using Mach software. If pin 1 is low, then you are in power reduction mode.... or when pin 1 is high you are in reduction mode?

whmeade10
05-14-2009, 11:29 PM
Does it matter weather U8 and U9 are left on or taken off the board?

In post #1 they are on and in the picture on post #13 they are off.

BOBINETTE
06-22-2009, 01:45 AM
Hi, I'm one of those that have this board and having some trouble and after reading this tread I think that this modification can help me. In the post #16 you have inserted a file( HobbyCNC PRO-M3 Schematic.pdf‎ ) and it is mention that for the modification someone should add a 10K pullup resistor, but where to put this resistor is not mention. Maybe a stupid question for someone who knows where he his going in electronics, but for me, it's a big question.
Thank you
When you first mention this modification you mention that it goes from cap to cap to cap and finaly to pin 1, but inthe post #13 erniebro shows another way of doing this, witch one should I take

rlwoodjr
06-30-2009, 08:47 PM
Hi, I'm one of those that have this board and having some trouble and after reading this tread I think that this modification can help me. In the post #16 you have inserted a file( HobbyCNC PRO-M3 Schematic.pdf‎ ) and it is mention that for the modification someone should add a 10K pullup resistor, but where to put this resistor is not mention. Maybe a stupid question for someone who knows where he his going in electronics, but for me, it's a big question.
Thank you
When you first mention this modification you mention that it goes from cap to cap to cap and finaly to pin 1, but inthe post #13 erniebro shows another way of doing this, witch one should I take

I went the 'daisy chain from cap to cap' route. I did not use the 10k, but I might add it later.

from post #16 he states: A handy place would be accross the Drain and Source pins on any of the removed transistors

m1911bldr
08-27-2009, 03:54 AM
I swapped the J4 jumpers for a 4-pole single throw switch. Gives me external access to the J4 header and I simply turn current reduction "Off" (jumpers installed, sw closed) when running a project. I've been using this about 4 hours a day for the past month and there is NEVER a missed step anymore. The boards don't react with any peculiar jumps, starts or fits when switching the reduciton mode on and off and you don't have to do any desoldering or reconfiguring.

jalessi
08-27-2009, 04:28 AM
m1911bldr,

That's a simple fix.

Jeff...

ianober
04-29-2010, 04:41 PM
I am a little confused. After reading this thread I know it applies to the Pro Board. I have the EZ board and I want to do this mod but after reading post #18 it makes me think that this mod cannot be done to the EZ board? Is this the case? I would love to have Mach3 control my idle current, otherwise I am just going to have to disable it and run the motors hot.

I have attached a pic of the EZ board and all the same components listed in the removal are there so I would think this mod can be done for it too.

mlk1950
01-12-2011, 03:13 PM
Well, I did your mod to my pro board Gary and it works great. Nice Job. Good thing for beginners like me that there are smart people like you to come up with solutions like this. Couldn't find any 28 or 30 gauge in my area so I had to go with 24 gauge. But it works like a charm. No more stalling or missed steps. I'll post some pics of my machine and the board today sometime.

Thanks alot, Mike

mlk1950
01-12-2011, 05:56 PM
Here are some pics of my machine and the driver board after the mods. Just click on them to enlarge.

Mike

mlk1950
01-12-2011, 07:12 PM
I am a little confused. After reading this thread I know it applies to the Pro Board. I have the EZ board and I want to do this mod but after reading post #18 it makes me think that this mod cannot be done to the EZ board? Is this the case? I would love to have Mach3 control my idle current, otherwise I am just going to have to disable it and run the motors hot.

I have attached a pic of the EZ board and all the same components listed in the removal are there so I would think this mod can be done for it too.


I'm no expert, but I don't see why it wouldn't work on yours as well. As far as I can tell your board just doesn't have the A-axis on it. I could be wrong though.

Mike

Rene2.5RS
01-14-2011, 03:27 PM
I swapped the J4 jumpers for a 4-pole single throw switch. Gives me external access to the J4 header and I simply turn current reduction "Off" (jumpers installed, sw closed) when running a project. I've been using this about 4 hours a day for the past month and there is NEVER a missed step anymore. The boards don't react with any peculiar jumps, starts or fits when switching the reduciton mode on and off and you don't have to do any desoldering or reconfiguring.

Possible to get pictures?

crane550
02-13-2011, 10:36 AM
I am a little confused. After reading this thread I know it applies to the Pro Board. I have the EZ board and I want to do this mod but after reading post #18 it makes me think that this mod cannot be done to the EZ board? Is this the case? I would love to have Mach3 control my idle current, otherwise I am just going to have to disable it and run the motors hot.

I have attached a pic of the EZ board and all the same components listed in the removal are there so I would think this mod can be done for it too.

This mod is not needed as the EZ board does not have idle current reduction to begin with. :)

robodx
01-14-2012, 10:28 PM
Thanks Gary. This thread combined with this (http://www.cnczone.com/forums/redirect-to/?redirect=http%3A%2F%2Fwiki.linuxcnc.org%2Femcinfo.pl%3FHobbyCNC) answered my questions about this issue. I was able to disable sync on the y axis only and now it is working great. The problem only came up for me when I changed from a lead screw to a chain drive. It probably doesn't manifest unless there is a hearty current demand.

marc

flakey
02-06-2012, 04:00 AM
[QUOTE=erniebro;431389]I made the modifications outlined above to my controller board and I want to report that it works great. I just built a Joe 4x4 hybrid mill and have been running it for a couple of weeks. I tried running with and without the jumpers in the j4 position and the motors stayed noticeably cooler with the jumpers removed- ie. when letting Mach3 power down the motors. I haven't noticed any missed steps.

Thanks for the great write up and solution!

Here is a picture of how I routed the jumper wires using the existing through holes to facilitate the soldering.

Iuse1/4 micro stepping on my board.Which jumpers to use with this mod.?I have j2 and j3 on j4 is off Iget this rough noise and cannot pin point where it is coming from.Reply soon

James Marshall
02-06-2012, 11:37 AM
Thanks for the info. My machine has gone from cutting at 30 to 50 IPM! Wow, what a difference! I'm hoping this set up will work on my Joes 4 x 4. Thanks, James.

signpro
02-07-2012, 08:21 PM
Newbie here. I just got my Joe's cnc up and running this past weekend and I "think" that I'm having issues with skipped steps due to the current reduction. HCNC Pro Board, 305oz steppers, Mach3.

Am I understanding this correctly?.... when the current is reduced to the motors after 10 seconds, they may skip steps when starting back up? For example - when I run test cuts of milled out 3" squares at .125" deep in a piece of mdf, they end up getting deeper and deeper on me as it it goes from one to the next. I've been cutting very, very slowly, so it takes about 15-20 seconds to cut each one. I have slowed down the system to a crawl because I thought that the speed was causing the issue. Any help would be appreciated!

James Marshall
02-08-2012, 02:19 PM
If you have not done the conversion as described, you should. Let Mach do the current reduction. You won't be happier. My machine runs so much better. Whats your name on Joes form? Going deeper may be in the programming our due to lost steps. Do the conversion, check your programming and try again. James.

James Marshall
02-08-2012, 04:51 PM
If you have not done the conversion as described, you should. Let Mach do the current reduction. You won't be happier. My machine runs so much better. Whats your name on Joes form? Going deeper may be in the programming our due to lost steps. Do the conversion, check your programming and try again. James.

atwooddon
02-08-2012, 06:36 PM
SignPro

I believe there is a jumper (J4?)on the HCNC boards that enables or disables current reduction. If I am correct, just pull the jumper and run your job again to see if the missed steps go away. If they do, then the current reduction modification would help you. If your missed steps don't go away, current reduction is not your problem but could be a problem in future jobs.

Don

James Marshall
02-09-2012, 01:18 AM
From what I see on my machine you need to do the complete conversion. I ran mine with the current reduction off and it still did not operate as smoothly as it does now. Current reduction is one thing, but getting rid of the "syncing" that it does makes my machine runn completely better and different. Hobby CNC says the cant reproduce or predict problems with different configurations of cnc, computer, software. This seems to work for everyone that has tried it. Good luck.

j2sip
02-27-2012, 07:20 PM
Hi newbie here,

I just ordered HCNC pro 4 axis but it wont be here until mid-april. Will this mod work on new boards?

Thanks

Jordan

Fastest1
02-09-2013, 04:50 PM
If you do the mod, do you retain or need to keep the jumper on J4? I am suspecting it is obsolete after the mod. I find when running an extruder head. I cant get the stepper out of sleep for quite a bit. It would be ok to start a print after it was out of sleep mode but 10 seconds would require some speedy decisions. I am going to do this mod to the A axis for sure, the others give me no issues.

Johnsinski
10-28-2013, 12:07 AM
Just getting around to building my CNC. I have been playing with the X-axis and found some odd behavior.

One problem was starting the axis movement after sitting more than 10 seconds, even thought J4 was on (current reduction disabled).

Second problem was erratic stepper motion at very slow speeds, like .1 mm/s or lower. I think this is due to the "sync" modes changing.

I'm hoping to do this mod and fix the problem. If I don't want the computer to control it (pin 1) where could I connect the wire to on the board (or a manual switch)?

Otherwise the x-axis is working very good at normal and high speeds.

Thanks for the tip.

Fastest1
10-28-2013, 08:33 AM
Try a longer pulse.

Johnsinski
10-29-2013, 02:00 AM
This mod seems to have fixed my erratic stepper behavior at super slow speeds and startups. Also LinuxCNC does have options to control pin 1 so that works from software too.

This was bugging me, thanks for the thread.

samc99us
02-17-2014, 12:41 PM
Johnsinski,

Can you give me the detailed steps on controlling pin 1 from LinuxCNC? I'm pretty tempted to bypass the software and just go to ground from the 10K resistor instead of Pin1 to disable the idle current issues. I'm definitely still loosing tiny steps during the first 10 seconds of milling.

Thanks,
Sam

Johnsinski
02-17-2014, 01:41 PM
I don't have the machine in front of me, I'll get a picture later today. But you can set the pin1 high or low from the machine setup program (stepconfig?) I think it's on the page with all the step and direction pinouts. It might be possible to control from inside the gcode as well, haven't had a need to do that. Not losing any steps, no delays, runs very slow to very fast, like 400 IPM fast! Not reliably, I have it set to a max of about 100 IPM, totally reliable.

- Edit --

It's on the parallel port setup page. I soldered mine to the pin 1 on the Hobby Pro. Then set the very first pin, pin1 to digital out 1, and check the invert box. That seemed to work for me.

samc99us
02-19-2014, 09:44 AM
All,

This mod saved my HobbyCNC Pro Driver Board from imminent departure by way of the local landfill. I was completely tired of lost steps and funny hissing noises from two completely separate sets of NEMA23 motors.

Thanks John!

I set mine up the following way:

Set "Amplifier Enable" to Pin1 in the StepConfig of LinuxCNC. This enables idle current reduction when the machine is in stop mode (orange power button depressed in LinuxCNC) and disables idle current reduction when the machine is commanded active from LinuxCNC. Works like a charm.

BjornskiNL
12-29-2014, 03:21 PM
I just read this tread and as I am in the stage of building my own cnc with the hobbyCncPro board I am verry happy to receive this information. My words of thank you from the other side of the world ;)