WWW.NNC.IR
Macro Reference
430
Vision System FH/FZ5 Series
User’s Manual (Z340)
ClearScene
Clears the scene data.
Format
ClearScene <sceneNo>
Parameter
Return value
None.
Description
Clears the setting information in the scene with the scene number specified in the <sceneNo> parameter, and
restores the scene to the factory default state.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
Even 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 not 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 data of 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 of scene to be cleared (0 to 127)
ClearScene 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))