1 Introduction to the DB Connection Service
1-11
1
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
1-3 Operation Flow of the
STEP 7 Transferring a Project to the CPU Unit
Refer to 3-5
Programming and
STEP 8 Starting the DB Connection Service
Refer to 4 Basic
Operations and Status
Check.
Use any of the following methods to start the DB Connection Service.
ï‚–
Automatically start the service when the operating mode of the CPU Unit is changed from
PROGRAM mode to RUN mode.
ï‚– Right-click DB Connection Service Settings under Configurations and Setup - Host
Connection Settings - DB Connection in the Multiview Explorer and select Online
Settings from the menu. Then, click the Start (Test Mode) or Start (Operation Mode)
Button.
ï‚– Execute a DB_ControlService (Control DB Connection Service) instruction.
Specify the following Run mode when starting the DB Connection Service.
ï‚– When the specified DB does not exist in the server or when the DB exists but not connected:
Specify the Test Mode.
ï‚–
When the specified DB is connected: Specify the Operation Mode.
STEP 9 Executing DB Connection Instructions
Refer to 3-5-2 DB
Connection Instruction
Set and Appendix DB
Connection
Confirm that the operation status of the DB Connection Service is Running with the
_DBC_Status.Run system-defined variable (Running flag of the DB Connection Service) and
then execute the DB Connection Instructions.
STEP 10 Debugging the DB Connection
Instructions
Refer to 3-6 Debugging
in Design, Startup, and
Operation Phases.