[Solved] How to stop a Kawasaki program

We are running a Program via autostart.pc()
the code goes as follows

.PROGRAM autostart.pc()
WAIT SWITCH(POWER)
CALL main
.END

We do send a stop command in the main function but the program keeps on running. How can we stop a program that is run via autostart.pc() externally.

Best regards,
Marcel (Team airborne)

The Kawasaki language guide explains how autostart programs are actually pcprograms.

There are five autostart programs, and you should be able to abort / kill them with:

PCABORT 1:
PCKILL 1: