Omron SYSMAC FH Series User Manual page 748

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

StartTimer
Starts the elapsed time measurement.
Format
StartTimer
Parameter
None.
Return value
Returns the elapsed time as a double precision type real number value.
Description
Starts the elapsed time measurement.
After starting measurment of elapsed time with this macro function, get the elapsed time by executing the
Timer function.
Execution of the ElapsedTime function is valid only for the processing units such as the unit calculation macro
and the Unit Macro processing units. In contrast, executions of this macro function and the Timer function are
valid for all macro customize functions.
If a value is assigned to the return value variable or the variable is not used in an expression, a "Syntax error"
error will occur.
Usage Cautions
• None.
Example
Measures the elapsed time since the beginning of the StartTimer function until the execution of the Timer
function.
T# = StartTimer
Rem Executes the process whose the process execution elapsed time is measured.
Rem Gets the elapsed time using the return value of the StartTimer function.
TIME& = Timer(T#, 0)
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
ElapsedTime (Reference:
Wait (Reference:
746
Macro Reference
Details (p.508))
Details (p.806))
WWW.NNC.IR
Timer (Reference:
Details (p.759))
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents