Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

  • georgio
  • Away
  • New Member
  • New Member
More
15 Mar 2026 21:37 #344323 by georgio
Hello all,
I am a newbie and I might have posted this question on the wrong thread before so I apologize for my lack of knowledge and experience. I have got my board and pc communicatiing and I think I have fixed most of the error but until i get this one fixed I won't know. I have an error which seems to be misidentifiying my z axis. I have a xyyx router setup hopefully to get y  squaring. The error I am getting says an undefined kinematicsSwitch and it leaves my setup with undefined limit on z. All help will be greatly appreciated. I will post my ini and hal files for you to look at.
Thanks again,
George
Attachments:

Please Log in or Create an account to join the conversation.

More
15 Mar 2026 23:43 #344326 by PCW
This section of the hal file is broken in at least 3 ways:

loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
#loadrt [KINS]KINEMATICS
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"
#loadrt hostmot2

1. loadrt [KINS]KINEMATICS is commented out
2. loadrt hostmot2 is commented out
3. loadrt hostmot2 is in the wrong order (it must be loaded before hm2_eth)

It should look like what pncconf creates:

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"

Please Log in or Create an account to join the conversation.

  • georgio
  • Away
  • New Member
  • New Member
More
16 Mar 2026 01:20 #344335 by georgio
thank you Peter,
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum