Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84654members
354004posts

[PME][Labs] Device Type Editor Beta 2

Archives: Power Management Systems

TimD
Lt. Commander Lt. Commander
Lt. Commander

[PME][Labs] Device Type Editor Beta 2

Note: With the official release of Device Type Editor in PME 9.0, the Beta is now closed.

Thanks to all Beta participants for your input to make Device Type Editor even better.

19 Replies 19
ShaunTaylor
Lieutenant JG Lieutenant JG
Lieutenant JG
0 Likes
1
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim, is this DTE available for use on PME8.2 and if so how do I register to get a copy?

Reason being we've been configuring a PME to SBO interface via EWS and have spent many days trying to edit extension XML files for custom devices created using MDI. The process is very tedious and errors can easily be made - not to mention we've spent a large amount of un-budgeted time doing this.

If DTE is not the solution for us at the moment, is there something in the interim that can be developed to automate this process?

Kind regards

Shaun

TimD
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
0
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Shaun,

The DTE will create DeviceTypes that work on any version of PME starting with ION Enterprise 6.x, SPM 7.x, PME 8.x.

It's easy to participate in the Device Type Editor Beta

  1. download and sign the Beta Participant Agreement
  2. scan and email me your signed copy: tim.ducharme@schneider-electric.com
  3. download and install the DeviceTypeEditor
  4. start creating DeviceTypes !

Note: I am planning on creating "Expose to EWS" functionality, BUT it is not in this Beta.  I haven't started researching this yet.

Tim

jdiaz
Lieutenant JG
Lieutenant JG
0 Likes
4
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim Ducharme​!

I am having issues with a custom device type.

There was a mistake in the Modbus address of three registers. So, I updated those address and then I saved the .ion file and finally I installed it with Device Type Installer application. I was waiting the changes in Vista diagram but nothing happened. So, I restarted the computer and now I cannot see anything from the meter. I open meter template and Vista shows me a message saying that there is not communication with the meter. That is estrange because before the changes of the addresses I could see the measures, the only exception is that they were not the correct values that I wanted to see but at least I received values from the meter.

Could you help me?, please.

-

Joel Diaz.

TimD
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
3
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Joel,

If all you changed was the Modbus Address then I'm not sure what could be going wrong.  To debug, look in the system log (Management Console) for error messages concerning this device and your devicetype tree/map files.

There is a one save 'undo' built into the DTE... whenever you do a save, the DTE will copy the last saved version to *.bak files.  As long as you don't re-save then you can always go back to the previous version.  Just rename the 'broken' <mydevicetype>.ion|xml files to something else then remove the .bak extension from the previous version files.  Now you can re-install this previous version and at least get back to a working devicetype.  Please send me all 4 files and I'll take a look and see if I can figure out what went wrong.  Also, let me know what you find in System Log

Tim

jdiaz
Lieutenant JG
Lieutenant JG
0 Likes
2
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim Ducharme!

Thank you so much for help me.

Let me tell you that I was wrong. I left two blank rows at the end of the register list, so, when I identified the error I deleted them and I reinstall the driver. After that, everything is working as I expected.

One more question: I downloaded Eaton PX4000 meter driver and then I installed in a computer. After I configured the connection with one of the PX4000 I could see in Vista a wrong value, because the meter scale is not correct with some measures. Which are the risks of modify that driver and also add some new registers to the list? Can I do that with DTE and then install it with DTI?

Please, help me with that.

Again, thank you for your help.

-

Joel Díaz.

TimD
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
1
339

Re: [PME][Labs] Device Type Editor Beta 2

Joel,

Glad to hear that you figured it out and are back up and running!  I'll add a check for blanks in the validation code I'm writing 🙂

As for the Factory supplied drivers - yes, you can edit the tree/map files with the DTE if all you need is read/write access to registers using standard Modbus. Some drivers from the factory also come with .dll files that provide the advanced functionality the devices need, example CM4000, PM8xx. You can edit some parts of these drivers but you have to be careful that you don't change the 'special' parts of the tree/map files as they are closely-coupled to the .dll.  I'm not sure if PX4000 is one of these more complex ones - to edit factory-supplied drivers:

0) use a test system... not the main customer production system!

1) copy the devicetype tree/map files and edit the copy

2) make sure you install the edited files into config/translators... (don't overwrite system/translators) - DTI ensures this for you

3) if the changes you make don't work out, then simply delete the config/translator copies... PME will revert back to the factory driver in system/translators within a minute or so.

Let us know what changes you make/why so we can pass on to the team to consider adding to the factory driver.

Tim

jdiaz
Lieutenant JG
Lieutenant JG
0 Likes
0
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim Ducharme!

Let me know if I understood what you mean.

I have to copy the .xml and .ion file of the PX4000 driver and edit them with DTE. Then, I have to install with DTI the edited PX4000 driver as a new driver in PME? Am I right? Let me know please.

Thanks for your help and I am happy to have contributed a little to this great project. 🙂

Best regards!

-

Joel Diaz.

poneill_premium
Lieutenant | EcoXpert Master Lieutenant | EcoXpert Master
Lieutenant | EcoXpert Master
0 Likes
1
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi  Tim Ducharme

I have emailed you the beta agreement form last week and awaiting link to download the device type editor. Can you forward please?

Thanks,

Paula O'Neill

Paula O'Neill
TimD
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
0
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Paul,

I sent you the link from Box last week… maybe it got lost or moved to junk folder??  I sent you a new link via email.

Tim

jdiaz
Lieutenant JG
Lieutenant JG
0 Likes
4
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim Ducharme​!

I was wondering how I can create a custom variable within my Register Map with Device Type Editor? Because I want to use my own labels in the registers list. For example, I have a Modbus device, it is doing arithmetic operations and then that results of that operations I want to read them with PME and also I want to give to that results my own descriptions, labels, etc. I mean, I want to create a custom register list with DTE. Is that possible? And if that is true, how can I do it?

I will thank every comment, idea, suggest you can give.

Regards!

-

Joel Díaz.

TimD
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
3
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Joel,

You can create a custom register mapping in DTE by simply dragging from your map entry to anywhere on the tree (Manager or Module); anywhere except a pre-named Register. The DTE will create the Manager/Module/Register as needed, which you can then rename.  The format from the map entry will be used to determine what type of Register to create. Note that any custom mapping you make will be just that - custom - it will show up in PME as a custom measurement with default Meta-Data. It is best to try and find a pre-existing Register to map to, but that is not always possible.

Tim

jdiaz
Lieutenant JG
Lieutenant JG
0 Likes
2
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim Ducharme​​ and thanks for your answer.

I am confuse with the procedure I have to follow. Please Tim, can you be more explicit with the instructions? Because I did not understand what I have to do exactly.

Thanks for everything again.

-

Joel Díaz.

TimD
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
1
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Joel,

Here's a step-by-step example:

Start with "File/New/Modbus Device"

You'll see a "Sample Modbus Register" entry in the Register Map... we'll use this

Right-Click an existing Manager ("WAGES") then "Add new Manager"

The DTE will make a new "Manager 13" at the bottom of the ION Tree

Now select and drag the "Sample Modbus Register" from the Register Map to the new "Manager 13"

The DTE will make a new "Module 1" under "Manager 13" and add "Sample Modbus Register" to it.

"Rename Node" by right-clicking.

Rename "Manager 13" to "Custom"

Rename "Module 1" to "Joel"

Rename "Sample Modbus Register" to "My Register"

For the mapping to work you need three pieces of info in the Register Map entry - Name, Address, Format.

Tim

jdiaz
Lieutenant JG
Lieutenant JG
0 Likes
0
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim Ducharme​!

Let me test your instructions and then I will comment you about the results.

Thank you so much for your help, Tim!

-

Joel Díaz.

jdiaz
Lieutenant JG
Lieutenant JG
0 Likes
0
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim Ducharme​!

Let me tell you that I followed your instructions and that is what I needed.

Thank you so much for your help.

Regards!

-

Joel Díaz.

frits_appel_aet
Ensign
Ensign
0 Likes
3
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim,

Creating a new device driver works smooth. Great tool. I've installed it on a test envirement.

Now I run into some errors at the step Advanced - Clean ION Tree.

Where do I go wrong?

Best Regards,

Frits Appel

TimD
Lt. Commander Lt. Commander
Lt. Commander

Re: [PME][Labs] Device Type Editor Beta 2

Hi Frits,

‘Current C’ and ‘Voltage B-N’ have the same ION Handle… easier to see duplicates if you sort by ION Handle (click on the column header).

Hope this solves your issue… let me know

Tim Ducharme, M.Sc. MCBA, CSPO, CSM

Product Owner, Business Analyst

Power Solutions

Building and IT Business

Schneider Electric

D +1-250-652-7100 x7655

E tim.ducharme@schneider-electric.com<mailto:tim.ducharme@schneider-electric.com>

2195 Keating Cross Road

Saanichton, BC

Canada

<http://www.schneider-electric.com/b2b/en/solutions/index.jsp#xtor=CS4-110-[Print]-[Event]-[LIO]-[Hong_Kong]>

*Please consider the environment before printing this e-mail

<http://blog.schneider-electric.com/> <https://www.facebook.com/SchneiderElectric> <https://www.twitter.com/SchneiderElec> <https://www.linkedin.com/company/schneider-electric> <https://www.youtube.com/schneidercorporate> <https://instagram.com/schneiderelectric> <https://plus.google.com/+schneiderelectric>

frits_appel_aet
Ensign
Ensign
0 Likes
1
339

Re: [PME][Labs] Device Type Editor Beta 2

Hi Tim,

Yes This solves the problem. Thanks.

Just one more question.

If this driver works on my test system. Can I use the DTI to install it on

a customer server?

Best regards.

Frits

Met vriendelijke groet,

Frits Appel

2018-04-03 19:15 GMT+02:00 Tim Ducharme <schneider-electric@jiveon.com>:

Exchange Community

<https://exchangecommunity.schneider-electric.com/?et=watches.email.thread>

Re: [Labs] Device Type Editor Beta 2

reactie van Tim Ducharme

<https://exchangecommunity.schneider-electric.com/people/sesa73431@bridge-fo.com?et=watches.email.thread>

in Labs - Bekijk de volledige discussie

<https://exchangecommunity.schneider-electric.com/message/124843?commentID=124843&et=watches.email.thread#comment-124843>

TimD
Lt. Commander Lt. Commander
Lt. Commander

Re: [PME][Labs] Device Type Editor Beta 2

Hi Frits,

Yes, you can install it on a Customer system. If you have any problems let me know.

Tim Ducharme, M.Sc. MCBA, CSPO, CSM

Product Owner, Business Analyst

Power Solutions

Building and IT Business

Schneider Electric

D +1-250-652-7100 x7655

E tim.ducharme@schneider-electric.com<mailto:tim.ducharme@schneider-electric.com>

2195 Keating Cross Road

Saanichton, BC

Canada

<http://www.schneider-electric.com/b2b/en/solutions/index.jsp#xtor=CS4-110-[Print]-[Event]-[LIO]-[Hong_Kong]>

*Please consider the environment before printing this e-mail

<http://blog.schneider-electric.com/> <https://www.facebook.com/SchneiderElectric> <https://www.twitter.com/SchneiderElec> <https://www.linkedin.com/company/schneider-electric> <https://www.youtube.com/schneidercorporate> <https://instagram.com/schneiderelectric> <https://plus.google.com/+schneiderelectric>