Trouble getting a new configuration running.
- Lik2waterski
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
10 Mar 2025 00:56 #323584
by Lik2waterski
Trouble getting a new configuration running. was created by Lik2waterski
My old system that my machine works on is axis 2.8.0 running on linux mint 19.3 xfce with linux 4.19.106-rt46-lcnc.
My new system LMDE 6 Faye,up X1,joint 0, X2 Joint 1, Y Joint 2, Z joint 3. I will try to attach my ini, file and my Hal. If anyone could help me, I sure would appreciate it. Thank you. Travis
My new system LMDE 6 Faye,
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7.
I am trying to move a current working configuration to the new computer. My main goal is to add a carousel tool changer. I have deleted all "A axis" stuff just to get the machine working before adding the new configs. My machine has tandem Xaxis for the gantry then Y,Z. but the errors I keep getting are like this
check_config: [JOINT_2]MIN_LIMIT > [AXIS_Z]MIN_LIMIT (-0.001 > -8.0) but Joint 2 isn't Axis Z. My system was set
Please Log in or Create an account to join the conversation.
- tommylight
-
- Online
- Moderator
-
Less
More
- Posts: 19974
- Thank you received: 6783
10 Mar 2025 01:13 #323585
by tommylight
Replied by tommylight on topic Trouble getting a new configuration running.
In the ini file, this:
[TRAJ]
COORDINATES = XYZ
Should be
[TRAJ]
COORDINATES = XXYZ
[TRAJ]
COORDINATES = XYZ
Should be
[TRAJ]
COORDINATES = XXYZ
The following user(s) said Thank You: Lik2waterski
Please Log in or Create an account to join the conversation.
- Lik2waterski
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
13 Mar 2025 01:45 #323790
by Lik2waterski
Replied by Lik2waterski on topic Trouble getting a new configuration running.
thank you. Now I keep getting an error hal:132 setp requires 2 arguments,10 given. Ive been using AI to help me but I cant get past this error. I will attach my hal files incase anymone wants to check them out. Thank you.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Elite Member
-
Less
More
- Posts: 283
- Thank you received: 103
13 Mar 2025 02:12 #323792
by unknown
Replied by unknown on topic Trouble getting a new configuration running.
Can you post the error reports as well, so we get the full picture.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Elite Member
-
Less
More
- Posts: 283
- Thank you received: 103
13 Mar 2025 02:24 #323793
by unknown
Replied by unknown on topic Trouble getting a new configuration running.
In your ini file check this line
Line 277 for joint 4
STEP_SCALE = 3.9307 # 1414.752 steps / 360° for 10-tool carousel
AI isn't worth the effort.
Line 277 for joint 4
STEP_SCALE = 3.9307 # 1414.752 steps / 360° for 10-tool carousel
AI isn't worth the effort.
Please Log in or Create an account to join the conversation.
- Lik2waterski
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
13 Mar 2025 12:38 #323826
by Lik2waterski
Replied by Lik2waterski on topic Trouble getting a new configuration running.
I changed line 277 to this STEP_SCALE = 3.9307 # 1414.752 steps / 360° for 10-tool carousel
here is the error report
travis@cnc:~$ linuxcnc
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/travis/linuxcnc/configs/AXYZ'
Machine configuration file is 'AXYZ.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./AXYZ_load.hal
identityKinematicsSetup: coordinates:XXYZA
Joint 0 ==> Axis X
Joint 1 ==> Axis X
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
Joint 4 ==> Axis A
identityKinematicsSetup: Recommend: kinstype=both
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:13:04:fb
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: Low Level init 0.15
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
Board hm2_7i92.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i92.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i92.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i92.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0: IO Pin 000 (P2-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 001 (P2-14): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 002 (P2-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 003 (P2-15): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 004 (P2-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 005 (P2-16): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 006 (P2-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 007 (P2-17): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 008 (P2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 009 (P2-06): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 010 (P2-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i92.0: IO Pin 011 (P2-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i92.0: IO Pin 012 (P2-09): IOPort
hm2/hm2_7i92.0: IO Pin 013 (P2-10): IOPort
hm2/hm2_7i92.0: IO Pin 014 (P2-11): Encoder #0, pin Index (Input)
hm2/hm2_7i92.0: IO Pin 015 (P2-12): Encoder #0, pin B (Input)
hm2/hm2_7i92.0: IO Pin 016 (P2-13): Encoder #0, pin A (Input)
hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort
hm2/hm2_7i92.0: IO Pin 018 (P1-14): IOPort
hm2/hm2_7i92.0: IO Pin 019 (P1-02): IOPort
hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort
hm2/hm2_7i92.0: IO Pin 021 (P1-03): IOPort
hm2/hm2_7i92.0: IO Pin 022 (P1-16): IOPort
hm2/hm2_7i92.0: IO Pin 023 (P1-04): IOPort
hm2/hm2_7i92.0: IO Pin 024 (P1-17): IOPort
hm2/hm2_7i92.0: IO Pin 025 (P1-05): IOPort
hm2/hm2_7i92.0: IO Pin 026 (P1-06): IOPort
hm2/hm2_7i92.0: IO Pin 027 (P1-07): IOPort
hm2/hm2_7i92.0: IO Pin 028 (P1-08): IOPort
hm2/hm2_7i92.0: IO Pin 029 (P1-09): IOPort
hm2/hm2_7i92.0: IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0: IO Pin 031 (P1-11): IOPort
hm2/hm2_7i92.0: IO Pin 032 (P1-12): IOPort
hm2/hm2_7i92.0: IO Pin 033 (P1-13): IOPort
hm2/hm2_7i92.0: registered
Found file(REL): ./AXYZ_connect.hal
./AXYZ_connect.hal:131: setp requires 2 arguments, 10 given
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/travis/linuxcnc_debug.txt
and
/home/travis/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
travis@cnc:~$
here is the error report
travis@cnc:~$ linuxcnc
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/travis/linuxcnc/configs/AXYZ'
Machine configuration file is 'AXYZ.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./AXYZ_load.hal
identityKinematicsSetup: coordinates:XXYZA
Joint 0 ==> Axis X
Joint 1 ==> Axis X
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
Joint 4 ==> Axis A
identityKinematicsSetup: Recommend: kinstype=both
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:13:04:fb
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: Low Level init 0.15
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
Board hm2_7i92.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i92.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i92.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i92.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0: IO Pin 000 (P2-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 001 (P2-14): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 002 (P2-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 003 (P2-15): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 004 (P2-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 005 (P2-16): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 006 (P2-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 007 (P2-17): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 008 (P2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 009 (P2-06): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 010 (P2-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i92.0: IO Pin 011 (P2-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i92.0: IO Pin 012 (P2-09): IOPort
hm2/hm2_7i92.0: IO Pin 013 (P2-10): IOPort
hm2/hm2_7i92.0: IO Pin 014 (P2-11): Encoder #0, pin Index (Input)
hm2/hm2_7i92.0: IO Pin 015 (P2-12): Encoder #0, pin B (Input)
hm2/hm2_7i92.0: IO Pin 016 (P2-13): Encoder #0, pin A (Input)
hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort
hm2/hm2_7i92.0: IO Pin 018 (P1-14): IOPort
hm2/hm2_7i92.0: IO Pin 019 (P1-02): IOPort
hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort
hm2/hm2_7i92.0: IO Pin 021 (P1-03): IOPort
hm2/hm2_7i92.0: IO Pin 022 (P1-16): IOPort
hm2/hm2_7i92.0: IO Pin 023 (P1-04): IOPort
hm2/hm2_7i92.0: IO Pin 024 (P1-17): IOPort
hm2/hm2_7i92.0: IO Pin 025 (P1-05): IOPort
hm2/hm2_7i92.0: IO Pin 026 (P1-06): IOPort
hm2/hm2_7i92.0: IO Pin 027 (P1-07): IOPort
hm2/hm2_7i92.0: IO Pin 028 (P1-08): IOPort
hm2/hm2_7i92.0: IO Pin 029 (P1-09): IOPort
hm2/hm2_7i92.0: IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0: IO Pin 031 (P1-11): IOPort
hm2/hm2_7i92.0: IO Pin 032 (P1-12): IOPort
hm2/hm2_7i92.0: IO Pin 033 (P1-13): IOPort
hm2/hm2_7i92.0: registered
Found file(REL): ./AXYZ_connect.hal
./AXYZ_connect.hal:131: setp requires 2 arguments, 10 given
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/travis/linuxcnc_debug.txt
and
/home/travis/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
travis@cnc:~$
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Elite Member
-
Less
More
- Posts: 283
- Thank you received: 103
13 Mar 2025 12:52 #323827
by unknown
Replied by unknown on topic Trouble getting a new configuration running.
Did you try removing everything after the # symbol ?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Online
- Moderator
-
Less
More
- Posts: 19974
- Thank you received: 6783
13 Mar 2025 13:49 #323834
by tommylight
Replied by tommylight on topic Trouble getting a new configuration running.
Ini file, from this under joint 4
STEP_SCALE = 3.9307 # 1414.752 steps / 360° for 10-tool carousel
to this
STEP_SCALE = 3.9307
STEP_SCALE = 3.9307 # 1414.752 steps / 360° for 10-tool carousel
to this
STEP_SCALE = 3.9307
Please Log in or Create an account to join the conversation.
- atrex77
-
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 6
13 Mar 2025 14:18 #323843
by atrex77
Replied by atrex77 on topic Trouble getting a new configuration running.
can you share the AXYZ_connect.hal file?
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Elite Member
-
Less
More
- Posts: 283
- Thank you received: 103
14 Mar 2025 06:55 #323890
by unknown
Replied by unknown on topic Trouble getting a new configuration running.
The opening post has all the files as attachments, just download and save them.can you share the AXYZ_connect.hal file?
Please Log in or Create an account to join the conversation.
Time to create page: 0.082 seconds