Hello Guest it is March 29, 2024, 09:21:34 AM

Author Topic: Mach3 hangs while loading program  (Read 1649 times)

0 Members and 1 Guest are viewing this topic.

Mach3 hangs while loading program
« on: April 04, 2022, 12:55:04 AM »
Hello, everyone

I programmed a macro that turns on an output and then waits for a limit switch. Short pause and the output is switched off again.
The program itself works when I call it.

ActivateSignal(Output4)

While IsActive(Input4)
Sleep100
Wend

Sleep500
DeactivateSignal(Output4)


But if I write the macro in a program so that it runs automatically. Mach3 gets stuck at the position of the macro and waits for the input. If I activate the input, the program is then loaded.
Mach 3 shouldn't get stuck in a loop condition while loading the program.
What can I do against it?

Thanks and best regards

Stefan

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3 hangs while loading program
« Reply #1 on: April 04, 2022, 02:29:44 AM »
check

Config -> General Config -> General Configuration -> Ignore M calls while loading
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3 hangs while loading program
« Reply #2 on: April 04, 2022, 02:43:05 AM »
Thank you.
I've been looking for a solution for days .

Have a nice day

Stefan