How to create OPC DefaultMeasurements extension xml file
Issue
User has a device in Power Monitoring Expert that does not export OPC tags when "Update OPC" is selected in Management console. The device does not have a measurement template in DefaultMeasurements.xml in the ...\system\IONServices folder nor extension in ...\system\IONServices\DefaultMeasurementsExt
Product
Power Monitoring Expert 8.2
Power Monitoring Expert 9.0
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Environment
Text Editor
Cause
When Update OPC is selected in the Management Console, the system will read the DefaultMeasurements.xml file and the contents in the folder DefaultMeasurementsExt. If the device type is not found in these files the ...\config\IONServices\IONServicesConfigurtion.xml file does not populate the desired device
Resolution
Previous versions of the software would require editing the defaultMeaurements.xml file to add the desired device. A more sustainable method is to create a new extension file.
In the instructions below, replace the text MyNewDevice with the name of the device type as seen in the Management Console
<?xml version="1.0" encoding="utf-8"?>
<!--The follow is catagorized by features that contain one or more Ctxts. A Ctxt refers to perspective (labeling) or system details (wiring cofiguration)-->
<DefaultMeasurements xmlns="http://rddl.xmlinside.net/PowerMeasurement/configuration/IONServices/MeasurementTemplates/1/" xmlns:f="http://rddl.xmlinside.net/PowerMeasurement/configuration/IONServices/defaultMeasurements/1/">
<MeasurementTemplates>
<MT name="MyNewDevice">
</MT>
</MeasurementTemplates>
<f:Features>
<f:DeviceType name="MyNewDevice">
<f:FR ref="MyNewDevice"/>
</f:DeviceType>
</f:Features>
</DefaultMeasurements>
<Ctxt label="Energy" >
<Ctxt label="Real Energy">
<M name="Real Energy Signed" label="Real Energy Signed" />
</Ctxt>
</Ctxt>
User has a device in Power Monitoring Expert that does not export OPC tags when "Update OPC" is selected in Management console. The device does not have a measurement template in DefaultMeasurements.xml in the ...\system\IONServices folder nor extension in ...\system\IONServices\DefaultMeasurementsExt
Product
Power Monitoring Expert 8.2
Power Monitoring Expert 9.0
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Environment
Text Editor
Cause
When Update OPC is selected in the Management Console, the system will read the DefaultMeasurements.xml file and the contents in the folder DefaultMeasurementsExt. If the device type is not found in these files the ...\config\IONServices\IONServicesConfigurtion.xml file does not populate the desired device
Resolution
Previous versions of the software would require editing the defaultMeaurements.xml file to add the desired device. A more sustainable method is to create a new extension file.
In the instructions below, replace the text MyNewDevice with the name of the device type as seen in the Management Console
- In the ...\system\IONServices\DefaultMeasurementsExt folder create a new text file and change the file name and extension to DefaultMeasurements_MyNewDevice.xml
- Open the file in a text editor
- Copy the following text into the file. Additional text will be required later
<?xml version="1.0" encoding="utf-8"?>
<!--The follow is catagorized by features that contain one or more Ctxts. A Ctxt refers to perspective (labeling) or system details (wiring cofiguration)-->
<DefaultMeasurements xmlns="http://rddl.xmlinside.net/PowerMeasurement/configuration/IONServices/MeasurementTemplates/1/" xmlns:f="http://rddl.xmlinside.net/PowerMeasurement/configuration/IONServices/defaultMeasurements/1/">
<MeasurementTemplates>
<MT name="MyNewDevice">
</MT>
</MeasurementTemplates>
<f:Features>
<f:DeviceType name="MyNewDevice">
<f:FR ref="MyNewDevice"/>
</f:DeviceType>
</f:Features>
</DefaultMeasurements>
- Create the OPC mapping between the MT tags to add desired measurements that will be exposed to OPC. The attached file can be used as an example. A simple single measurement would have the following information
<Ctxt label="Energy" >
<Ctxt label="Real Energy">
<M name="Real Energy Signed" label="Real Energy Signed" />
</Ctxt>
</Ctxt>
- Once finished mapping the OPC points, save the file and close the text editor.
- Use Management Console to Update the OPC Server again and confirm the desired device is now available.
게시 대상: 슈나이더 일렉트릭 Korea




도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.