If your Cicode stops running for some
unknown reason in the middle of its execution, check the hardware
alarm page for any errors. When Citect detects an error in your
Cicode and Citect considers that error fatal, Citect will halt your
Cicode and generate a hardware alarm. Check the hardware alarm page
for any errors generated when you run your Cicode. The ERRPAGE and
ERRDESC fields in the Hardware error will help you find the error.
You can stop Citect from halting your Cicode under most errors
conditions by using the function ErrSet(). See online help for full
details of the ErrSet() function. |