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

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.

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.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
16 Mar 2026 02:03 #344338 by tommylight
In your hal file, under the addf it has
setp [HMOY] hm2_7i76e.0.stepgen.timer-number 1
setp [HMOT] hm2_7i76e.0.dpll.01.timer-us -100.

Notice the HMOY should be HMOT
-
Editing config files at random never ever ends good.

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
16 Mar 2026 02:53 #344340 by rodw

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

If you open the file with geany which is part of the linuxcnc ISO. the  editor will show line numbers.

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

More
16 Mar 2026 14:55 #344357 by georgio
Thank you Rod for that information! I am as I said just an newbie and really don't know squat about Linuxcnc, but with your and Peter's assistance I am learning these errors were at the early stages of the configuration so hopefully I will learn more to get me through. Thannks again
George

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

More
16 Mar 2026 14:59 #344358 by georgio
Thanks again Peter for you help! It is soo nice that the Linuxcnc community helps newbies like myself. This help is hopefully getting me to learn more about Linuxcnc so I can figure out how to fix things. I started of trying to use pncconfig and did't understand alot of the terms and settings info so I went to AI for some help and I can see now that it was not really helpful.
Thanks again,
George
The following user(s) said Thank You: rodw

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

Time to create page: 0.216 seconds
Powered by Kunena Forum