- Posts: 56
- Thank you received: 0
MESA 5i23 7i44 7i49 7i37 8i20
I was used your hal and ini files but still the same err.
If I try "Manual control [F3]" then was generated err: "joint 0 following error"
And this err was generated during start LinuxCnc:
Pin 'axis.0.vel-cmd' does not exist
I was rem this line (on each axis) and then system started without any errors.
#net x-vel-cmd axis.0.vel-cmd => pid.0.command-deriv
How I repair this err (correctly)?
Motors generated small noise and dont turn. Only if I moving axis by hand, then motors make gentle resistance (by magnetics poles).
Your INI and Hal files contains several tiny err. eg case sensitive rules in linux (names variables). Its OK.
Please Log in to join the conversation.
This is probably because your motor commutation is not set up correctly. But I have just noticed that for reasons I can't remember my X-axis is 8i20.0.2, my Y axis is 8i20.0.1 and Z is 8i20.0.3. This is probably not how you have your drives set up, so that is the first thing to check. Clearly LinuxCNC won't be able to control the axes if it is trying to control the wrong drives for each axis.kenny wrote: If I try "Manual control [F3]" then was generated err: "joint 0 following error"
You could consider using the "use_serial_numbers" option to make it easier to work out which drive is which, but that does change all the HAL pin names of smart-serial devices like the 8i20. I thought that this was documented, but it doesn't seem to be...
It is very likely that the amplifier numbering is not the only problem causing the following errors
solving the f-errors needs to be worked on, but first LinuxCNC needs to start.
In the non-JA branches the pin name is axis.N.joint-vel-cmd. It has a different name in the verso of LinuxCNC that my machine is using, which is causing many of the problems.Pin 'axis.0.vel-cmd' does not exist
(all the motion pins are listed in the motion manage, click "documentation" in the bar at the top of this screen, then "all documentation in html" then scroll down to "realtime components" and click "motion" )
Please Log in to join the conversation.
btw, I have four drivers and motors (X axis is two motors conf.).
But, only one motor on X axis is mechanical joint to pulley.
Only one motor on X axis is config in HAL file. I have three axis (servo) configuration.
- Why all (four servo & motors) are doing the same (no)movements?
- When only three are configured in HAL?
Please Log in to join the conversation.
kenny wrote: - Why all (four servo & motors) are doing the same (no)movements?
- When only three are configured in HAL?
I don't know yet, but we will figure it out eventually.
Are you now confident that the x-axis commands and feedback are going to the 8i20 that drives the X axis motor?
Please Log in to join the conversation.
I was installed new copy LinuxCNC and solved new problems.
My HAL is stopped in this error:
Do you help Me please?
this is my actually HAL file:
Please Log in to join the conversation.
( the others may not be found either, the 8I20 on sserial channel 2 appears first in the hal file so triggers the fault )
This could be caused by a couple of things
1. No 8I20 connected to sserial channel 2
2. Marginal power to 8I20s. For three 8I20s you will very likely need to supply 5V to the 7I44 if
you use 5V cat5 cable power (CHECK 5V at 7I44) or 24V to the 8I20 low side power (with proper jumper options set)
3. Other possible connection issues (7I44 on wrong 5I23 connection etc)
Please Log in to join the conversation.
Supply power on 8I20 is now OK. :woohoo:
HAL passed, EMC started, but EMC says: Joint 0 following error, when I moving with axis X by Manual control [F3].
Motor on axis X is not moving, but counter on EMC window is changed value if I rotated shaft on motor by hand.
Why?
Where is err?
This is my actual HAL:
Please Log in to join the conversation.
Why I have only two channel number (1 and 2) in variables eg: hm2_5i23.0.8i20.0.1.xxxx and hm2_5i23.0.8i20.0.2.xxxx ?
www.linuxcnc.org/docs/html/man/man9/sserial.9.html#DEVICES
Still I have only two channels of RS422 board...
How do I add other channel (0 or 3) number for config all axis?
List part of my HAL (show pins param)
Please Log in to join the conversation.
kenny wrote: HAL passed, EMC started, but EMC says: Joint 0 following error, when I moving with axis X by Manual control [F3].
This is very likely to happen until the PID is set up. You will also have to work out the correct number for the setp bldc.0.encoder-offset parameter. There may be a scientific way to do it, but I ended up trying differen values until the motor ran the same speed in both directions for a fixed current (ie, not under PID control)
(And do you really have 10 pole motors?)
Please Log in to join the conversation.
kenny wrote: I have next question:
Why I have only two channel number (1 and 2) in variables eg: hm2_5i23.0.8i20.0.1.xxxx and hm2_5i23.0.8i20.0.2.xxxx
Your HAL file has a bit of a problem, as both Y and Z axes seem to be trying to use the same 8i20. (0.2)
I don't know why you are not seeing all three 8i20s, do they all show the same pattern of flashing lights?
Please Log in to join the conversation.
