Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: szcharle on February 15, 2007, 06:25:51 AM
-
hello,
i recent use L297+IRFZ44N(N-MOS) to made a driver for stepper motor,that will work for CNC
purpose.
but i found at holding mode(i mean when there no clock signal,and motor's some winding have
current,some not, like B & C is on, and A & B is off)
the Z44 Mos is very hot(estimate at 100 C degree),though i already have heat sink on it.
so i hope i can use enable founction for mach2 ,like Kcam4 have 3 enable for X,Y,Z each,to
reduce the heat,
but at mach2 setup,it have 3 enable, and in the manual it's said usually only use one enable
for 3 axis,
the question is ,does the 3 enable that can configured at output signals is mapping to
X,Y,Z axis (if it's mapping like Kcam4,where to configure?)
or the 3 enable is only same founction as 1 enable?
also,i not clear know the heat is normal or abnormal, i can change another Mos, higher Pd
power,but i am afraid the heat may damage the MOS(will cause electric accident! or the heat
will damage the stepper motor.
it's safe or not ,i don't know!
ok ,and the Chinese Tradition New Year is coming ,may you "Kong Hei Fa Choi"
it's cantonese ,mean "hope you got big money"
-
Use Mach3 and you can put an Enable line for every axis and thst should fix your problem. The outputs that you need are called Enable1-6 1=x and so on...
-
Hi
I'm new here from Nova Scotia Canada.
Mach 2/3 seem very able and I've worked my way through everything except the motor enable settings. I can get the motors turning fine but how do you have the enable shut off automatically after motion like in KCam. Or after 1 or 2 secs after motion? I'm running into the same problem as Szcharle ... my motors are heating up
thanks Tom
-
In Mach3 there is a "Current Hi/Low" output that should fix your problem
-
YES!
That got it. Thanks very much for the quick reply
Tom
-
Well really it works great but it turns on current to all motors.
Is there a way to do something similar but for individual motors separately?
Tom
-
We can only do it for all the motors :(
-
Thanks again.
I'll put my thinking cap on and try and modify my setup
Tom
-
There is no any solution for this problem?
-
no body help me ?
-
what is your problem?
Hood
-
thx for reply
hello,
i recent use L297+IRFZ44N(N-MOS) to made a driver for stepper motor,that will work for CNC
purpose.
but i found at holding mode(i mean when there no clock signal,and motor's some winding have
current,some not, like B & C is on, and A & B is off)
the Z44 Mos is very hot(estimate at 100 C degree),though i already have heat sink on it.
so i hope i can use enable founction for mach2 ,like Kcam4 have 3 enable for X,Y,Z each,to
reduce the heat,
but at mach2 setup,it have 3 enable, and in the manual it's said usually only use one enable
for 3 axis,
the question is ,does the 3 enable that can configured at output signals is mapping to
X,Y,Z axis (if it's mapping like Kcam4,where to configure?)
or the 3 enable is only same founction as 1 enable?
also,i not clear know the heat is normal or abnormal, i can change another Mos, higher Pd
power,but i am afraid the heat may damage the MOS(will cause electric accident! or the heat
will damage the stepper motor.
it's safe or not ,i don't know!
ok ,and the Chinese Tradition New Year is coming ,may you "Kong Hei Fa Choi"
it's cantonese ,mean "hope you got big money"
ENABLE PIN FOR L297
-
Sirry still dont follow, if you are needing an enable signal for the drives then just set an enable up in Mach and connect to the enable input on the drive. If you are needing something different then please ask again.
Hood
-
when there no clock signal,and motor's some winding have current
i mean when no signal(no step) but enable pin is active.
-
Hi, Manmardam
Maybe you need a pull down or pull up resistor 1000 ohm's or so on the puls pin's, What do you think Hood, Maybe a noise issue.
Chip
-
please read first post in thread
Carefully
its problem.
no noise
-
I am not sure if I am understanding the first post correctly but sounds like you may be wanting a way to reduce the current when the axis is stationary. If this is the case then I dont think there is a way to do this in Mach, this is normally handled internally in stepper drives.
Hood
-
L297 has 3 pins as input. STEP ,DIR and ENABLE.
How can i use VB to control this pin of L297 (ENABLE pin)
I mean use VB to control LPT pins for enabeling or disabeling the L297 ENABLE pin
-
You can set it up in Mach as an OutPut and then the VB to activate it would be (where * is the output number you have used)
ActivateSignal(OutPut*)
To deactivate it it is
DeActivateSignal(OutPut*)
Hood
-
so how can i write the code to enable this pin(LPT pin) before driving STEP pin of L297 and disable the LPT pin after finishing driving STEP pin
I'm a beginner in vb and i need some help
Thanks
-
You cant as far as I know, that is a function that most stepper drives have internally (current reduction) so if your drives dont have that then afraid you are out of luck as far as I know.
Hood
-
Thanks anyway.
It seems that I dont have access to STEP and DIR signals in VB
http://www.machsupport.com/MachCustomizeWiki/index.php?title=VB_Constants_for_Signal_Names (http://www.machsupport.com/MachCustomizeWiki/index.php?title=VB_Constants_for_Signal_Names)
is that true?
or if not how can i access them
-
YOu cannot do what you are asking. Mach is a machine controller IT controls the step and direction outputs not you.
Your problem seems to stem from a VERY bad drive design. Redesign the drives to industry standards and your problem of overheating will go away.
You can certainly control the enable signals BUT nowhere near fast enough to use as a heating control mechanism. You would loose control of the output pulse stream and loose steps every time you tried to start movement.
Mach was not designed to correct BAD design flaws in drive controls.
Sorry, (;-) TP
-
I solve this problem with microcontroller