PowerVision 2.9.10481 Modbus

Ocelot
Posts: 77
Joined: Thu Oct 06, 2011 10:43 am

PowerVision 2.9.10481 Modbus

Post by Ocelot » Tue May 30, 2017 3:13 pm

Hello,

It seems like there is an extra digit in the modbus addresses, not sure if that's a typo in the dev studio and is okay on hardware or what just yet, haven't loaded it and tested it.

I am trying to map say 41001 and getting 410001.

2.9 screenshot
Modbus Listing Extra Digit.png
Modbus Listing Extra Digit.png (88.7 KiB) Viewed 76 times
Modbus Add Register Extra Digit.png
Modbus Add Register Extra Digit.png (13.68 KiB) Viewed 76 times
2.8 screenshot
Modbus Add Register No Extra Digit.png
Modbus Add Register No Extra Digit.png (13.63 KiB) Viewed 76 times
Kyle Bruneau
Applications Engineer - MurCal Inc
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: PowerVision 2.9.10481 Modbus

Post by boyce » Tue May 30, 2017 3:54 pm

It should work out to have the same results. There was a change implemented in PowerVision to support Modbus extended register addresses. The address part was 4 decimal digits (limit was 9,999 before) was expanded to 5 so that it can now go up to 65,536. Here's a link about Modbus extended register addresses:
http://www.simplymodbus.ca/faq.htm#Ext
Boyce Schrack
Enovation Controls
Ocelot
Posts: 77
Joined: Thu Oct 06, 2011 10:43 am

Re: PowerVision 2.9.10481 Modbus

Post by Ocelot » Tue May 30, 2017 4:46 pm

Boyce,

I went ahead and read your link,

What are extended register addresses?

Since the range of the analog output holding registers is 40001 to 49999, it implies that there cannot be more than 9999 registers. Although this is usually enough for most applications, there are cases where more registers would be beneficial.

Registers 40001 to 49999 correspond to data addresses 0000 to 270E. If we utilize the remaining data addresses 270F to FFFF, over six times as many registers can be available, 65536 in total. This would correspond to register numbers from 40001 to 105536.

Many modbus software drivers (for Master PCs) were written with the 40001 to 49999 limits and cannot access extended registers in slave devices. And many slave devices do not support maps using the extended registers. But on the other hand, some slave devices do support these registers and some Master software can access it, especially if custom software is written.



It doesn't seem possible to create a number with less than 6 digits in it.

If I click to add a register, select the bubble for holding register (4xxxx) and set the starting address as 4[1001] and press okay it gives me 401,001. So should 41,001 the old way, look like 401,001 in the new studio?
Kyle Bruneau
Applications Engineer - MurCal Inc
Ocelot
Posts: 77
Joined: Thu Oct 06, 2011 10:43 am

Re: PowerVision 2.9.10481 Modbus

Post by Ocelot » Tue May 30, 2017 4:50 pm

Or should I be selecting Output Coil (0xxxx) and setting starting address as 0[41001] to get a final number of 041,001?
Kyle Bruneau
Applications Engineer - MurCal Inc
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: PowerVision 2.9.10481 Modbus

Post by boyce » Wed May 31, 2017 8:36 am

You have to stay with the 4 for the holding register. Register number 41001 in the old interface is the same as 401001 with the new. The 4 just indicates a holding register and 1001 is the register number.
Boyce Schrack
Enovation Controls