Integrating a Haystack Adapter
Scenario: You want to configure Desigo CC to operate on the Haystack system.
Reference: For background information, see the related reference session.
Workflow diagram:
Prerequisites:
- The Haystack extension is installed and included in the active project in the System Management Console (SMC). The following extensions are also selected automatically:
- SORIS Driver
- Scripts - The Haystack adapteris running and connected to the Haystack system. See Installing and Configuring the Haystack Adapter.
- System Manager is in Engineering mode.
- System Browser is in Management View.
Steps:
1 – Create the SORIS Driver
- Depending on where the driver will run, select one of the following:
- Project > Management System > Servers > Main Server > Drivers
- Project > Management System > FEPs > [FEP station] > [drivers folder]
NOTE: If the [drivers folder] is not available, to create it select the [FEP station] and click New.
- In the Object Configurator tab, click New and select New SORIS Driver.
- In the New object dialog box, enter a description and click OK.
- The newly created SORIS driver is added to System Browser, but not started.
NOTE: In the SORIS tab, in the Polling threads field, you can specify the value for the polling volume. It is recommended to use the default value 75.
2 – Create the SORIS Network
- Select Project > Field Networks.
- In the Object Configurator tab, click New and select New SORIS Network.
- In the New Object dialog box, enter a name and description, and click OK.
- The newly created SORIS network is added to System Browser.
3 – Associate a Driver to the SORIS Network
- Select Project > Field Networks > [SORIS network].
- In the SORIS tab, open the Network Settings expander.
- From the Monitored by driver drop-down list, select the driver.
- Click Save.
4 – Start the SORIS Driver
The status of a newly created driver is Stopped
. To be able to connect, the driver must be started with either Start or Start Conf…
- Select Project >Management System > Servers > Main Server > Drivers > [SORIS driver].
- In the Extended Operation tab, click Start.
NOTE: Only for configuration purposes, you can also click Start Conf… to activate the driver without establishing any real connection to the field.
5 – Create a Haystack Adapter Under the Network
- Select Project > Field Networks > [SORIS network].
- In the Object Configurator tab, click New.
- In the New Object dialog box, enter a name and description and click OK.
- The newly created adapter is added to System Browser. The adapter starts automatically as a Windows service.
- Select the newly created adapter and click the SORIS tab.
- In the ULR field, enter the IP address of the computer from which the network adapter is run using the following format: https://<IP address>:<port number>, for example: https://192.169.7.200:443.
- In the Operation tab, the Online property indicates
Connected
and the property URL displays the IP address configured.
6 – Discover Haystack Objects
- Select Project > Field Networks > [SORIS network] > [Haystack adapter].
- In the Extended Operation tab, the Online property indicates
Connected
while the Discovery Status property indicatesIdle
.
- Next to the URL property, click Discover.
- Under the Haystack Adapter node, System Browser displays the objects organized by site.