Facing Error after updating Linuxcnc to 2.9 from 2.7
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
28 Feb 2024 17:08 #294703
by yrsiddhapura
Facing Error after updating Linuxcnc to 2.9 from 2.7 was created by yrsiddhapura
Attachments:
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
28 Feb 2024 17:11 #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.
Attachments:
Please Log in or Create an account to join the conversation.
28 Feb 2024 17:29 #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.
The following user(s) said Thank You: yrsiddhapura
Please Log in or Create an account to join the conversation.
28 Feb 2024 17:34 - 28 Feb 2024 17:47 #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.
Last edit: 28 Feb 2024 17:47 by PCW.
The following user(s) said Thank You: yrsiddhapura
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
28 Feb 2024 18:55 #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 or Create an account to join the conversation.
28 Feb 2024 19:55 #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 or Create an account to join the conversation.
28 Feb 2024 20:07 #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
The following user(s) said Thank You: yrsiddhapura, Wieser
Please Log in or Create an account to join the conversation.
- yrsiddhapura
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 5
01 Mar 2024 06:29 #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 or Create an account to join the conversation.
Time to create page: 0.167 seconds