How to use AC motor with axis?

More
7 years 8 months ago #127321 by bladekel
Hello to all,

I need to control AC motor direction with any axes.

So I need separate signals, one for forward and one for reverse. Or one for started to move and one for direction...

Is it possible with linuxcnc?

Please Log in to join the conversation.

More
7 years 8 months ago #127324 by pl7i92
you can use the standard stepper DIR Signal

with a AC Motor control

but what are you controlling

Please Log in to join the conversation.

More
7 years 8 months ago #127330 by bladekel
Yes you are true but for direction signal. I need one more signal to run motor.
I will run 3phase ac motor....
For relays I need to signal, forward and reverse or enable and direction. Both can be acceptable....

Please Log in to join the conversation.

More
7 years 8 months ago #127342 by tommylight
For what do you intend to use that motor ? For spindle it is easy to set up in Linuxcnc. For other types of movement you can use digital outputs from Linuxcnc wired to external relays that will turn on or off or switch direction, also easy in Linuxcnc.

Please Log in to join the conversation.

More
7 years 7 months ago #127404 by andypugh
Have a look at the extra outputs from the HAL "abs" funtion.

linuxcnc.org/docs/2.7/html/man/man9/abs.9.html
is-positive and is-negative.

In practice you might want some deadband, so wcomp might be better (with the window around zero and using the under and over bits)
linuxcnc.org/docs/2.7/html/man/man9/wcomp.9.html

Please Log in to join the conversation.

More
7 years 7 months ago #127419 by pl7i92
All the Signals you requirer are available by hal and also for Components you may make your own by HALUI

See a standard Stepper basic configuration

Please Log in to join the conversation.

More
7 years 7 months ago #127480 by bladekel
First of all, thank you all.

Let me explain my requirement by a table. I think I couldnt explain myself because of my insufficient english....

For enable and direction signal;

Signal 1(Dir)____Signal 2(Start)___Result
____1_____________0__________No motion
____0_____________0__________No motion
____1_____________1__________CCW
____0_____________1__________CW

For ccw and cw signal;

Signal 1(CW)___Signal 2(CCW)___Result
____0_____________0__________No motion
____1_____________0__________CW
____0_____________1__________CCW

....

And I need to control this with an axis, not with digitalout.....

Edit: By the way I have direction signal by default so I need enable signal or a signal for use CCW assuming the direction signal is CW....

Also I tried hal core components;
- axis.N.active : When I turn on the machine it gives HIGH signal
- axis.N.amp-enable-out : same as axis.N.active
- axis.N.in-position : Only work on jog-mode, I need both joh,auto etc.
- axis.N.jog-enable : Same problem as axis.N.in-position

As you I have tried several ways, and I coundt succesful....

Please Log in to join the conversation.

More
7 years 7 months ago #127483 by bladekel
oops wrong post...

Please Log in to join the conversation.

More
7 years 7 months ago #127484 by bladekel

pl7i92 wrote: All the Signals you requirer are available by hal and also for Components you may make your own by HALUI

See a standard Stepper basic configuration


Thanks bro I have read the "Stepper configuration Manual" but I have tried Xen signal but it gives HIGH signal after I have turned on the machine. I need HIGH while the axis is moving....

Please Log in to join the conversation.

More
7 years 7 months ago #127486 by andypugh
Do you have any sort of position feedback?
What is the source of the position command (One of the XYZ ABC UVW axes? )

Please Log in to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum