WWW.NNC.IR
Macro Reference
446
Vision System FH/FZ5 Series
User’s Manual (Z340)
CopyUnitImage
Copies a processing unit image as a unit macro processing unit image.
Format
CopyUnitImage <unitNo>, <imageNo>, <myImageNo>
Parameter
Return value
None.
Description
Copies the image with the image number specified in the <ImageNo> parameter, of the processing unit
specified in the <unitNo> parameter, to the image buffer of the unit macro processing unit that calls this
macro function with the image number specified in the <myImageNo> parameter.
Normally 0 should be specified in the <imageNo> 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.
Parameter
name
Data type Description
<unitNo> Integer type
Processing unit number that is to be copied (0 to (the number of registered processing
units in the current scene -1))
<imageNo> Integer type Image number of copy source (Reference: XImage Number List (p.371))
<myImageNo>
Integer type Image number of copy destination (0 to 31)