Timeout Monitoring Functions - Omron NX701-1620 User Manual

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

Advertisement

5 Other Functions

5-5 Timeout Monitoring Functions

This section describes timeout monitoring for the DB Connection Service.
5-5-1

Timeout Monitoring Functions

The following figure shows the types of timeouts that can be monitored.
User program
DB Connection
Instruction
DB_Insert
DBConnection
abc
MapVar
Function name
Login timeout
Query execution
timeout ((a) in the
above figure)
Communications
timeout ((b) in the
above figure)
Instruction execution
timeout ((c) in the
above figure)
Keep Alive monitoring
time
* The time to detect a communications timeout differs by the DB type and DB status.
5-22
CPU Unit
DB Connection Service
(c)
Setting range
1 to 60 seconds
Time until the DB Connection Service
Default: 10 seconds
detects a login failure due to a
communications failure between DB
Connection Service and DB or server's
problem
1 to 600 seconds
Time until the DB Connection Service
Default: 30 seconds
detects an error when the DB takes
time for query execution.
You can cancel the SQL operation
when the DB takes longer than
expected for query execution.
Time specified for Query
Time until the DB Connection Service
execution timeout plus
detects an error due to a
10 seconds*
communications failure between DB
Connection Service and DB
Not monitored, or
Time until the DB Connection Service
0.05 to180 seconds
detects an error when a DB_Insert,
Default: Not monitored
DB_Update, DB_Select or DB_Delete
instruction takes time due to a
communications failure between DB
Connection Service and DB or server's
problem or heavy load.
You can use this when you do not want
to extend the takt time (i.e., lower the
equipment performance).
1 to 65535 seconds
This function is used to check whether
Default: 300 seconds
the server is normally connected.
When you set this Keep Alive
monitoring time, a communications
failure can be detected even while the
DB Connection Service is waiting for a
response from the server because the
DB is executing a query.
NJ/NX-series Database Connection CPU Units User's Manual (W527)
Server
EtherNet/IP
(b)
(a)
Description
Relational database
Reference
Refer to 2-2-2 DB
Connection Settings.
Refer to 2-2-2 DB
Connection Settings.
---
Refer to Appendix
DB Connection
Instructions.
Refer to the
NJ/NX-series CPU
Unit Built-in
EtherNet/IP Port
User's Manual (Cat.
No. W506).

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents