Error when ending a programm

More
18 Oct 2020 17:46 #186480 by MatthiasF1210
Hi,

since I am in the final testing of my machine after I did the upgrade to 2.8 I have some minor things, which I can't solve.

If I abort a NC-Program (by pressing the red X button), I get the error "Failed to find sub 'Oon-abort' before EOF". This looks like an typo, but I can't find it....



Thanks

Matthias
Attachments:

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

More
18 Oct 2020 19:56 #186495 by MaHa
Replied by MaHa on topic Error when ending a programm
In .ini file, the entry should be as

[RS274NGC]

ON_ABORT_COMMAND=O <on_abort> call

and 'on_abort.ngc' must be in the subroutine path

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

More
18 Oct 2020 20:38 - 18 Oct 2020 20:48 #186508 by MatthiasF1210
Hi,

my ini File
ON_ABORT_COMMAND=O<on_abort> call

my on_abort.ngc
%
O<on_abort> sub

G90
G40
G49

O<on_abort> endsub
%

I just added a Button in MDI for the "on_abort" macro. It works as expected.

See my ini File attached.
Attachments:
Last edit: 18 Oct 2020 20:48 by MatthiasF1210.

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

More
25 Oct 2020 14:42 #187191 by newbynobi
Does the macro work if you just enter the command in the MDI entry?

Norbert

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

More
04 Nov 2020 17:01 #188325 by linux_tux
Hello,
I had a similar problem, I had a% at the beginning and a% at the end in the main program. I deleted them and no more error messages.

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

Moderators: newbynobi
Time to create page: 0.218 seconds
Powered by Kunena Forum