Omron SYSMAC FH Series User Manual page 721

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

SetSceneMaker
Sets the creator of the scene.
Format
SetSceneMaker <sceneNo>, <sceneMaker>
Parameter
Parameter
Data type
name
<sceneNo>
Integer type
Character
<sceneMaker>
string type
Return value
None.
Description
Sets the creator specified in the <sceneMaker> parameter in the creator of the scene that has the scene
number specified in the <sceneNo> parameter.
When a creator name with 32 or more characters is specified in the <sceneMaker> parameter, the first 31
characters are set in the creator.
The scene creator can be set by executing this macro, or in the scene maintenance screen. (Reference:
Editing Scenes (p.62))
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:
Example
Gets the creator of scene 3, and if not set, sets the creator.
Rem Get the creator of the scene.
NAME$ = SceneMaker$(3)
If NAME$ = "" Then
Rem Set the creator of the scene.
SetSceneMaker 3, "Maker"
Endif
Vision System FH/FZ5 Series
User's Manual (Z340)
Scene number (0 to 127) of the scene whose creator is to be set.
Creator of the scene
State Transitions and Execution Timing (p.227))
WWW.NNC.IR
Description
8
719
Macro Reference

Advertisement

Table of Contents
loading

Table of Contents