WWW.NNC.IR
Macro Reference
423
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
ChangeScene
Change the scene.
Format
ChangeScene <sceneNo>
Parameter
Return value
None.
Description
Changes the current scene to the scene with the scene number specified in the <sceneNo> 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 to scene number 2.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<sceneNo> Integer type Scene number to change (0 to 127)
ChangeScene 2
ChangeSceneGroup (Reference: X Details (p.424)) MeasureStart (Reference: X Details (p.617))
MeasureStop (Reference: X Details (p.619)) SceneCount (Reference: X Details (p.683))
SceneNo (Reference: X Details (p.691)) SceneGroupNo (Reference: X Details (p.687))