Salesforce

OPC - XML (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

OPC - XML (Magic xpi 4.13)

The OPC connector is designed to work with Magic xpi’s XML interface. When you drag the OPC connector into a flow, the Properties pane opens. Then, right-click on the connector and select Configuration from the context menu to open the OPC Configuration dialog box.

Here you can configure all the required Tags. You can add the tags of type Addresses or Static, on the Addresses and Static Tags tabs respectively under the Tags section of the Configuration dialog. The input schema for the step will be generated based on the Addresses and the Static Tags added by you.

This dialog box contains the following fields:

Property

Description

Connection

Resource Name

The name of the resource that you selected in the component's Properties pane. The resources are defined in the Settings dialog box's Resources section.

Tags

Addresses: The Addresses for the devices can be added in this tab. The Addresses grid contains the following fields.

Devices

Select the Device for which the Addresses are to be added. Once the row is added, click button to select a device.

Address

Select the address for the selected device. You can enter the address manually. Click the Hint button. This will open the Hints dialog which shows the format of address.

Range

Range field is only applicable for numeric and register type of addresses. Add the numeric value for address range. This value will determine the consecutive numbers of addresses which should be used starting from the current one.

The maximum allowed value for Range is 100. If no value is added, the default value will be set to 1.

Data Type

Select the Data type for a device from the list.

Rows

Add the number of rows. The default value for the Rows is 1. By default the Addresses are not in array format. If an array of Addresses is required, set this value greater than 1.

Cols

Add the number of columns. The default value for the Columns is 1. If an array of Addresses is required then set this value greater than 1.

  • User can set either Range value greater than 1 or set the Rows or Columns value to be greater than 1. Both are not allowed at the same time.

  • The total number of addresses which are computed using product or multiplication of Range, Rows and Columns (Range * Rows * Columns) should not exceed the value of 1000.

Static Tags: The Static Tags can be added in this list. The static Tabs grid contains following fields.

Item ID

Displays the list of tags added.

Click Add button, to enter the details of a new tag. This will add a new row to the list. Once a row is added, click button to select a tag from a device. As you click the button a new window called Browse for Tag will open. It will populate the list of devices available with the OPC server and the list of Tags available for each device. Here you can select a tag from a device.

The input schema for the step will be generated based on the tags added to this list.

Buttons

Add

Click this button to add a new line to Addresses or Static Tags.

Delete

Click this button to delete one or more rows from the Addresses or Static tags.

Select Tags

This button is only applicable for Static Tags. Click it to select a tag from a device. On clicking the Select Tag button a new window called Browse for Tag will open. It will populate the list of devices available with the OPC server and the list of Tags available for each device.

Here you can select one or more tags from one or more devices and add them to the configuration.

Result Options

Store Result In

Defines where you want to store the resulting XML file

Variable: Select a variable to hold the object data that is returned by OPC server.
Click to open the Variables List. Select a variable where this information is to be stored.

Operation Success

Select the variable to store the component’s success or failure status.

Click to open the Variables List. Select a variable where this information is to be stored.

Reference
Attachment 
Attachment