RTK_OnBugCheck

Function - Keeps the RTK running after a Blue screen of Death of MS Windows XP

by COPA-DATA GmbH

Inputs

Continue : BOOL       Set to TRUE if the RTK should remain running after a Blue screen of Death. Set to FALSE to shut down the RTK after a Blue screen of Death considering the Shutdown program if declared.

Outputs

Q : BOOL              Represents the value of the input

Remarks

Designed for COPA-DATA's RTK Real-time Runtime for Windows XP only.

Note: After a Blue screen of Death of MS Windows XP Windows specific functions in the PLC code can not be executed any more. These are: File operations, TCP functions, Serial interface functions, non real time fieldbus drivers, System clock functions, RETAIN variables, writing log messages,...

In LD language, the input rung (EN) is the input. The output rung is the output signal Q.

ST Language

Q := RTK_IsBugCheck ();

FBD Language

LD Language

(* The Function is performed when the EN input is TRUE *)

IL Language

Op1: LD           Continue
    RTK_OnBugCheck 
      ST                Q