EasyManuals Logo
Home>Omron>Controller>NX701-1620

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 #283 background imageLoading...
Page #283 background image
Appendix B
B-7
B
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
B-1-3 How to Measure Execution Time of DB Connection Instructions
The execution time of DB Connection Instructions can be measured by a Get1msCnt instruction. The
instruction calculates the value of free-running counter of the cycle from when the Busy output variable
changes to TRUE to when the variable changes to FALSE.
ï‚– Example for measuring execution time of a DB_Insert instruction
Insert a record to the DB Connection MyDB1.
Operating
DB_Insert_instance
MyDB1
MapVar_Insert
Execute
DBConnection
MapVar
TimeOut
DB_Insert
Done
Busy
Error
ErrorID
SendStatus
Measure execution time of the DB_Insert instruction and output the result to the ExecTime_msec
output variable of the SUB instruction.
DB_Insert_instance.Busy
EN
Get1msCnt
ENO
BeginCnt
DB_Insert_instance.Busy
EN
Get1msCnt
ENO
EndCnt
EndCnt
BeginCnt
EN
In1
In2
SUB
ENO
ExecTime_msec
B-1 Task Design Procedure
B-1-3 How to Measure Execution Time of 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