Hello Guest it is September 29, 2020, 10:31:08 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 - p_j_whelan

Pages: 1
General Mach Discussion / Re: Power Supply for Motion Controlling
« on: September 29, 2010, 07:14:48 AM »
OK, what I have now done is implemented solid state relays between the drivers and the 25 pin D sub. The relays require a 3V input to trigger a max 24V output, which I have connected to the drivers. The problem now seems to be that the pulse width is too narrow for the relays to activate therefore not enabling the drivers to operate. is it possible to raise the pulse width of the signal from 1-5us which is located on the motor tuning tab to well say 100us+?

General Mach Discussion / Re: Power Supply for Motion Controlling
« on: September 24, 2010, 03:10:22 AM »
The Astrosyn P402. It is optically isolated and am driving three motors on three drivers. I dont think its a pin assignment problem as none of the motors are operating, however the direction and enable works on each just not the "pulse" signal. I am presuming that this connects to the "step" assignment within Mach3

General Mach Discussion / Re: Power Supply for Motion Controlling
« on: September 23, 2010, 04:41:47 PM »
The voltage(s) that I am measuring are around 3.4, however the fact that I had them running in one direction at least illustrates that the voltage supply is sufficient to power them. Having re-examined the wiring and grounding the common cables again, I sorted out the problem that I was having (Faulty wiring I think0. However a new problem has arose.

For the enable and direction signals that I am sending to the driver I am having no problem, register around 3.4V or so, with the direction going to 0 when the direciton is changed from the Mach3 panel (jogging). Similarly the enable is high when I wish so and disables when I suspend it. However the "pulse" port on my Astrosyn P402, which I have connected to the "step" pin port in Mach3 is staying high even when I try to jog so I am not getting a pulse signal to the driver, only a high or low which does not change unless I change the active high or lo setting.

Put simply, I am not getting a pulse to my driver through pin 5 (direction and enable are pins 6 and 8 respectively). Tried both configurations of active lo (checked and unchecked) still to no avail. Is there another setting that I must assign to enable the pulse train to go from the PC to the driver?. Am getting quite a bit of pressure from people wishing to use the machine also as this is what I need to get it working.

Best regards,

General Mach Discussion / Re: Power Supply for Motion Controlling
« on: September 23, 2010, 09:19:39 AM »
Thanks Tweakie,

Have got my motors running, two of the three in one direction only though. I have configured them the same as the third which is working fine in both directions. When jogging both motors turn anti clockwise for as long as I hold them for. Try to go back the other way and no movement whatsoever. I have checked the signal from the PC with a voltmeter and it changes from a high to lo when the direction is changed from positive to negative and vice versa. The system thinks that it is jogging back and the X and Y clocks count down but the screw stays in the same position so when I resume jogging in the positive direction it resumes from the original point that it stopped at. Any takers?


General Mach Discussion / Re: Power Supply for Motion Controlling
« on: September 22, 2010, 12:48:48 PM »
Hi Gents,

Thanks for your replies over the weeks. Have the entire system wired and powered at this stage and connected the device, via parallel port to my PC. However some issues have arose, basically that nothing is happening.

To begin with each of the drivers I have contain a Pulse, Direction, Common and Enable port. Each driver is optically isolated and assume that the 5V output from the PC will activate the driver as the pulses are applied. I have assigned each of the port mentioned above to a corresponding pin on the 25 pin port: Pin 1,2,3 and4. When I go to Mach3 and put a "tick" in the enable box for the X-axis and assign pins 1 and 2 as the step and direction input, I still have no movement in the axis. I went further and assigned enable 1 (under outputs tab) to pin 4, the enable port on the driver. Still nothing.

Have an electrician helping me with the wiring and really want to discover if the problem is with the programme or with the wiring, as his time is valuable. Also if anybody could tell me what I am not assigning correctly as regards ports and pins please help.

Another issue I am having is with proximity sensors on the machine. I have two on each axis of motion, X-, X+, Y- and Y+. The sensors are inductive proximity sensors NPN switching type, therefore operate at 24V which goes through a voltage divider to reduce it to 5V which is then input into Mach3. The sensors are always high and when the target approaches they switch to 0V so I am using negative logic to control them. However when testing them out, they send 5V to the PC, however when I place material in front of them, they do detect the material however the signal is not recognised within Mach3.

Anybody who can help me with this it is greatly appreciated. I am really struggling to grasp both of these problems.



General Mach Discussion / Re: Power Supply for Motion Controlling
« on: August 17, 2010, 01:57:38 PM »
Hi again, had a good go through of my equipment and the Astrosyn P402 drivers have opto isolated input signals so if I am correct (which I am not sure of!!) the 5V input into pulse, direction etc. from the printer port to each driver will activate the relays built into the driver boards and allow the motors to run from the 24v dc supply shown in the schematic below. Just wondering if anybody has ever used similar equipment and was this the layout of the equipment if so?

Also will need to integrate 4 limit/home switches and an E-stop into the system. Is it a case of just wiring them to one of the input pins, e.g. pin 10, and using mach3 to determine if the systems runs or not in the lo/high position? Perhaps somebody would be kind enough to add to the schematic if they know how they will be integrated into the electrics (afraid not very experienced at all in this department!). What I want to do is position 2 limits on each axis, X++, X-- and Y++ and Y-- and use one of each as the home origin then, along with an emergency stop in the case of misuse. I am working at a learning institute after all!!!



General Mach Discussion / Re: Power Supply for Motion Controlling
« on: August 16, 2010, 10:58:32 AM »
Hi Hood,

Thanks for your reply but what voltage will the mach3 pulse supply or does it regulate the 24v that I will supply to the drivers as they are programmed?


Hi everybody,

My name is Patrick, just writing a post to introduce myself. Im studying engineering design at postgraduate level at University and need some help with a CNC machine that I am building at present (which is posted in a seperate thread which I hope you will look at and help me with!!!). Thread entitled: Power Supply for Motion Controlling. Hoping to continue with automation design as a hobby once I am finished my present work if I can get it completed!!


General Mach Discussion / Power Supply for Motion Controlling
« on: August 16, 2010, 10:27:20 AM »
Hi there,

I am hoping somebody can help me with something that I am having trouble understanding. I am building a mechanical positioning device used to position aerodynamic probes within wind tunnel walls and it is a ball screw driven system. I have the hardware for the rig assembled and wish to apply power to the screws driving the system and control them using Mach3.

The device consists of two ball screws which I wish to control (X and Z direction travel) and the probes rotate about the Z axis then using an additional motor to rotate the probes.

I have been supplied with three stepper motors (Astrosyn MY706, Astrosyn MY703-3 and Astrosyn MY7001) and three microstepping drivers (3 x Astrosyn P402) which require 24v dc power. Ideally I would like to generate and operate a pulse train of around 500Hz (can be manufactured in house using a 555 timer is astable arrangement if needed) to apply the pulses to the drivers but I do not know if this is necessary.

What I cannot understand from reading other posts and looking at other peoples devices is how power is supplied to the motors/drivers and also how the pulse is communicated to the drivers from the 25 pin port if it does come from this port?

Does the PC supply an output voltage which can be used or is an external supply needed (24v dc)?
Also the pulses that are applied to the motor, how are they regulated if it does not come from the PC? Are the drivers regulated by relays which activate the 24v dc supply in the sequence required?

If anybody could give me some help on this or has worked on something similar and can make suggestions on the control system it would be very much appreciated as I am the first to use this software at our University so my Professor would be delighted if I could control the device using a new motion control system than the standard in our Department!!!

Please find attached a diagram of the device showing the direction(s) of travel and what it is that I am trying to power. The CAD model shows a third motor in the Y-direction, please ignore as this has been discarded due to budgetary constraints. Any other info required please ask.


Pages: 1