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 #214 background imageLoading...
Page #214 background image
Appendix A
A-26
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
Insert production data to the DB Connection MyDB1.
Set the timeout for instruction execution to 200 ms.
Operating_Insert
DB_Insert_instance
MyDB1
MapVar_Insert
T#200ms
Execute
DBConnection
MapVar
TimeOut
DB_Insert
Done
Busy
Error
ErrorID
SendStatus
When the instruction is terminated due to an error, execute the error handler for the device (FaultHandler_Insert).
Program the FaultHandler_Insert according to the device.
Operating_Inser
t
DB_Insert_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;
// Close the DB Connection.
Trigger_Close := TRUE;
// Error handler
FaultHandler_Insert();
- Update the records in the DB Connection MyDB1 when the variable Trigger_Update changes to TRUE.
Check the completion of the DB_Update instruction.
DB_Update_instance.Done
OperatingEnd_Update
DB_Update
_instance.Error
Accept the trigger for updating DB records.
Trigger_Update
Operating_Update
RS_Update_instance
OperatingEnd_Update
Set
Reset1
RS
Q1
Create production data to update.
Create the conditions for Where clause.
Operating_Update
// Create production data to update.
MapVar_Update.Status := ’OK’;
MapVar_Update.FinishTime := GetTime();
// Create conditions for Where clause ("LotNo" = XXXX AND "Status" = 'Busy')
WhereCond := CONCAT(
'"LotNo" = $'',
UINT_TO_STRING( LotNo ),
'$' AND "Status" = $'Busy$''
);

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