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 #215 background imageLoading...
Page #215 background image
Appendix A
A-27
A
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_Update (Update DB Record)
Update production data in the DB Connection MyDB1.
Set the timeout for instruction execution to 500 ms.
Operating_Update
DB_Update
_instance
MyDB1
MapVar_Update
WhereCond
T#500ms
Execute
DBConnection
MapVar
Where
TimeOut
DB_Update
Done
Busy
Error
ErrorID
RecCnt
SendStatus
When the instruction is terminated due to an error, execute the error handler for the device (FaultHandler_Update).
Program the FaultHandler_Update according to the device.
Operating_Update
DB_Update_instance.Error
// Go to next step when the instruction is not completed within the specified time
IF DB_Insert_instance.ErrorID = 16#3012 THEN
RETURN;
ENDIF;
// Error handler
FaultHandler_Update();
Close the DB Connection MyDB1.
Check the completion of the DB_Close instruction.
DB_Close_instance.Done
OperatingEnd_Close
DB_Close_instance.Error
Accept the trigger for closing the DB Connection.
Trigger_
Close
Operating_Close
RS_Close_instance
OperatingEnd_Close
Set
Reset1
RS
Q1
Close the DB Connection MyDB1.
Operating_Close
DB_Close_instance
MyDB1
Execute
DBConnection
DB_Close
Done
Busy
Error
ErrorID
When the instruction is terminated due to an error, execute the error handler for the device (FaultHandler_Close).
Program the FaultHandler_Close according to the device.
Operating_Close
DB_Close_instance.Error
EN
FaultHandler_Close
FaultHandler_Close
DB Connection Instructions

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