Troubleshooting
Logging
Log files can be found in “%PROGRAMDATA%\KrugerOpcBridge”, and will be rotated for every restart of the service. Logging level can be changed by clicking on the wrench, and changing the settings under “Log configuration”. When the OPC-Bridge is uninstalled or updated, the logfiles and the config files are not removed.
From version 357, it looks like this.
Restart of OPC-Bridge (from version 357)
To restart the OPC-Bridge from inside the opc-bridge interface, go to the Application configuration. At the bottom of the page, click on the RED “Restart OPC Brigde” button to restart the OPC-Bridge.
Start/stop of Windows service (any version before 357)
To stop and start the OPC-Bridge, go to the Windows service administration, to stop and start the service. The service name is : KrugerOpcBridgeZZZ, where ZZZ is a number, indicating the version of the OPC-bridge.
CSV file format
File format
The import/export file has a header with the names of each field, followed by a line for each “Data transfer” item.Fields are separated by semicolons.
The header is fixed should look like this:
sourceNodeId;targetNodeId;samplingInterval;mode
Each data transfer line consist om the a field corresponding to the header, and could look like this:
"nsu=http://kruger.dk/STAR/UaNodes;s=kruger/miltest2/COUNT_MINUTES_OF_DAY";
"nsu=http://kruger.dk/STAR/UaNodes;s=kruger/miltest2/WWTP.OPC-BRIDGE.TESTDATA.NUMINUT";120000;Periodic"
Field description sourceNodeId: The string from where the data is moved from.
targetNodeId: The string to where the data is moved to.
samplingInterval: The time in seconds between the input/output data is moved from/to OPC server. ie. how often the data is transferred.
Mode: The mode used to transfer the data transfer. Possible options are “Periodic” or “Subscription” Periodic: Transfers the data each interval, regardless of any changes of the data. Subscription: Transfers the data each interval, if there is a change in the data value.
If in doubt, use the Periodic option, to force a new data value at each interval.