hal configuration
- hanz24
-
Topic Author
- Visitor
-
28 Oct 2025 04:11 - 28 Oct 2025 04:56 #337322
by hanz24
hal configuration was created by hanz24
I’m currently learning LinuxCNC with EtherCAT, following several tutorials such as those on YouTube by MetalMusings. I’m trying to connect one servo and a servo drive to make it move with LinuxCNC. I’ve followed the video and adjusted the configuration according to my slave device.However, I’m getting an error like the following. I’ve already made sure that the XML file and HAL pins are correctly matched. Maybe I missed something, or there’s something wrong with my XML/HAL file.
Machine configuration directory is '/home/linux-cnc/linuxcnc/configs/sim.axis'
Machine configuration file is 'lathe.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./ethercatlathe.hal
./ethercatlathe.hal:39: Pin 'lcec.0.1.cia-statusword' does not exist
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
Machine configuration directory is '/home/linux-cnc/linuxcnc/configs/sim.axis'
Machine configuration file is 'lathe.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./ethercatlathe.hal
./ethercatlathe.hal:39: Pin 'lcec.0.1.cia-statusword' does not exist
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
Last edit: 28 Oct 2025 04:56 by hanz24.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11452
- Thank you received: 3841
28 Oct 2025 06:17 #337324
by rodw
Replied by rodw on topic hal configuration
Your slaves are numbered from 0 so I think you should use lcec.0.0.cia-statusword
Please Log in or Create an account to join the conversation.
- hanz24
-
Topic Author
- Visitor
-
28 Oct 2025 06:50 #337327
by hanz24
Replied by hanz24 on topic hal configuration
i already try that too, change the hal into lcec.0.0.cia-statusword but still got the same error. is it because my drive is not detectable using "halcmd show pin lcec" comand? because when i try that there is no result, but its still show up by using ethercat slaves.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4551
- Thank you received: 2026
28 Oct 2025 07:12 #337329
by Aciera
Replied by Aciera on topic hal configuration
@hanz24, Appologies, your profile got thrown out by accident. Feel free to reregister using your previous login data.
The following user(s) said Thank You: hanz24
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds