Hello Guest it is March 28, 2024, 07:20:12 PM

Author Topic: Reviving old machine using mach  (Read 31039 times)

0 Members and 1 Guest are viewing this topic.

Re: Reviving old machine using mach
« Reply #10 on: February 08, 2014, 10:09:50 AM »
Mach3 step pulses can be converted to an analog voltage using a digital potentiometer.  We are currently doing this for our laser diode drivers to modulate laser power.  http://www.picengrave.com/Laser%20Setups.pdf

Maybe our circuits can be used for controlling servos, too.

John Champlain

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #11 on: February 08, 2014, 10:47:07 AM »
Do you have encoder feedback John, Is there a way to close the loop with that feedback?
Hood
Re: Reviving old machine using mach
« Reply #12 on: February 08, 2014, 10:54:44 AM »
Hood,
I thought all that was done by the servo controller, and all that would be needed would be for Mach3 to supply an analog voltage to the existing controllers.  I didn't mean to add noise to this discussion.
John

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #13 on: February 08, 2014, 11:00:17 AM »
No problem John, I was curious if your circuits could do that and was asking.
With a position type drive then yes all that is handled in the drive but the drive will take Step/Dir or CW/CCW or be set up as Encoder follower.
For an analogue amplifier or drive to close the position loop your control has to do that, ie the control reads the encoder position and feeds the drive/amp with analogue commands to move it or keep it where it is, ie the controller has to close the loop.

Hood
Re: Reviving old machine using mach
« Reply #14 on: February 08, 2014, 12:52:42 PM »
Your best option is as I said at the start, get a controller that will work with Mach and output analogue +/- 10v control signals to your amps.

CSMIO/IP-A is what I use.
There is also
DSPMC
Kflop with Kanalog
Galil
and there is also a DIY option, YAPSC, but I have heard of varying results from it, from working ok to not working at all.


Hood

oK THANKs for quick response

And what about second option i asked? can i just plugged some pot and give fix value to Axis drives to run at fixed speed? My client is not going to run machine for full application. He needs only 1-2 specific Jobs to work on

Regards,
Devesh Vithani

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #15 on: February 08, 2014, 01:42:38 PM »
You can have a pot connected to the axis but you will not have any real control over the position, it would be fine for a spindle but not an axis. Even load would affect things as there will not be any closing of the loop for position so I would say you need to either try and do it on the cheap by trying the YAPSC or use one of the proven controllers.
Hood
Re: Reviving old machine using mach
« Reply #16 on: February 08, 2014, 02:06:08 PM »
Is this step pulses are PPM??

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #17 on: February 08, 2014, 02:07:27 PM »
Sorry dont know what you are meaning.
Hood
Re: Reviving old machine using mach
« Reply #18 on: February 08, 2014, 02:19:34 PM »
Please have a look at this attachment

I am thinking to use something like this. Step will be converted to PWM as shown. Does it looks OK? and then this PWM can be converted to analog easily using card I already have. I am not able to take test as of now because i am waiting for SSR so that i can hook up this 5V Step pulse to PLC which required 24V as input

Only catch is speed of Input. PLC requires 13ms for changing state from 0-1. Does this OK? what is the time range for this Step pulse signals? I mean how many pulses will be there in say one min or what is the max and min frequency of these pulses?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #19 on: February 08, 2014, 02:30:06 PM »
If you are wanting to have any kind of precise positional control over an axis, let alone multiple axes then trying to do it via PLC and Mach or any other method you have mentioned, is wasting your time.
If you want to simply have positional control to set positions then use a standalone PLC, if you require the flexibility that is normal in a CNC machine then use one of the devices I mentioned above.
Hood