- Posts: 13
- Thank you received: 0
Error messages when trying to run GCode
2 years 1 month ago #310306
by Mae22
Error messages when trying to run GCode was created 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.
Many thanks in advance.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 1 month ago #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.
Please Log in to join the conversation.
2 years 1 month ago #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.
Please Log in to join the conversation.
2 years 1 month ago #310311
by Mae22
Replied by Mae22 on topic Error messages when trying to run GCode
HAL Files
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 1 month ago #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 erroring at touch off seems a bit strange as it does not involve any MDI command.
Please Log in to join the conversation.
2 years 1 month ago #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 to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 1 month ago #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 ???
Edit
In your ini file, there are home_search_velocity and home_latch_velocity but there is no home_final_velocity ???
Please Log in to join the conversation.
2 years 1 month ago #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.
Please Log in to join the conversation.
2 years 1 month ago #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
linuxcnc.org/docs/html/config/ini-homing...l#sec:homing-section
Please Log in to join the conversation.
Time to create page: 0.566 seconds
