WWW.NNC.IR
Macro Reference
431
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
ClearSceneGroup
Clears scene group data.
Format
ClearSceneGroup <sceneGroupNo>
Parameter
Return value
None.
Description
Clears the settings of the scene group specified in the <sceneGroupNo> parameter and restores the factory
settings.
If -1 is specified for the <sceneGroupNo> parameter, the settings in the current scene group will be cleared.
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 value are 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
Clears the scene group data of scene group number 1.
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
Scene group whose scene group data is to be cleared
0 to 31: scene group number 0 to 31
-1: current scene group number
ClearSceneGroup 1
ClearScene (Reference: X Details (p.430)) MeasureStart (Reference: X Details (p.617))
MeasureStop (Reference: X Details (p.619)) SceneGroupCount (Reference: X Details (p.686))
SceneGroupNo (Reference: X Details (p.687))