- Posts: 134
- Thank you received: 0
Facing Error after updating Linuxcnc to 2.9 from 2.7
- yrsiddhapura
- Topic Author
- Offline
- Premium Member
-
Less
More
2 years 8 months ago #294703
by yrsiddhapura
Facing Error after updating Linuxcnc to 2.9 from 2.7 was created by yrsiddhapura
I tried to update Linuxcnc 2.7 wheezy preempt-rt to LinuxCNC 2.9 bookworm preempt-rt and copy old config files to new and try to start but facing error.
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
- yrsiddhapura
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 134
- Thank you received: 0
2 years 8 months ago #294704
by yrsiddhapura
Replied by yrsiddhapura on topic Facing Error after updating Linuxcnc to 2.9 from 2.7
Due to limitated file upload here i am attaching mine HAL and INI files.
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
2 years 8 months ago #294707
by Mecanix
Replied by Mecanix on topic Facing Error after updating Linuxcnc to 2.9 from 2.7
Everywhere you see axis.0. will need updating e.g. to axis.x.
Your INI file also need updating. For each axis you need:
[AXIS_X] and [JOINT_0]
[AXIS_Y] and [JOINT_1]
[AXIS_Z] and [JOINT_2]
All in all, you've prolly just discovered that you need a whole new set of config that rhyme with 2.9.
Your INI file also need updating. For each axis you need:
[AXIS_X] and [JOINT_0]
[AXIS_Y] and [JOINT_1]
[AXIS_Z] and [JOINT_2]
All in all, you've prolly just discovered that you need a whole new set of config that rhyme with 2.9.
Please Log in to join the conversation.
2 years 8 months ago #294708
by PCW
Replied by PCW on topic Facing Error after updating Linuxcnc to 2.9 from 2.7
The reported error is a syntax error in line 21 of custom,hal:
setp axis.0.jog-vel-mode 0
Which looks OK (at least in the supplied file)
Edit: as Mechanix suggested, this needs to have the axis letter
rather than number.
This should have been done by the conversion
script that automatically converts 2.7 configurations to 2.8+
It would be _much_ easier to identify the error by running LinuxCNC
from the command line and posting the printed text here.
setp axis.0.jog-vel-mode 0
Which looks OK (at least in the supplied file)
Edit: as Mechanix suggested, this needs to have the axis letter
rather than number.
This should have been done by the conversion
script that automatically converts 2.7 configurations to 2.8+
It would be _much_ easier to identify the error by running LinuxCNC
from the command line and posting the printed text here.
Please Log in to join the conversation.
- yrsiddhapura
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 134
- Thank you received: 0
2 years 8 months ago #294712
by yrsiddhapura
Replied by yrsiddhapura on topic Facing Error after updating Linuxcnc to 2.9 from 2.7
Thank you so much guys will try to change axis number to letter and also try conversion script
Please Log in to join the conversation.
2 years 8 months ago #294720
by Wieser
Replied by Wieser on topic Facing Error after updating Linuxcnc to 2.9 from 2.7
A side question from an unexperienced user.
How do I get Linuxcnc to show such an error message when failing at startup? Is it a HAL or INI command?
My current workflow is to change only a single thing in HAL, and then restart linuxcnc.
If I change or add multiple lines I never know what the cause problem is when linuxcnc won't start afterwards.
How do I get Linuxcnc to show such an error message when failing at startup? Is it a HAL or INI command?
My current workflow is to change only a single thing in HAL, and then restart linuxcnc.
If I change or add multiple lines I never know what the cause problem is when linuxcnc won't start afterwards.
Please Log in to join the conversation.
2 years 8 months ago #294721
by PCW
Replied by PCW on topic Facing Error after updating Linuxcnc to 2.9 from 2.7
Easiest way is to launch LinuxCNC from the command line:
linuxcnc
linuxcnc
Please Log in to join the conversation.
- yrsiddhapura
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 134
- Thank you received: 0
2 years 7 months ago #294821
by yrsiddhapura
Replied by yrsiddhapura on topic Facing Error after updating Linuxcnc to 2.9 from 2.7
@mechanix and @pcw thank you so much guys machine is working now
Please Log in to join the conversation.
Time to create page: 0.282 seconds
