Error messages when trying to run GCode

More
17 Sep 2024 12:44 #310306 by Mae22
Ok myself and my partner are totally new to LinuxCNC having worked with Mach3/4 in the past. The problem we are having is that when we try to run a job we get error messages stating "cant issue MDI command when not homed.We first load our GCode and home the machine (front left of machine as your looking at it), we then move to the spoiler board just in front of the stock lower the Z axis to the spoiler, hit the touch off button put in -25.0 as our stock wood is 25mm thick, we then raise the Z axis and place it on the stock with the Z resting on the wood we then hit touch off for the Y and X axis leaving it at 0.0 and we use P1 G54 on all three axis. When doing the Touch off screens each time it sends up this error message, when we try and run the programme we then get the message "Program exceeds machine maximum on X, Y and Z. I'm hoping someone can enlighten us as to why this is happening is it something in the stepconf or INI file we have overlooked.
Many thanks in advance.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
17 Sep 2024 13:04 #310307 by tommylight
Replied by tommylight on topic Error messages when trying to run GCode
Seems the limits are not set properly, upload the hal and ini file here on the forum so we can have a look.
The following user(s) said Thank You: Mae22

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

More
17 Sep 2024 13:26 - 17 Sep 2024 14:58 #310309 by Mae22
Replied by Mae22 on topic Error messages when trying to run GCode
Here is the INI file. I will just add that we are using a Mach3 BOB as we are unable to get a Messa board at the moment due to stock. The other thing to mention is that we had to invert both the Direction and home for Y and X axis to get them to travel in the correct direction and home to the correct place.
Last edit: 17 Sep 2024 14:58 by Mae22. Reason: added a little information

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

More
17 Sep 2024 13:37 #310311 by Mae22
Replied by Mae22 on topic Error messages when trying to run GCode
HAL Files
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
17 Sep 2024 14:51 #310313 by tommylight
Replied by tommylight on topic Error messages when trying to run GCode
Try homing the machine, set Z so it does air cutting above the material, touch off all 3 axis at 0 and try a dry run of that gcode.
-
The erroring at touch off seems a bit strange as it does not involve any MDI command.
The following user(s) said Thank You: Mae22

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

More
17 Sep 2024 15:01 #310314 by Mae22
Replied by Mae22 on topic Error messages when trying to run GCode
I have tried to do this prior and we get the same error messages. And the erroring appears as you press ok on the touch off box. Its very strange i do wonder if its the board as we couldnt get a Messa board (they are out of stock) we have used the Mach3 BOB

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
17 Sep 2024 15:11 - 17 Sep 2024 15:13 #310315 by tommylight
Replied by tommylight on topic Error messages when trying to run GCode
Wait, are you homing the machine with "home all" button?
Edit
In your ini file, there are home_search_velocity and home_latch_velocity but there is no home_final_velocity ???
Last edit: 17 Sep 2024 15:13 by tommylight.
The following user(s) said Thank You: Mae22

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

More
17 Sep 2024 15:49 - 17 Sep 2024 16:02 #310319 by Mae22
Replied by Mae22 on topic Error messages when trying to run GCode
Thats interesting on our GUI we have a button that says "home axis", and i have to home individually each axis. On videos i have seen the same button says "home all". Is it possible to add this line and exactly where do i add it?? or do we need to download the whole program again.
Last edit: 17 Sep 2024 16:02 by Mae22. Reason: spelling error

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

More
17 Sep 2024 16:13 #310320 by Aciera
Replied by Aciera on topic Error messages when trying to run GCode
For 'Home All' you need to add a 'HOME_SEQUENCE' number to each [JOINT_n] section in your ini file:
linuxcnc.org/docs/html/config/ini-homing...l#sec:homing-section
The following user(s) said Thank You: Mae22

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

More
17 Sep 2024 16:26 #310321 by Mae22
Replied by Mae22 on topic Error messages when trying to run GCode
Thank You

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

Time to create page: 0.067 seconds
Powered by Kunena Forum