![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686440.webp)
WWW.NNC.IR
Macro Reference
438
Vision System FH/FZ5 Series
User’s Manual (Z340)
CopyMeasureImage
Copies the measurement image as an image of the Unit Macro processing unit.
Format
CopyMeasureImage <measureImageNo>, <myImageNo>
Parameter
Return value
None.
Description
Copies the image with the measurement image number specified in the <measureImageNo> parameter to
the image buffer of the image number specified in the <myImageNo> parameter of the Unit Macro processing
unit that calls this macro function.
Normally 0 should be specified in the <measureImageNo> parameter.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values are specified for a
parameter, an "Illegal function call" error will occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
Example
Stores the measurement image of each measurement in order in the image buffer.
Useable Modules
Unit macro
Parameter
name
Data type
Description
<measureImageNo> Integer type
Measurement image number (always 0)
<myImageNo> Integer type
Image number of copy destination (0 to 31)
Rem Calculate the image buffer number
MYIMAGENO& = MYIMAGENO& + 1
Rem Overwrite the 32nd and following images in order from the oldest image.
If MYIMAGENO& > 31 Then
MYIMAGENO& = 0
Endif
Rem Store the measurement image in the image buffer of the Unit Macro processing unit.
CopyMeasureImage 0, MYIMAGENO&
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...