There is no equivalent Cicode shutdown
command, however you can run Cicode on shutdown by calling your
Cicode first - before calling the shutdown function.
There is no Cicode shutdown command because Citect does not want
to wait for your shutdown command to complete - before it can
shutdown the system. To implement your own shutdown Cicode write a
function similar to the example below, and call your shutdown
command to shut Cicode down:
FUNCTION
MyShutdown()
do my shutdown command stuff;
....
! once my shutdown stuff complete then shutdown
Citect
Shutdown();
END |