Hi all,
Some time ago I started working with CNC machine. It is managed by LinuxCNC with gmoccapy.
I have made some macros that are helping me (resetting axis, tool change and measure etc.).
The problem is that the simplest and shortest macro is not ending, I must stop it manually by clicking icon. The source code of it is under. Macro shuld reset X and Y in G54 in the position it is. It is doing this but isn't ending.
Code:
o<zerujxy> sub
G92.1
G92.2
G40
G10 L20 P0 X0 Y0
o<zerujxy> endsub
m2
Maybe you have any ideas why it isn't working as I expect.
Pawel