EasyManuals Logo

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 #113 background imageLoading...
Page #113 background image
5 Other Functions
5-19
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
5
5-4 How to Prevent Losing SQL Statements
at Power Interruption
5-4-2 Procedures
Necessary Actions against Power Interruption
You need to take an action against power interruption according to when power interruption
occurs.
This section describes the necessary actions using the following figure.
Server
Relational Database
CPU Unit
DB Connection Service
EtherNet/IP
DB Connection Instruction
Program
1) Executed
2) Reading DB Map
Variable
3) Sending SQL
statement
4) Response from DB
When spooling is enabled
5) Spooling the data when failure occurred
5)’ Spooling the data when Instruction Execution
Timeout occurred
6) Normal response
received
6)’ Data spooled
DB_Insert
DBConnection
Busy
Execute
Done
Error
ErrorID
MapVar
SendStatus
TimeOut
Spool memory
Dedicated area for the Spool function
or EM Area
(non-volatile memory)
INSERT ...
INSERT ...
INSERT ...
The numbers in the following table are corresponding to the numbers in the above figure.
Power interruption timing during execution of
a DB Connection Instruction
Value of SendStatus
output variable
Action
1) Executed
(When instruction
execution is
started)
Until the DB Connection Service
reads the present value of the
DB Map Variable after Execute
of the DB Connection Instruction
changed from FALSE to TRUE
_DBC_SEND_SENDING:
Sending SQL statement
Resend by user program
2) Reading DB Map
Variable
Until the DB Connection Service
sends the SQL statement to the
DB after the service started
reading the present value of the
DB Map Variable
3) Sending SQL
statement
Until the transmission is
completed since immediately
before the DB Connection
Service sends the SQL
statement to the DB
4) Response from
DB
Until the response from DB is
received after the SQL statement
was sent to DB
5) Spooling the
data when failure
occurred
While the SQL statement is
being spooled because a failure
has occurred
(when spooling is enabled)
5)’ Spooling the
data when
Instruction
Execution Timeout
occurred
While the SQL statement is
being spooled because an
Instruction Execution Timeout
has occurred.
(when spooling is enabled)
6) Normal response
received
After normal response is
received from the DB
_DBC_SEND_COMPLETE:
SQL statement transmission
completed
Action not required
6)’ Data spooled After the SQL statement is
spooled
(when spooling is enabled)
_DBC_SEND_SPOOLED:
SQL statement spooled
Resend by Spool function
(auto resend or manual
resend)

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