Installation of PHDBridge
The PHD Bridge service should be installed if you wish to create an interface to a Honeywell Uniformance PHD Server through the History Transporter objects.
| PHDBridge is shipped as a zip archive in the \AspenTech\inmation.root\packages directory when installing AspenTech Inmation OT DataFabric with the setup wizard. The zip files can also be provided by contacting AspenTech Inmation Customer Service. |
Requirements
The following software components need to be installed on any computer running PHDBridge:
-
Microsoft .NET Framework 4.8
-
Honeywell Uniformance PHD Client Interfaces (x86) R321.1
Installation
The easiest way to install or uninstall the PHDBridge is via the
Package Management system.
On installation the Configuration String property can be used to specify a JSON string with non-default values for configuration parameters.
For available parameters see The PHDBridge Configuration File below.
Here is an example:
{
"TCPPortClient":6959,"PhdServerHost":"PHDSVR01"
}
Manual Installation & Uninstallation
As an alternative to using the Package Management system, the PHDBridge may also be installed and uninstalled manually.
Installation
To install the PHDBridge manually, locate the PHDBridge zip archive and complete the following tasks:
Installation
-
Create a folder for the files in the Program Files directory of the host machine. For example: "C:\Program Files\PHDBridge"
-
Unzip and copy the files to the new folder
Register as a Windows Service
To register PHDBridge as a Windows service, perform the following steps:
-
Open command prompt (cmd) as "Administrator"
-
Run the following command (including correct paths depending on your system):
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe "C:\Program Files\PHDBridge\PHDBridge.exe"
Uninstallation
To deregister PHDBridge as a Windows service, perform the following steps:
-
Stop the "PHDBridge" Service
-
Open command prompt (cmd) as "Administrator"
-
Run the file "Uninstall.bat" or the following command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u "C:\Program Files\PHDBridge\PHDBridge.exe"
The PHDBridge Configuration File
The configuration files for the service can be found in the same directory ("PHDBridge.exe.config")
| parameter | description | default setting |
|---|---|---|
TCPPortClient |
TCP port for communication with AspenTech Inmation. |
6959 |
EndOfTransmissionSignal |
String that signals the end of a TCP data transmission. ATTENTION! This Value must be the same as in the esi-phdbridge |
xEOFx |
MaximalBufferSizeToSend |
This Value sets the buffersize of the returning json telegram ATTENTION! This Value must be the same as in the esi-phdbridge |
2048 |
MaxTCPConnectionQueues |
The maximum length of the pending connections queue. |
128 |
EndOfPHDBridge |
Exit string. If data sent to the Bridge contains this string the Bridge service exits (stops). This string may also be used to exit the program when the Bridge runs as a console: in the console input this string and press enter. |
EndOfPHDBridge |
PhdServerHost |
PHD Host Name. |
localhost |
PhdServerPort |
PHD Port Number default is 3000 or 3100. |
3100 |
PhdServerAPIVersion |
PHD Server API Version used to communicate with the historian. |
API200 |
PhdServerPassword |
For 200 PHD Systems the Username and password are assigned after PHD has a valid NT security connection. |
"" |
PhdServerUserName |
For 200 PHD Systems the Username and password are assigned after PHD has a valid NT security connection |
"" |
PhdServerWindowsPassword |
A Windows user account password. It is only used by Remote API to make initial connection. |
"" |
PhdServerWindowsUserName |
A Windows user account name. It is only used by Remote API to make initial connection. |
"" |
PhdServerRequestTimeout |
The ConnectionTimeout property identifies the network timeout period used when attempting to connect to the PHD server. If the connection to the PHD server is established within the time period, the request is abandoned. It is in milliseconds. |
1000 |
Configuring Service Logon Account
The PHD Bridge Windows Service will install using the LocalSystem account as the Service Logon account by default. Some PHD Historians may require the PHDBridge Service to run as a specific account. Specific account credentials may be provided during install via the Package Manager Configuration String property value or set manually on the system hosting the Bridge.
| key | value | example |
|---|---|---|
username |
Windows user name |
DOMAIN\\USERNAME |
password_clear |
password using clear text |
123456 |
password |
password encoded using Base64 |
MTIzNDU2 |
Example Configuration String property value JSON string:
{
"username":"DOMAIN\\USERNAME","password_clear":"123456"
}
| Upgrade of the PHDBridge Package will reinstall the Windows Service and reset the Service Logon account. |