WWW.NNC.IR
Macro Reference
687
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
SceneGroupNo
Gets the scene group number of the current scene group.
Format
SceneGroupNo
Parameter
None.
Return value
The scene group number of the current scene group is returned as an integer value.
Description
Gets the scene group number of the current scene group.
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 group number of the current scene group, and if the scene group number is 2, change to
scene 3.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Rem Get the scene group number of the current scene group.
NO& = SceneGroupNo
Rem Get the scene group number, and if 2, change to scene 3
If NO& = 2 Then
ChangeScene3
Endif
ChangeScene (Reference: X Details (p.423)) ChangeSceneGroup (Reference: X Details (p.424))
ClearSceneGroup (Reference: X Details (p.431)) CopySceneGroup (Reference: X Details (p.441))
SceneGroupCount (Reference: X Details (p.686)) SceneNo (Reference: X Details (p.691))