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
2.8 screenshot
PowerVision 2.9.10481 Modbus
- Ocelot
- Posts: 77
- Joined: Thu Oct 06, 2011 10:43 am
PowerVision 2.9.10481 Modbus
Kyle Bruneau
Applications Engineer - MurCal Inc
Applications Engineer - MurCal Inc
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: PowerVision 2.9.10481 Modbus
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
http://www.simplymodbus.ca/faq.htm#Ext
Boyce Schrack
Enovation Controls
Enovation Controls
- Ocelot
- Posts: 77
- Joined: Thu Oct 06, 2011 10:43 am
Re: PowerVision 2.9.10481 Modbus
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?
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
Applications Engineer - MurCal Inc
- Ocelot
- Posts: 77
- Joined: Thu Oct 06, 2011 10:43 am
Re: PowerVision 2.9.10481 Modbus
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
Applications Engineer - MurCal Inc
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: PowerVision 2.9.10481 Modbus
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
Enovation Controls