WWW.NNC.IR
Macro Reference
691
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
SceneNo
Gets the scene number of the current scene.
Format
SceneNo
Parameter
None.
Return value
Returns the scene number of the current scene as an integer value.
Description
Gets the scene number of the current scene.
If a value is assigned to the return value variable or the variable is not used in an expression, a "Syntax error"
error will occur.
Usage Cautions
• None.
Example
Gets the scene number of the current scene, and if not 2, changing to scene 2.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Rem Gets the scene number of the current scene
NO& = SceneNo
Rem If the scene number is not 2, change to scene 2
If NO& <> 2 Then
ChangeScene 2
Endif
ChangeScene (Reference: X Details (p.423)) ClearScene (Reference: X Details (p.430))
CopyScene (Reference: X Details (p.440)) SceneCount (Reference: X Details (p.683))