![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686450.webp)
WWW.NNC.IR
Macro Reference
448
Vision System FH/FZ5 Series
User’s Manual (Z340)
CopyUnitModel
Copies the model data of a processing unit.
Format
CopyUnitModel <srcSceneNo>, <srcUnitNo>, <srcModelNo>, <destUnitNo>, <destModelNo>
Parameter
Return value
None.
Description
Copies the model data of the model number specified in the <srcModelNo> parameter, of the processing unit
specified in the <srcUnitNo> parameter, of the scene specified in the <srcSceneNo> parameter, to the model
data of the model number specified in the <destModelNo> parameter, of the processing unit specified in the
<destUnitNo> 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.
On models that use a processing item for measurement, there is also the model data, model figure, model
parameter, and other information. The model information varies by processing item, and correct operation
does not always result from simply copying the model data, but it is also possible to use a variant-type
variable in the scene control macro to copy model data. For details, refer to Application Producer (FH-AP1,
sold separately).
Usage Cautions
• Execute this macro function when the BUSY signal or other measurement in progress signal is ON and
measurement is prohibited. (Reference:
State Transitions and Execution Timing (p.227))
• Use this macro function with the measurement image displayed after one or more measurements, or after
the image file is specified and re-measured.
• Set the figure data so that pixels from outside the image are not included in the figure.
Parameter
name
Data type
Description
<srcSceneNo> Integer type
Scene number of the origin of copy (0 to 127)
<srcUnitNo>
Integer type
Unit number of copy source (0 to (number of scene processing units of copy source
minus one))
<srcModelNo> Integer type
Model number of copy source (Reference:
<destUnitNo> Integer type
Unit number of copy destination (0 to (number of scene processing units of copy
destination minus one))
<destModelNo> Integer type
Model number of copy destination (Reference:
Содержание 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...