![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222287.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
285
Gets a processing time
Timer(<start>, <mode>))
Parameters
<start>
The real type variable saving the return value of StartTimer (the real type array element is
acceptable)
<mode>
The mode of the time
0:The elapsed time of each ms is acquired
1:The elapsed time of each μs is acquired
Return Value
The elapsed time since the measurement start time.
The acquired value is an integral value of the unit according to the specification of the argument
<mode>, and it is omitted below the decimal point. Moreover, the error margin can be caused by the
processing time of the StartTimer function and the Timer function at the acquisition time.
Description
Get the amount of time that has elapsed after StartTimer function is called .
Example
By on the store (which can be an element of real array) real variable the return value of this function,
passed to the first argument of the function Timer, of measuring the elapsed time between function calls
Timer from function calls StartTimer the typical usage is
T#=StartTimer
*(Processing of the measurement object processing time)
TIME&=Timer(T#,0)
This program example will be stored in an integer variable unit processing time of processing of the * ms
that TIME &
Carries out exception handling.
Try
<Target Statement for Error Detection>
Catch
<Statement at the time when the Error occurs>
End Try
Parameters
<Target Statement for Error Detection>
The statement in which the error is to be detected (statement).
<Statement at the time when the Error occurs>
The statement to be executed when an error is detected
(statement).
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......