4 Basic Operations and Status Check
4-8
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
Idle The DB Connection Service is not
running without having any error.
The DB Connection settings can be changed.
The DB Connection Instructions cannot be
Running (Operating Mode) The DB Connection Service is
running in Operation Mode.
The DB Connection settings cannot be
changed.
The DB Connection Instructions can be
Running (Test Mode) The DB Connection Service is
running in Test Mode.
The DB Connection settings cannot be
changed.
The DB Connection Instructions can be
executed (, but SQL statements are not sent to
Error The DB Connection Service cannot
run due to an error.
The status changes to Error in the following
case.
ï‚– When the DB Connection Service settings
Shutdown The DB Connection Service is
already shut down.
The status changes to Shutdown when the DB
Connection Service is shut down by an
instruction or Sysmac Studio operation.
After the shutdown processing of the DB
Connection Service is completed, you can
safely turn OFF the power supply to the CPU
Unit. You cannot start the DB Connection
Service again until you execute the Reset
Controller operation or cycle the power supply
4-3-2 Checking the Status of the DB Connection Service
You can use the following methods to check the status of the DB Connection Service.
ï‚– DB Connection Service Monitor of Sysmac Studio
ï‚– DB_GetServiceStatus (Get DB Connection Service Status) instruction
ï‚– System-defined variable
Checking the Status with DB Connection Service Monitor of Sysmac Studio
Right-click DB Connection Service Settings under Configurations and Setup - Host
Connection Settings - DB Connection in the Multiview Explorer and select Monitor DB
Connection Service from the menu while online with an NJ/NX-series CPU Unit.
The following DB Connection Service Monitor Tab Page is displayed.