EasyManuals Logo
Home>Omron>Controller>NX701-1620

Omron NX701-1620 User Manual

Omron NX701-1620
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #194 background imageLoading...
Page #194 background image
Appendix A
A-6
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_Connect (Establish DB Connection)
The DB_Connect instruction connects to a specified DB.
Instruction
Name
FB/FUN
Graphic expression
ST expression
DB_Connect Establish
DB
Connection
FB
DB_Connect_instance(Execute,
DBConnectionName, Done, Busy,
Error, ErrorID, DBConnection);
Note The DB_Connect_instance is an instance of DB_Connect 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.
DBConnectionName DB
Connection
Name
STRING 17 bytes max.
(including the final
NULL character)
--- ‘’ Specify a DB Connection name
set on Sysmac Studio.
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.
DBConnection DB
Connection
DWORD 16#00000000
to
16#FFFFFFFF
--- Outputs a DB Connection.
Specify this DB Connection in DB_CreateMapping,
DB_Insert, DB_Update, DB_Select, DB_Delete,
and DB_Close instructions.
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_Connect
Busy
Execute
Done
Error
ErrorID
DBConnection
DBConnectionName
DB_Connect_instance

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX701-1620 and is the answer not in the manual?

Omron NX701-1620 Specifications

General IconGeneral
BrandOmron
ModelNX701-1620
CategoryController
LanguageEnglish

Related product manuals