Few questions regarding Motion Perfect

Few questions regarding Motion Perfect

If you want to do the same as the Motion Stop button in Motion Perfect then this is the command list done by Motion Stop:

RAPIDSTOP(2)
HALT
WDOG=0

That stops all axes, stops all programs and disables the drives.