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

More
7 months 2 weeks ago #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

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

More
7 months 2 weeks ago #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"
The following user(s) said Thank You: georgio

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

More
7 months 2 weeks ago #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.

More
7 months 2 weeks ago #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.
The following user(s) said Thank You: georgio

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

More
7 months 2 weeks ago #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
7 months 2 weeks ago #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.

Time to create page: 0.071 seconds
Powered by Kunena Forum