![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686717.webp)
WWW.NNC.IR
Macro Reference
715
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
SetSceneDescription
Sets the scene description.
Format
SetSceneDescription <sceneNo>, <sceneDescription>
Parameter
Return value
None.
Description
Sets the description specified in the <sceneDescription> parameter in the description of the scene of the
scene number specified in the <sceneNo> parameter.
The scene description can be set by executing this macro function, or in the scene maintenance screen.
(Reference:
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 a character string longer than 255 characters is specified for a character string parameter, a "String too
long" 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:
State Transitions and Execution Timing (p.227))
Example
Gets the description of scene 1, and if a description is not set, sets the description.
Useable Modules
Scene Control Macro / Communication Command Macro
Parameter
name
Data type
Description
<sceneNo>
Integer type
Scene number (0 to 127) of the scene for which the description is to be set.
<sceneDescription>
Character
string type
Scene description
Rem Get the scene description
DESCRIPTION$ = SceneDescription$(1)
If DESCRIPTION$ = "" Then
Rem Set the scene description
SetSceneDescription 1, "Description 1"
Endif
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...