Min and Max Limits

More
03 Dec 2023 07:12 - 03 Dec 2023 07:39 #287070 by smplc
Min and Max Limits was created by smplc
#1 SMP PREEMPT_RT Debian 6.1.38-2 (2023-07-27).  LinuxCNC 2.9.0.  Axis Lathe.  The lathe .ini file Axis and Joint, Min_Limit and Max_Limit distances have been set the same for X and Z axis from home to workpiece boundaries.  Presently, limiting switches aren't mounted on the lathe.  The axes were jogged until they limited out at the boundaries and appeared okay.  MDI, g91, and rapid from each home position to each Min_Limit position appeared okay too.  Start or Single Block, automatic cycle and a pop-up box are 'Program exceeds machine limits' and 'Program exceeds machine maximum on axis X'.  Then the lathe .ini set each Joint a little greater than each Axis, start auto cycle and still the 'Program exceeds machine limits' pop-up.  Why?  The program coordinates don't appear to overtravel the workpiece boundaries which include two tools on a magazine each side of the centerline.  One tool is facing and turning +X and the other tool is a reference stop (index bar stock) and part-off -X (separate offsets).  The tool geometry was measured with a scale and verified the tools touched off correctly.  As noticed in the Tool Table the following X axes tool geometry distances are radius instead of diameter from the work X0 which is the centerline of the workpiece.  Excluded the part-off tool program blocks as an experiment, started auto cycle, the 'Program exceeds machine limits' didn't pop-up box and the program executed without error.  Replaced the part-off tool program blocks and increased the 0 Joint and X Axis Max_Limit and decreased the 1 Joint and Z Axis Min_Limit both enormously for example.  The automatic cycle part-off tool program blocks did execute without the 'Program exceeds machine limits' pop-up box.  Beginning, the tool offset geometry radial distance from the facing and turning tool to the part-off tool and added program negative (-) and positive (+) coordinates aren't less than the Joint 0 and X-Axis, Min_Limit: -5.9 and not greater than Max_Limit: 0.7.  Additionally, the offset geometry longitude distance from the facing and turning tool to part-off tool and added program negative (-) and positive (+) coordinates aren't less than the Joint 1 and Z-Axis, Min_Limit: -5.95 and not greater than 0.75.  Home is the cross slide (magazine) and carriage both positive and near maximum travel (+X↓, +Z→).   Why is the 'Program exceeds machine limits' pop-up box appearing if the tool geometry (part-off tool) and program coordinates are within range of both the axes Min_Limit and Max_Limit?
Last edit: 03 Dec 2023 07:39 by smplc.

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

More
03 Dec 2023 08:50 #287074 by Aciera
Replied by Aciera on topic Min and Max Limits

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

More
03 Dec 2023 10:31 #287083 by rodw
Replied by rodw on topic Min and Max Limits
Download the 2.9.1 ISO from the downloads page as that issue was closed before its release.

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

More
18 Dec 2023 02:06 #288445 by smplc
Replied by smplc on topic Min and Max Limits
Thanks. I installed LinuxCNC 2.9.1. Shifted the work Z0 about 2.0, Dry Ran the entire program and went okay. Shifted the work Z0 back to -2.0 and auto cycled the tools bar stock stop and rough face and the travel limits didn't error. The rest of the part wasn't cut yet because the offset wear was increased and the 'Run from selected line' isn't restarting at the highlighted gray line. Is adjustable? Additionally, the Tool Table doesn't seem to recognize the Lathe Tool Orientation position 3 which would be for the tools bar stock stop and part-off. Is adjustable? Orientations 1, 6 and 2 seem as if they're the only recognizable positions yet.

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

More
18 Dec 2023 07:59 #288469 by Aciera
Replied by Aciera on topic Min and Max Limits
Regarding 'Run from selected Line' see:
forum.linuxcnc.org/38-general-linuxcnc-q...run-from-here#288305

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

More
22 Dec 2023 19:37 #288836 by smplc
Replied by smplc on topic Min and Max Limits
I suppose I could use Block Skip meanwhile but I'd rather not have so many forward slashes in the program. I'd like to try the code at github.com/LinuxCNC/linuxcnc/commit/a15c...509fdb837920aa7c8d2f. Thunar, File System, Ctrl + F and inserting the directory isn't recovering the particular axis.py file and lines to edit. For instance scripts, axis.py, and emc. Could the directory be somewhere else?

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

Time to create page: 0.141 seconds
Powered by Kunena Forum