WWW.NNC.IR
Macro Reference
424
Vision System FH/FZ5 Series
User’s Manual (Z340)
ChangeSceneGroup
Changes the scene group.
Format
ChangeSceneGroup <sceneGroupNo>, <sceneNo>
Parameter
Return value
None.
Description
Changes the current scene group to the scene specified in the <sceneNo> parameter, which belongs to the
scene group specified in the <sceneGroupNo> 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 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
• 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
Changes the current scene group to scene 2 of scene group 10.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<sceneGroupNo>
Integer type New scene group (0 to 31)
<sceneNo> Integer type Scene number to change (0 to 127)
ChangeSceneGroup 10, 2
ChangeScene (Reference: X Details (p.423)) MeasureStart (Reference: X Details (p.617))
MeasureStop (Reference: X Details (p.619)) SceneGroupCount (Reference: X Details (p.686))
SceneGroupNo (Reference: X Details (p.687))