Appendix A
A-9
A
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_Close (Close DB Connection)
The DB_Close instruction closes the connection with the DB established by a DB_Connect (Establish
DB Connection) instruction.
DB_Close Close DB
Connection
FB
DB_Close_instance (Execute,
DBConnection, Done, Busy, Error,
ErrorID);
Note The DB_Close_instance is an instance of DB_Close instruction, which is declared as a variable.
Variables
Input Variables
Specify the execution condition.
16#00000000 to
16#FFFFFFFF
--- --- Specify the DB Connection established
by a DB_Connect instruction.
--- TRUE when the instruction is normally
Busy Executing BOOL TRUE or
--- TRUE when the instruction is being executed.
Error Error BOOL TRUE or
--- TRUE when the instruction is terminated due to
ErrorID Error Code WORD 16#0000 to
--- Contains the error code when an error occurs.
Related System-defined Variables
_EIP_EtnOnlineSta Online BOOL Status of the communications function of
the built-in EtherNet/IP port.
TRUE: Can be used.
DBConnection
Busy
Execute
Done
Error
ErrorID
DB_Close (Close DB Connection)
DB Connection Instructions