Appendix A
A-69
A
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_GetConnectionStatus (Get DB Connection Status)
Structured Text (ST)
Main Variables
DB_GetConnectionStatus_instance DB_GetConnectionStatus --- Instance of DB_GetConnectionStatus
Trigger BOOL FALSE Variable used as a trigger for getting
the status of the DB Connection
LastTrigger BOOL FALSE Variable to retain the trigger status of
Operating BOOL FALSE The DB_GetConnectionStatus
instruction is executed when this
OperatingStart BOOL FALSE The initialization processing is
executed when this variable is TRUE.
MyStatus _sDBC_CONNECTION_STATUS --- This variable is assigned to the
ConnectionStatus output variable
from
DB_GetConnectionStatus_instance.
Warning BOOL FALSE This variable changes to TRUE when
the Spool usage has exceeded 80%.
DB Connection Instructions