WWW.NNC.IR
Macro Reference
441
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
CopySceneGroup
Copies scene group data.
Format
CopySceneGroup <srcSceneGroupNo>, <destSceneGroupNo>
Parameter
Return value
None.
Description
Copies the scene group data of the scene group number specified in the <srcSceneGroupNo> parameter to
the scene group data of the scene group specified in the <destSceneGroupNo> parameter
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If the same scene number is specified in the <destSceneNo> parameter as the <srcSceneNo> parameter, an
"Illegal function call" 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 there is insufficient free working memory to copy the data, 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
• Execute this macro function when the BUSY signal or other measurement in progress signal is ON and
measurement is prohibited. (Reference: XState Transitions and Execution Timing (p.227))
Example
Copies the data of scene group 0 to scene group 1.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<srcSceneGroupNo>
Integer type Scene group number (0 to 31) of the scene group to be copied.
<destSceneGroupNo>
Integer type Scene group number (0 to 31) of the destination scene group.
CopySceneGroup 0, 1
CopyScene (Reference: X Details (p.440)) MeasureStart (Reference: X Details (p.617))
MeasureStop (Reference: X Details (p.619)) SceneCount (Reference: X Details (p.683))
SceneGroupNo (Reference: X Details (p.687)) SceneNo (Reference: X Details (p.691))