Omron SYSMAC FH Series User Manual page 649

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

Advertisement

RaiseOptionEvent
Notifies option events to the UI screen.
Format
RaiseOptionEvent <eventNo>, <parameter>
Parameter
Parameter
Data type
name
<eventNo>
Integer type
<parameter> Integer type
Return value
None.
Description
Notifies the UI screen of the event specified in the <eventNo> parameter and the parameter specified in the
<parameter> parameter.
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 the
parameter, an error will not occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
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.
Through the use of the FH-AP1 Application Producer (sold separately), it is possible to create a new event in
the UI screen.
Usage Cautions
None.
Example
Switches the main screen layout of the sensor controller with the communications command macro.
Rem switch to layout 1
RaiseOptionEvent 255, 1
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Vision System FH/FZ5 Series
User's Manual (Z340)
Event number to be notified
0xFF: Layout switch in the main screen of both sensor controller and remote operation
tool
0x1FF: Layout switch in the main screen of the sensor controller
0x2FF: Layout switch in the main screen of the remote operation tool
Event parameter to be notified
If the event is layout switch
0 to 8: New layout number
WWW.NNC.IR
Description
8
647
Macro Reference

Advertisement

Table of Contents
loading

Table of Contents