Hello Guest it is April 17, 2024, 10:05:04 PM

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 - Jeff_Birt

511
SmoothStepper USB / Re: Smooth Stepper MDI problem
« on: October 09, 2010, 08:32:30 PM »
I've seen a few problem XMLs that acted quite differently between a SS and LPT. Investigating them with an XML viewer showed no strange things with the the SS configuration but a few odd things on the Mach side. I could never figure out what those particular variables did though. Starting a new XML from scratch solved the problem. Since Hood did not have a problem with your XML it seems unlikely that it would be at fault but it would be easy enough to create a new one to test with.

512
SmoothStepper USB / Re: SmoothStepper died
« on: October 08, 2010, 07:39:59 PM »
Quote
PS: What's the real point of powering the SS from the +5 header and not usb? Is it just for using smoothstepper to power break-out boards that require more than 500mA? Also, as a 2nd side note, under what circumstances would I want to ground it, I thought it was to eliminate ground loops (grounded all of my power supplies at the same point)

The way the SmoothStepper is configured a USB port will only give it 100 ma of current. Some computers can have a tough time supplying the proper amount of current or voltage level to USB devices. This combined with some USB cables that have 28 AWG power leads can lead to problems. I built a custom controller for a company that used two USB devices so it had an internal hub. The current draw of all three devices was only about 250ma or so but it was enough to cause a significant voltage drop across a 6' USB cable that had 28 AWG power leads. A more stout cable solved the issue. As you mentioned another good cause for using an external power supply is when using BOBs that steal power from the SS.

As for your second question first let's clear up that DC Common, (i.e. negative, -), is not the same thing as Earth Ground. DC Common is the common return path for DC circuits. For example, your PC has a power supply that outputs +5V, +12V both of these voltage share the same DC Common (which is typically referred to as 'ground'). If you take a volt meter and measure from DC Common to the 5V output you get 5V, and from DC Common to the 12V output you would see 12V. It is the common current return path for each circuit.

Earth Ground is actually a connection to the Earth outside your home/shop. It's purpose is to increase safety and secondary provide a low impedance path to bleed of noise. It is NOT a current carrying path for your circuits. It is common practice to (earth)ground each sub assembly back to a common point and then to bond that point to your electrical systems (earth)ground. For example a DC power supply typically has an (earth)ground terminal that connects to its case. This (earth)ground connection helps to bleeds off electrical noise that might otherwise be radiated by the power supply but more importantly if insures that the case of the power supply will never go above ground potential and be a shock hazard. You do not want to go around connecting DC Commons to (earth)grounds unless you have a very compelling reason.

A ground loop is created when a voltage difference is created between two devices due to current flowing through a ground connection. For instance if you daisy chain an (earth)ground instead of star grounding it. Many power supplies will have the DC Common bonded to (earth)ground inside of them, if you create separate (earth)ground externally you could potentially create a ground loop by providing a path for DC current to flow through the (earth)ground.

513
SmoothStepper USB / Re: SmoothStepper died
« on: October 08, 2010, 03:05:48 PM »
First thing to try is a new USB cable. Then look in Device Manger under the USB section and see if the SmoothStepper shows up. If it does not then something is likely wrong with the SS. Greg at Warp9 might be able to fix it for you.

When powering a SS with an external power supply you must move the ext power jumper which is located by the power connection terminals. Also, never hook DC Common to ground (the grounding jumper) unless you have a very specific reason for doing so. It is unclear if you used the power supply in your PC to power the SS or a different supply. If it was a different supply please note that PC supplies have a minimum load requirement before they will regulate properly (it is often 10% or more of their rated capacity.) While 5.2V would likely not damage the SS you could of had larger voltage spikes that could not be seen with a regular volt meter.

514
SmoothStepper USB / Re: Problems getting mach3 to talk to smoothstepper
« on: October 08, 2010, 10:25:33 AM »
Quote
You DO mean right clicking the Mach shortcut, Properties, Compatibility, and setting Run as Administrator?

It all depends on how you have UAC (User Access Control) configured. If you have it turned off then you will likely not have an issue. I have UAC on and my Mach link set to Run As Administrator so I get a pop-up window asking me if I want to allow it to maker changes to my computer each time I launch it. (Kind of annoying but not a big deal, it is a very good safety net against various viruses, etc.) The best thing to do if one is in doubt is to 'Run As Administrator'.

515
SmoothStepper USB / Re: Problems getting mach3 to talk to smoothstepper
« on: October 06, 2010, 05:49:26 PM »
With Windows 7 you need to run Mach as administrator or it won't work properly. This is not a SS specific issue.

516
General Mach Discussion / Re: hard real time with Windows XP
« on: October 02, 2010, 04:49:21 PM »
Mach 'pre plans' the moves that needs to be made and makes this pre-planned buffer available to motion control plug-ins. The plug-in will package up the movements in the buffer in the fashion needed for that particular motion control card and send it to the card. The motion controller will will buffer a small number of moves to negate and delay due to the time it takes to transport the data. The motion controller then outputs the needed step pulse to get to where Mach tells it to go. Since the motion control card does all this in dedicated hardware the result is a much more stable (smoother) and faster (potentially) than you can get through the parallel port.

The motion control cards that work with Mach all have different abilities. The Galil comes in several flavors and can ran analog servos as well as digital servos and steppers, they are really capable units and generally more expensive than other options. The SmoothStepper will work with stepper and digital servos (S/D input), it was designed to interface with Mach and is at the other end of the cost scale. The other motion board that work with Mach are in between these two.


517
General Mach Discussion / Re: hard real time with Windows XP
« on: October 02, 2010, 09:13:46 AM »
There are several real time extensions for Windows that date back to at least NT. In fact the first PC based CNC control I ever laid hands on was NT based. Even though they can provide deterministic real time operations they are usually an expensive option and more highly dependant on the underlying hardware. Even though such a system is deterministic it is still limited by the underlying PC hardware which is not designed to be hard real time. I think Mach has prospered because it provides good performance at a low cost and low enough complexity level that most folks can install and use it.

IMHO the plethora of external motion control boards is the future of Mach.

518
General Mach Discussion / Re: license on 2nd computer/encoders
« on: September 27, 2010, 09:25:21 AM »
And remember, if you are using your machines to generate a profit then you need to have one license per computer/machine pair.

519
Quote
Another funny thing is I deleted Mach from my control panel, but when I reinstall it all of my ports and pins settings are installed

All of your Ports&Pins settings are in your Mach profile, just like I mentioned before with the motion controller setting. For parallel port operation you need to find your parallel ports base address and set that in Mach. Take a read through the section of the Mach manual on getting things configured it would answer a lot of questions.

520
How did you tell Mach to use the SmoothStepper in the first place? You have to tell Mach what motion control device to use and that is saved in the configuration file (XML). This is a configuration thing and not at all unique to the SS. Reading through the Mach manual would no doubt shed some light on this, but here are the cliff notes: Open up Mach, go to Function Dev CFG->Reset Dev Sel..., answer OK to the dialog box that pops up and restart Mach. When Mach starts it will ask you what motion device to use.