Professional Documents
Culture Documents
0. Preface
Before reading the document and troubleshooting a system it is absolutely necessary to
read the Bosch VMS - OPC Manual first.
1. Check Installation
1.1 Which mode?
Before you begin troubleshooting make sure what configuration is used. The schematic
below shows the differences between possible configurations. The first mode can be used
if no status information is required from BVMS. It will just control the BVMS Operator
Client. In practice (e.g. BVMS-BIS connection) both modes are used in order to receive
status information from BVMS.
The BVMS Proxy can be directly accessed by a client application (e.g. Browser based client using HTML
with embedded JScript code) without using the OPC Server component. The proxy will interface the
Operator Client via the BVMS SDK. There is only a limited command set available. No status information
from BVMS items can be retrieved.
In order to receive status information and use the full command set of the OPC interface,
the OPC server is required. The Bosch VMS OPC-Server is realized in a DA/AE–Server. It
usually runs on the BVMS Central server and will interface the external OPC client. The
BVMS Proxy again will do the translation to BVMS SDK.
The following schematic example shows communication between the different modules in
a BVMS-BIS environment.
For the Bosch VMS Proxy there is only one mode possible at a time.
The mode setting can be found in
<BVMS Dir>\AppData\Bosch.VMS.BISProxy.dll.config
When IsServerMode is set to „1“ the system is running in OPC Server mode and requires
an OPC Server.
[HKEY_CLASSES_ROOT\CLSID\{95CEA9B1-4060-4607-BD31-
B43A0D5D9CD9}\InprocServer32]
"CodeBase"="file:///C:\Program Files\Bosch\VMS\VrmClient\bin\Bosch.Vms.BISProxy.dll"
[HKEY_CLASSES_ROOT\CLSID\{95CEA9B1-4060-4607-BD31-
B43A0D5D9CD9}\InprocServer32\2.0.2.2438]
"CodeBase"="file:///C:\ Program Files\Bosch\VMS\VrmClient\bin\Bosch.Vms.BISProxy.dll"
Step2:
For the correct execution of HTML code you need to verify the correct Internet Explorer
settings:
- Enable the options “Download unsigned ActiveX controls” and “Initialize and script
ActiveX controls not marked as safe” and click OK.
- Deactivate the option “Require server verification (https:)” for all sites in this zone
and add the name of the 3rd party server computer.
Step3:
Check if the file Bosch.Vms.BISProxy.dll.config is located in
C:\Program Files\Bosch\VMS\VrmClient\AppData\
If not copy it from the folder
C:\Program Files\Bosch\VMS\AppData\
to
C:\Program Files\Bosch\VMS\VrmClient\AppData\
Check and correct settings described in 1.1.2
Step4:
Check Assembly Cache C:\WINDOWS\assembly.
Drag the files
Bosch.Vms.Core.FeatureSupportInterface.dll and
Bosch.Vms.Core.IUserAuthenticationService.dll
from
C:\Program Files\Bosch\VMS\VrmClient\AppData\
to
C:\WINDOWS\assembly
NOTES:
Both processes are only started with an active OPC connection by client access (e.g.
BIS or Softing OPC Toolbox).
Step 5:
Check the DCOM settings:
In Administrative Tools go to Component Services > My Computer > Properties
Go to the tab COM Security and check that the “MgtS-Service” User has full
permissions on Access and Launch / Activation:
In DCOM Config check the Properties of the Bosch BVMS OPC AE Server
NOTE:
If there is no BOSCH BVMS OPC object at all, you have to register the servers with:
<BVMS Dir>\bin\RegisterBvmsOpcServer.exe (see step 4)
In the tab Security and Identity check for the correct settings below:
NOTE: Default password for MgtS-User is “mgts”
2.1 Requirements
Requirement 1:
Installation of BVMS Operator Client
Requirement 2:
On the client PC create a User “MgtS-User”.
Use password “mgts” and make him member of the “Administrators” group.
Requirement 3:
Disable your firewall!
Requirement 4:
Make sure that you have a BVMS configuration with at least one item you are able to
monitor during the test (e.g. relay or virtual input)
Step 1:
Start the program under the MgtS-Account. Use right click “Run as…”
Step 2:
Select the remote server (where the BVMS OPC Server is installed). Expand the tree item
“Data Access V3” and doubleclick “Bosch OPC DA Server” to make the item available in
the Data Access tree (left tile).
NOTE:
If there are no Servers visible in the tree, check your network (firewall etc.) and if the OPC
server has started on the server.
Step 3:
Expand the tree “Alarm and Events” below your remote server and doubleclick “Bosch
OPC AE Server” to add it as item to the left tree.
Step 4:
Change the tab to “DA Browse”. Make sure that the cursor is placed on the “BVMS OPC
DA Server” in the left tree. Right click on “Bosch DA Server” in the right tree and “Add
items for all tags”
Step 5:
Change tab to “DA Items”. Look for item “CMD”. Right click properties. In the property
page go to the write tab and paste in one of the following commands in the value field.
Make sure that the Adresse-String is equal to your device name! Use IP addresses without
the dot!
NOTE:
Due to the proprietary format of command items a 3rd party OPC client can only use the
“CMD”-item to access the BVMS OPC DA-Server!
The command needs to be in XML format:
Step 6:
Change to the AE Events tab. Disconnect or cover one of your configured cameras.
Watch the Message column and see that the values are changed.
NOTE:
There can be 2 reasons for not receiving any events:
1. Your configuration file (BVMSConfig.xml) is obsolete.
2. If there are any errors in the Softing Tool’s error tab your local security settings
might not allow connections.
- Re-check your DCOM settings. Refer to chapter 1.2.2 Step 5.
- Check your computer’s Local Security Settings > Security Options.
Set the Policy “Network Access: Sharing and Security Model for Local Accounts”
to "Classic - local user authenticate as themselves".
3. Your BVMS OPC Proxy is running in the wrong mode. Refer to chapter 1.2.2 Step1
3. Analyzing Logfiles
Step 1:
Check events in system events. Are there any DCOM errors?
If yes, check settings described in 1.2.2.
Step 2:
The BVMS Proxy writes a logfile in C:\Documents and Settings\All Users\Application
Data\Bosch\VMS\Log\BISProxy.Log
Step 3:
The BVMS OPC Server writes logfiles to:
C:\S3K_Logging\BVMSOPCServer
The files BVMSServer.log and BVMSOpcServer.log can give information about the
connection state. The file BVMSCmdTag.log will log failed commands.