- Posts: 66
- Thank you received: 0
How to use AC motor with axis?
7 years 8 months ago #127321
by bladekel
How to use AC motor with axis? was created 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?
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.
7 years 8 months ago #127324
by pl7i92
Replied by pl7i92 on topic How to use AC motor with axis?
you can use the standard stepper DIR Signal
with a AC Motor control
but what are you controlling
with a AC Motor control
but what are you controlling
Please Log in to join the conversation.
7 years 8 months ago #127330
by bladekel
Replied by bladekel on topic How to use AC motor with axis?
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....
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.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
7 years 8 months ago #127342
by tommylight
Replied by tommylight on topic How to use AC motor with axis?
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.
7 years 7 months ago #127404
by andypugh
Replied by andypugh on topic How to use AC motor with axis?
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
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.
7 years 7 months ago #127419
by pl7i92
Replied by pl7i92 on topic How to use AC motor with axis?
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
See a standard Stepper basic configuration
Please Log in to join the conversation.
7 years 7 months ago #127480
by bladekel
Replied by bladekel on topic How to use AC motor with axis?
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....
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.
7 years 7 months ago #127483
by bladekel
Replied by bladekel on topic How to use AC motor with axis?
oops wrong post...
Please Log in to join the conversation.
7 years 7 months ago #127484
by bladekel
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....
Replied by bladekel on topic How to use AC motor with axis?
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.
7 years 7 months ago #127486
by andypugh
Replied by andypugh on topic How to use AC motor with axis?
Do you have any sort of position feedback?
What is the source of the position command (One of the XYZ ABC UVW axes? )
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.093 seconds
