WIN-911 Version 7 offers a direct connection with FactoryTalk HMI tags, where WIN-911's Scan & Alarm will connect directly to a FactoryTalk View SE Client on the same machine (note: this is for users with FT HMI tags, NOT an FT A&E Server). After completing the basic setup, and launching both your FactoryTalk SE Client and Scan & Alarm, if you are having problems seeing alarms, follow the troubleshooting guide below. In order to troubleshoot, you must first stop/close both WIN-911 and the FT client, this needs to be troubleshot one program at a time. The issue lies within one of the five issues listed below and will need to be done in the ascending order, otherwise, you might miss the issue.
- WIN-911 Bridge Service
- Incorrect FT Area
- Command Line
Make sure that your FT Client is launching the WIN-911 Bridge Service. Launch your FT Client, and monitor the loading screen. At some point it is will say loading WIN-911 Bridge Service, as displayed below. If you see it, skip to the WIN-911 Bridge Service section below.
If you do not see the FT Client attempting to launch, or you did not see the command to launch, you will need to run WIN-911's XML editor to insert that command into FT. Do so by navigating to the install folder, by default it is C:\Program Files (x86)\Specter Instruments\WIN-911 V7\Tools
If this is a networked application, and your alarm server and FT Client are on separate machines, copy that same .exe file, and run it on the alarm server machine. That machine will then have to be rebooted as well. Once the corresponding machines have been rebooted, relaunch the FT client, and check the loading screen once again. You should now see the Bridge Service launch, and you can continue troubleshooting.
B. WIN-911 Bridge Service
If you are able to launch the client, and you see the WIN-911 Bridge Service launch from the load screen, shown below, it is important that you confirm that it is launched by running a Windows Task Manager. Note that WIN-911 also launches an instance of the Bridge Service so, in order to check if the FTView Client has launched it, Scan and Alarm must not be running during this check.
In your Windows Task Manager, select Processes and check the box to Show processes from all users.
If you see that the WIN-911 Bridge Service is launched, you can scroll down to the Scan & Alarm section.
Save as NAME.bat (note: make sure the extension is .bat that will create the batch file)
- Right-click the batch file and select Properties
- On the Compatibility tab click Change settings for all users near the bottom
- Check the Run as administrator box, click OK
- Launch the batch file and re-check the Windows Task Manager
NOTE: If you want the client to startup on boot, create a shortcut to the batch file, then drop it in the startup folder. While you are trying to connect, it is always best practice to turn User Account Control off.
Make sure that the slider is all the way at the bottom.
NOTE: You may have to reboot after changing this setting
At this point, the bridge service should be launched on the FT Client-side, you can now check the WIN-911 side. First, open your WIN-911 Configurator, navigate to Tools>Diagnostic Logging and check Data Source.
Save your changes, and right-click and run Scan & Alarm as administrator. With the Alarm Monitor open, select History, you will see 1 of 3 scenarios.
1. With a failure dictating that there was an Error instantiating WIN911BridgeService continue on through to the WBSRSView section.
2. If you are getting an AREA_DISCONNECTED error, skip to the Incorrect Area section.
With the Error instantiating WIN911BridgeService logged, you now need to see if the Bridge Service is registered, you can do that by navigating to the install folder, by default it is C:\Program Files (x86)\Specter Instruments\WIN-911 V7\Tools.
Right-click the WBSRSView.exe and Run as administrator. This will register the WIN-911 Bridge Service, and a dialog box like that below will appear.
The machine then needs to be re-booted.
If the dialog box says that it has been Unregistered, then that same executable needs to be re-run in order to re-register, then re-boot the machine
1. In the event of a successful AREA_CONNECTED, but triggering of an alarm is successful in your FT HMI Alarm banner, but not in the WIN-911 Alarm Monitor, skip to the Command Line section.
2. If you are getting an: AREA_DISCONNECTED error, continue to the Incorrect Area section.
3. Incorrect AreaSince WIN-911 and the FT Client are launched on the same machine, Scan & Alarm needs to be pointed to the correct area in your project. By now, you should have confirmed the WIN-911 Bridge Service has been launched, but you are getting an AREA_ DISCONNECTED error in your Alarm Monitor. Open up your WIN-911 Configurator and navigate to the blue Data Source icon.
1. In the event of a successful AREA_CONNECTED and the triggering an alarm is successful in your FT HMI Alarm banner, but not in the WIN-911 Alarm monitor, skip to the Command Line section.
Double-Click on your RSView SE data source, which should open up your options, as seen in the bottom-right image. Below is a side-by-side comparison of FactoryTalk Studio and your Data Source definition. Access Name is user-defined. You will notice the FT Area and what should be inserted in WIN-911. In the WIN-911, you will need a leading / followed by the area name, in this instance, the area name is Waste Water (syntax is important, if there is a capital letter, use a capital letter), therefore in WIN-911, you will enter /Waste Water.
NOTE: If this is a local application, you may not have an are if so, you all you will need is a /.
Now that the changes are made, save and restart Scan & Alarm. With diagnostics still enabled, you will be able to see what/if any errors occurred. At this point, you should now see AREA_CONNECTED. Trigger an alarm and see if comes in, if it does not, and you see the AREA_CONNECTED, continue to the Command Line section
4. Command Line
With the FT Area connected, and no alarms coming in, navigate to FT Studio and open a command line. In the prompt, enter alarmon and hit enter. Then go back to WIN-911 and see if any alarms are coming through.