omron — ActiveX Control object

Screens and Graphics • Associate tags to properties of the ActiveX Control; • Trigger methods from the ActiveX Control based on tag change; and • Configure scripts, which are executed when Events from the ActiveX Control occur. The following sections describe how to configure these interfaces. Note: Although the Configuration dialog displays the list of all properties, methods and events, you only have to configure the items that you need for your project. The screen shots used in the following sections depict the Acrobat 3D Office control. The names of the properties, methods and events vary for each ActiveX control, but the configuration interface is the same.

The concepts described here apply to all controls. Configuring Properties The Properties tab provides a grid with the following fields: Configuration Dialog – Properties Tab • Property : Lists all properties available from the ActiveX object, and indicate their types: • Tag/Expression : The tag configured in this field is associated with the respective property of the ActiveX object. The Action column will define whether the value of this tag will be written to the ActiveX property, or if the value of the ActiveX property will be written to this tag (or both). Note:

You can configure an expression in this field if you want to write the result of an expression to the property of the ActiveX object. However, in this case, the value of the property cannot be read back to one tag (unless you use the XGet() function). Therefore, an expression is configured in this field, the Scan field is automatically set to Set. • Action : Defines the direction of the interface between the tag or expression configured in the Tag/ Expression field and the ActiveX property, according to the following table:

Page 194 InduSoft Web Studio Property Icon Property Type Boolean Integer Real String Action Description Get Read the value of the ActiveX property and write it to the tag configured in the Tag/Expression field. Set Write the value from the tag or expression configured in the Tag/Expression field into the ActiveX property. Get+Set Executes both actions (Get and Set). However, when opening a screen with the ActiveX object, IWS executes the Get command before executing any Set command. That is, the tag configured in the Tag/Expression field is updated with the value of the ActiveX property when IWS opens the screen where the ActiveX is configured. Set+Get Executes both actions (Get and Set).

However, when opening a screen with the ActiveX object, IWS executes the Set command before executing any Get command. That is, the ActiveX property is updated with the value of the tag configured in the Tag/Expression field when IWS opens the screen where the ActiveX is configured.