Appendix A
A-7
A
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_Connect (Establish DB Connection)
0406 hex Illegal Data Position Specified The DBConnectionName input variable is a text string consisting of
NULL characters (16#00) only.
0410 hex Text String Format Error ï‚– A space character is included in the text string specified for the
DBConnectionName input variable.
ï‚–
The DBConnectionName input variable does not end in NULL.
041D hex Too Many Instructions Executed at the
More than 32 DB Connection Instructions were executed at the same
3000 hex DB Connection Service not Started The instruction was executed when the DB Connection Service was not
3002 hex DB Connection Service Shutdown or
The instruction was executed after the DB Connection Service was shut
down or while the DB Connection Service was being shut down.
3003 hex Invalid DB Connection Name The DB Connection name specified in the DBConnectionName input
variable is not set in any DB Connection Settings.
The DB set in the DB Connection Settings rejected the connection.
3005 hex DB Connection Failed ï‚– The DB Connection Service cannot communicate with the DB due to
a network failure or other factors.
ï‚–
The address set in the DB Connection Settings is wrong.
DB Connection Already Established
A same-name DB Connection is already established.
3007 hex Too Many DB Connections The number of DB Connections that can be established at the same
3008 hex Invalid DB Connection The instruction was executed for the same connection at the same
3013 hex DB Connection Service Error Stop The instruction was executed while the DB Connection Service was
3015 hex DB Connection Service Initializing The instruction was executed while the initialization processing of the
DB Connection Service was in progress.
Function
This instruction is used to connect to the DB specified in the DBConnectionName input variable.
The DB Connection name is set in the DB Connection Settings on Sysmac Studio.
When this instruction is normally completed (i.e. when the Done output variable changes to TRUE), a DB
Connection is established and a value is output to the DBConnection output variable. This value is used to
specify a DB Connection in some instructions described below.
A-1 DB Connection Instructions and Variables