Omron NX701-1620 User Manual page 254

Machine automation controller nj/nx-series database connection cpu units
Hide thumbs Also See for NX701-1620:
Table of Contents

Advertisement

Appendix A
Related System-defined Variables
Name
_EIP_EtnOnlineSta
Related Error Codes
Error code
0406 hex
Illegal Data Position Specified
0410 hex
Text String Format Error
041D hex
Too Many Instructions Executed at
the Same Time
3000 hex
DB Connection Service not Started
3002 hex
DB Connection Service Shutdown or
Shutting Down
3003 hex
Invalid DB Connection Name
3013 hex
DB Connection Service Error Stop
3015 hex
DB Connection Service Initializing
Function
This instruction is used to get the status of the DB Connection specified in the DBConnection input variable. The
current status is output to the ConnectionStatus output variable.
Refer to the ■ ServiceStatus of A-1-2 Variables Used in the DB Connection Instructions for the status.
Refer to Section B-2-3 How to Measure DB Response Time for the measurement of the DB response time.
Precautions for Correct Use
 Execution of this instruction is continued until processing is completed even if the value of Execute changes to
FALSE or the execution time exceeds the task period. The value of Done changes to TRUE when processing
is completed. Use this to confirm normal completion of processing.
 Refer to Using this Section of the NJ/NX-series Instructions Reference Manual (Cat. No. W502) for a timing
chart for Execute, Done, Busy, and Error.
 This instruction cannot be used on an event task. A compiling error will occur.
 If you execute this instruction before completion of a DB_Connect instruction and confirm that the connection
status of the DB Connection is Connected, an instruction error (Invalid DB Connection) may occur when you
execute the next DB Connection Instruction. When you use the DBConnection output variable from the
DB_Connect instruction, confirm that the Done output variable of the DB_Connect instruction is TRUE or the
value of the DBConnection output variable is not 16#00000000 before executing the DB Connection
Instruction.
 An error occurs for this instruction in the following cases. Error will be TRUE.
 When the instruction was executed when the DB Connection Service was not running
 When the instruction was executed while the initialization processing of the DB Connection Service
was in progress
A-66
Meaning
Online
Meaning
The DBConnectionName input variable is a text string consisting of NULL
characters (16#00) only.
 A space character is included in the text string specified for the
DBConnectionName input variable.
 The DBConnectionName input variable does not end in NULL.
More than 32 DB Connection Instructions were executed at the same time.
The instruction was executed when the DB Connection Service was not running.
The instruction was executed after the DB Connection Service was shut down or
while the DB Connection Service was being shut down.
The DB Connection name specified in the DBConnectionName input variable is
not set in any DB Connection Settings.
The instruction was executed while the DB Connection Service was stopped due
to an error.
The instruction was executed while the initialization processing of the DB
Connection Service was in progress.
Data type
BOOL
Status of the communications function of
the built-in EtherNet/IP port.
TRUE: Can be used.
FALSE: Cannot be used.
Description
NJ/NX-series Database Connection CPU Units User's Manual (W527)
Description

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents