- Posts: 19306
- Thank you received: 0
MESA 5i23 7i44 7i49 7i37 8i20
kenny wrote: Questions:
My motors have nominal current is: 3A and maximal current is 12,7A
Where is it set?
The 8i20.scalemax should automatically match what the 8i20 max current is set to (this can be changed using the setsserial hal component.
linuxcnc.org/docs/html/man/man9/setsserial.9.html
However, it is probably easier to leave those where they are at the moment, and simply use pid.maxoutput to limit the current requested.
Do you motors have temperature sensors fitted? Many do. If they have, then it seems wise to use them. I recently had a ball-nut go faulty and the first I knew was the smell of overheated servo motor.
I would typically set the pid.maxoutput to the 12.7A limit, but keep an eye on the typical running current to make sure that it is less than 3A in a steady-state.
I have an idea for a HAL component that integrates instantaneous current and subtracts a fixed decay rate to give a "virtual temperature" for servo motors with no in-built sensors.
Please Log in to join the conversation.
I have (maybe last) problem with discrete signals.
I wiring external signals eg. e-stop, lim and ref. switches and spindle.
Unfortunately I dont have any example for my Mesa configuration.
1) My spindle is connection via 7i49 card. I connect Analog Out1 to Input in freq. inverter. 0-10V
2) Signals E-stop, lim switches and ref. switches I have connect to 7i37-TA. 1st input I have mapped as hm2_5i23.0.gpio.024.in and 2nd... etc... I see value this signal in HAL Meter.
I dont know how to linked these signals in my HAL file.
How do I generate 0-10V for spindle via 7i49 card?
Are there any examples?
Thank You.
Please Log in to join the conversation.
kenny wrote: I dont know how to linked these signals in my HAL file.
How do I generate 0-10V for spindle via 7i49 card?.
The GPIO and Analogue output pin names do not "know" that they are on the 7i49 or the 7i37.
So, the analogue outputs have names like hm2_5i23.0.pwmgen.00.value. You already seem to have figured out the GPIO.
Set the pwmgen.00.scale pin to be the spindle speed that the VFD gives you at 10V input.
Then net spindle-cmd motion.spinldle-speed-out-abs => hm2_5i23.0.pwmgen.00.value
Here are some of the pins you might want to use:
www.linuxcnc.org/docs/html/man/man9/motion.9.html
Here is the docsument that describes the Hostmot2 pins:
www.linuxcnc.org/docs/html/man/man9/hostmot2.9.html
Here are some more HAL pins that might be useful
www.linuxcnc.org/docs/html/man/man1/iocontrol.1.html
www.linuxcnc.org/docs/html/man/man1/halui.1.html
Please Log in to join the conversation.
Please Log in to join the conversation.
Parameter "MAXOUTPUT" in HAL file is defined as max. voltage from PID to servo.
What does it mean in my full digitally system with 8i20 and RS422?
Thank
Please Log in to join the conversation.
kenny wrote: Parameter "MAXOUTPUT" in HAL file is defined as max. voltage from PID to servo.
What does it mean in my full digitally system with 8i20 and RS422?
Generally (and certainly in the case of my system) the PID output is actual motor amps.
Please Log in to join the conversation.
Then: MAXOUTPUT = 12.7
Is this OK?
Please Log in to join the conversation.
kenny wrote: My motors is designed for max current 12.7A.
Then: MAXOUTPUT = 12.7
Is this OK?
Yes, I would say so.
But.. It is worth monitoring the actual current (Halmeter, for example) when running the machine to be sure that the current is closer to the continous rating than the peak rating most of the time.
If the motors have thermistors then I would suggest connecting them and monitoring in HAL (maybe use the HAL "message" component to issue warnings.
I recently nearly melted my Z servo when the ball-nut failed. The motor could still move the axis, but was running at max current all the time.
Unfortunately I don't think that any of your boards offer any analog inputs. The cheapest way to add some is probably a 7i73, but you could probably arrange resistors in such a way that a digital input will trigger on motor overheat.
The 8i20 boards communicate a driver temperature back to HAL, it might be worth monitoring that too.
Please Log in to join the conversation.
How I reversed coordinate system in X axis?
Thank
Please Log in to join the conversation.
kenny wrote: Hi, I have one problem.
How I reversed coordinate system in X axis?
I had to do this a couple of weeks ago, and I have already forgotten how I did it
Looking at my configs, you need to change the sign of two items (and only those two)
setp hm2_5i23.0.8i20.0.2.current-scalemax -7.5
setp hm2_5i23.0.resolver.01.scale 1.2244898
(Obviously you change the ones that match your resolver and 8i20 setup)
Please Log in to join the conversation.
