![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686772.webp)
WWW.NNC.IR
Macro Reference
770
Vision System FH/FZ5 Series
User’s Manual (Z340)
Description
Applies the transformation information specified in the <mode> parameter to the line components of the lines
specified in the <srcA>, <srcB>, and <srcC> parameters 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 <destA>, <destB>, and <destC> parameters, specify the variables that will hold the transformed line
component values.
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.
Example
Transforms the values of the line components measured with the scan edge position processing unit of
Processing Unit number 2 before calibration is applied, to the values of the line components after calibration
is applied. "Line component A" is the external reference parameter identification name "coefficientA", "line
component B" is the external reference parameter identification name "coefficientB", and "line component C"
is the external reference parameter identification name "coefficientC".
Useable Modules
Unit Calculation Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Rem Get the measurement result.
GetUnitData 2, "coefficientA", BEFOREA#
GetUnitData 2, "coefficientB", BEFOREB#
GetUnitData 2, "coefficientC", BEFOREC#
Rem Transform to the value after calibration is applied.
TransformLine 2, 0, 10, BEFOREA#, BEFOREB#, BEFOREC#, AFTERA#, AFTERB#, AFTERC#
GetUnitData (Reference:
X
Details (p.552))
TransformAngle (Reference:
X
Details (p.763))
TransformArea (Reference:
X
Details (p.765))
TransformDist (Reference:
X
Details (p.767))
TransformXY (Reference:
X
Details (p.771))
UnitNo (Reference:
X
Details (p.790))
Ut (Reference:
X
Details (p.793))
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...