EasyManua.ls Logo

Omron NX701-1620 - Db_Close (Close DB Connection

Omron NX701-1620
306 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
Instruction
Name
FB/FUN
Graphic expression
ST expression
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
Name
Meaning
Data type
Valid range
Unit
Default
Description
Execute
Execute
BOOL
TRUE or FALSE
---
FALSE
Specify the execution condition.
DBConnection DB
Connection
DWORD
16#00000000 to
16#FFFFFFFF
--- --- Specify the DB Connection established
by a DB_Connect instruction.
Output Variables
Name
Meaning
Data type
Valid range
Unit
Description
Done Done BOOL TRUE or
FALSE
--- TRUE when the instruction is normally
completed.
Busy Executing BOOL TRUE or
FALSE
--- TRUE when the instruction is being executed.
Error Error BOOL TRUE or
FALSE
--- TRUE when the instruction is terminated due to
an error.
ErrorID Error Code WORD 16#0000 to
16#FFFF
--- Contains the error code when an error occurs.
Related System-defined Variables
Name
Meaning
Data type
Description
_EIP_EtnOnlineSta Online BOOL Status of the communications function of
the built-in EtherNet/IP port.
TRUE: Can be used.
FALSE: Cannot be used.
DB_Close
DBConnection
Busy
Execute
Done
Error
ErrorID
DB_Close_instance
DB_Close (Close DB Connection)
DB Connection Instructions

Table of Contents

Related product manuals