Omron SYSMAC FH Series User Manual page 450

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

Advertisement

CopyUnitModel
Copies the model data of a processing unit.
Format
CopyUnitModel <srcSceneNo>, <srcUnitNo>, <srcModelNo>, <destUnitNo>, <destModelNo>
Parameter
Parameter
Data type
name
<srcSceneNo> Integer type
<srcUnitNo>
Integer type
<srcModelNo> Integer type
<destUnitNo> Integer type
<destModelNo> Integer type
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:
• 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.
448
Macro Reference
Scene number of the origin of copy (0 to 127)
Unit number of copy source (0 to (number of scene processing units of copy source
minus one))
Model number of copy source (Reference:
Unit number of copy destination (0 to (number of scene processing units of copy
destination minus one))
Model number of copy destination (Reference:
State Transitions and Execution Timing (p.227))
WWW.NNC.IR
Description
Model Number List (p.369))
Model Number List (p.369))
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents