How to use AC motor with axis?

More
28 Feb 2019 11:41 - 28 Feb 2019 12:56 #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?
Last edit: 28 Feb 2019 12:56 by bladekel.

Please Log in or Create an account to join the conversation.

More
28 Feb 2019 14:06 #127324 by pl7i92
you can use the standard stepper DIR Signal

with a AC Motor control

but what are you controlling
The following user(s) said Thank You: bladekel

Please Log in or Create an account to join the conversation.

More
28 Feb 2019 14:16 #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 or Create an account to join the conversation.

More
28 Feb 2019 17:20 #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.
The following user(s) said Thank You: bladekel

Please Log in or Create an account to join the conversation.

More
01 Mar 2019 12:46 #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
The following user(s) said Thank You: bladekel

Please Log in or Create an account to join the conversation.

More
01 Mar 2019 13:30 #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
The following user(s) said Thank You: bladekel

Please Log in or Create an account to join the conversation.

More
02 Mar 2019 06:46 - 02 Mar 2019 07:00 #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....
Last edit: 02 Mar 2019 07:00 by bladekel.

Please Log in or Create an account to join the conversation.

More
02 Mar 2019 07:08 - 02 Mar 2019 07:09 #127483 by bladekel
oops wrong post...
Last edit: 02 Mar 2019 07:09 by bladekel.

Please Log in or Create an account to join the conversation.

More
02 Mar 2019 07:10 #127484 by bladekel

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 or Create an account to join the conversation.

More
02 Mar 2019 09:23 #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 or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum