- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I would like to report a malfunction in the Hurco post processor, version 44180, without any customization.
The issue occurs when the M140 command is enabled. Specifically, when the following line is generated:
G0 M140
the post does not output the safety command G53 Z0 before executing:
G0 B0. C-180
This omission can lead to a collision, if the head is tilted at B-90 and positioned close to the table, since the Z-axis retraction is not performed beforehand.
Additionally, I noticed that in the onClose() function, the G69 command is issued before the G0 M140, which is not correct for safe tool retraction on swivel-head machines.
I am attaching the correct code below to ensure safe machining operations.
How can I modify the post processor so that it:
Always inserts G53 Z0 before critical movements like G0 B0. C-180 when M140 is present.
Outputs G0 M140 before G69, maintaining the correct order?
Thank you in advance for your support.
Best regards.
https://a360.co/4ktT9fn (for test)
N62 G0 B-90. C-180.
N63 G68.2 X0. Y0. Z0. B-90. C-180.
N64 G8.2 X-40. Y0. Z264.05 B-90. C-180.
...
N70 G81 X-40. Y0. Z30. R45. F200.
N71 G80
N72 Z264.05
N73 M5
N74 G0 M140
N75 G69
G53 Z0 (Z Home Command) <-- NEED
N76 M35
N77 M13
N78 G0 B0. C-180.
... (onClose)
N100 G0 Z57.213
N101 M9
N102 G69
N103 G0 M140 (Retract Along Tool Vector) Invert the order
G53 Z0 <-- ADD
N104 M31
N105 M35
N106 M13
N107 G0 B0. C0.
N108 M127
N109 G53 G0 X0. Y0.
N110 M61
N111 M2
E
Solved! Go to Solution.