Appendix A
A-63
A
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_GetServiceStatus (Get DB Connection Service Status)
Structured Text (ST)
Main Variables
DB_GetServiceStatus_instance
Instance of DB_GetServiceStatus instruction
Trigger BOOL FALSE Variable used as a trigger for getting the status
of the DB Connection Service
LastTrigger BOOL FALSE Variable to retain the trigger status of the
Operating BOOL FALSE The DB_GetServiceStatus instruction is
executed when this variable is TRUE.
OperatingStart BOOL FALSE The initialization processing is executed when
MyStatus _sDBC_SERVICE_STATUS --- This variable is assigned to the ServiceStatus
input variable to
DB_GetServiceStatus_instance.
Warning BOOL FALSE This variable changes to TRUE when the
number of error executions is 100 or greater.
DB Connection Instructions