Omron SYSMAC FH Series User Manual page 617

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

Advertisement

MeasureId$
Gets the measurement identification.
Format
MeasureId$
Parameter
None.
Return value
Returns the measurement identification as a character string.
The measurement identification is a character string in the format (YYYY-MM-DD_HH-MM-SS-XXXX) that
consists of the date and time of the internal clock at the time measurement was executed. The date consists
of the year (YYYY), month (MM), and day (DD), separated by hyphens (-), and the time consists of the hour
(HH), minute (MM), second (SS), and 100-
joined by an underline.
Description
Gets the measurement identification.
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
• This macro function can only be used in the *MEASUREPROC subroutine. If used in any other subroutines,
an error will occur and the function will not be executed.
Example
In the *MEASUREPROC subroutine of the Unit Macro processing unit, gets the measurement identification
and saves the processing unit measurement image with the measurement identification as the file name.
*MEASUREPROC
Rem Get the measurement identification to set the character string for the file name.
FILENAME$ = MeasureId$ + ".bmp"
Rem Output measurement image 0 in bitmap format.
SaveMeasureImage 0, FILENAME$, 0
Return
Useable Modules
Unit Macro / Unit Calculation Macro
Supported Versions
Version 3.50 or later
Related Items
SaveMeasureImage (Reference:
Vision System FH/FZ5 Series
User's Manual (Z340)
sec (XXXX), separated by hyphens (-), with the two segments
μ
Details (p.673))
WWW.NNC.IR
8
615
Macro Reference

Advertisement

Table of Contents
loading

Table of Contents