Here’s what more than 2,500 business decision-makers around the world say.Download the report
...with the Facility Hero app in hand! Discover how you can optimize your maintenance efforts today.Learn more
Access tailored services, 24/7 self-service and expert help. Anywhere, anytime, any project.Discover now
Everything you need to know about our IoT technology backbone.Learn more
Explore our global offerings or select your country from one of our five regions.Global
Découvrez nos offres globales ou sélectionnez votre pays dans l’une de nos cinq régions.
How to make measurements obtained from a device with a custom driver available over OPC
ION Enterprise, PME7, PME8
A number of optional device drivers (referred to as L2 devices) are available from the PowerLogic website. Because the mapping files associated with these devices cannot be opened in the Modbus Device Importer, if it is necessary to allow data from these devices to be read by and OPC client, a series of manual steps must be performed.
This procedure is only intended for advanced users of ION Enterprise.
Adding OPC Support To OPC Devices:
1. Copy DefaultMeasurements.xml from the \system\IONServices directory to the \config\IONServices directory. This is done to preserve the installed version of this file, but force the system to use the customized version. In SPM 7.0.1 and greater the DefaultMeasurementsExt folder from system/IONServices needs to be copied to config/IONServices as well. It also protects the customized version of this file from being overwritten if the system is upgraded.
2. Open DefaultMeasurements.xml from the \config\IONServices directory in notepad.
3. Add a new device type (it will be added near the bottom of this file). The 'name' needs to be exactly the same as the entry in the DeviceType table in ION_Network and is case sensitive. The 'ref' can be anything you like, but take note of what you chose as it will be used in the next step.
4. Add a new meter template 'MT' (just above the --END OF TEMPLATES-- text). The 'MT name' needs to be the same as the 'ref' you used in the last step. The first label 'Instantaneous' can be anything you like, and the second label 'Voltages' can also be anything you like, but these labels will determine what the groups are called when viewing data in an OPC client. The 'M name' attribute needs to correspond to the label (t:L=) from the L2 device's tree (.ion) file from the \config\translators directory. In newer .ion files, this could be the name (t:N=), The meaning, and its use by ION Real Time Data Service is the same. The 'M label' attribute can be anything you like. This is the label that will be used for the OPC tag as displayed in an OPC client.
From the .ion file:
From an OPC client:
5. Save the changes you have made to DefaultMeasurements.xml
6. Open the Management Console and choose 'Update OPC'
7. Subscribe to and verify the new data using an OPC client.
8. Repeat from Step 2 for more labels and the next device
Sign up for all the latest solutions, offers and best practices straight to your inbox.
We are excited that you have joined the group. You will receive your welcome email soon describing the program and what to expect in the upcoming weeks. Enjoy!