Omron SYSMAC FH Series User Manual page 769

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

Advertisement

TransformDist
Applies a calibration result and position correction amount to a distance value.
Format
TransformDist <unitNo>, <imageNo>, <mode>, <srcDist>, <destDist>
Parameter
Parameter
Data type
name
<unitNo>
Integer type
<imageNo>
Integer type
<mode>
Integer type
Double
precision real
<srcDist>
number data
type
Double
precision real
<destDist>
number data
type
Return value
None.
Description
Applies the transformation information specified in the <mode> parameter to the distance value specified in
the <srcDist> parameter on the image specified in the <imageNo> parameter, of the processing unit specified
in the <unitNo> parameter.
Specify 0, 1, or 10 in the <mode> parameter. If a value other than 0, 1, and 10 is specified, operation after the
execution of this macro function will be undefined.
In the <destDist> parameter, specify the variable that holds the transformed distance value.
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 is specified for a parameter,
an "Illegal function call" 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.
Vision System FH/FZ5 Series
User's Manual (Z340)
Processing unit number (0 to (number of processing units of current scene minus one)) of
the processing unit that holds the data to be converted.
Measurement image number (always 0) of the processing unit that holds the data to be
transformed
Transformation mode
0: After image transformation. -> Before image transformation.
1: Before image transformation. -> After image transformation.
10: Camera coordinates -> After calibration
Pre-transformation distance gotten from the processing unit that holds the data to be
transformed.
Distance after the transformation
WWW.NNC.IR
Description
8
767
Macro Reference

Advertisement

Table of Contents
loading

Table of Contents