EasyManua.ls Logo

Omron NX701-1620 - Db_Getconnectionstatus (Get DB Connection Status

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-65
A
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_GetConnectionStatus (Get DB Connection Status)
DB_GetConnectionStatus (Get DB Connection
Status)
The DB_GetConnectionStatus instruction gets the status of a DB Connection.
Instruction
Name
FB/FUN
Graphic expression
ST expression
DB_GetConnection
Status
Get DB
Connection
Status
FB
DB_GetConnectionStatus_i
nstance (Execute,
DBConnectionName,
Done, Busy, Error, ErrorID,
ConnectionStatus);
Note The DB_GetConnectionStatus_instance is an instance of DB_GetConnectionStatus 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.
ConnectionStatus Connection
Status
_sDBC_CONNECTION
_STATUS
Depends on
the data type
Shows the status of the connection
specified in the DBConnectionName input
variable.
Busy
Done
Error
ErrorID
DB_GetConnectionStatus
DBConnectionName
Execute
ConnectionStatus
DB_GetConnectionStatus_instance
DB Connection Instructions

Table of Contents

Related product manuals