Schneider PM5100 & Kepware

ShaunCroman

Member
Join Date
Apr 2015
Location
UK
Posts
26
Hi

Just wondering if anyone has ever had to read an Schneider PM5100 meter with the Kepware Modbus driver. I am trying to read Modbus registers 3204 - 3207 which should make a 64bit integer with each 16bit integer calculated together (using a Schneider supplied calculation) in order to give me a kWh reading. My results have been somewhat different from what I have expected.

when setting the tag i cant seem to specify 3204 as Kepware puts a 4 infront of it making the register 43204..schneider keep challenging this.

If anyone has ever tried to do this with success I would like to hear about it
Many thanks
 
Shaun

The 4 that Kepware is adding is to indicate that it is reading a Holding Register (FC03). Its better to do this yourself so try a six digit version "403204", make sure that Kepware knows that the datatype is a INT64 which for Kepware is a "LLong". you may have to play with the zero-based addressing and byte/word order settings in Kepware's device settings to get the reading you need.
 
Hi

Just wondering if anyone has ever had to read an Schneider PM5100 meter with the Kepware Modbus driver. I am trying to read Modbus registers 3204 - 3207 which should make a 64bit integer with each 16bit integer calculated together (using a Schneider supplied calculation) in order to give me a kWh reading. My results have been somewhat different from what I have expected.

when setting the tag i cant seem to specify 3204 as Kepware puts a 4 infront of it making the register 43204..schneider keep challenging this.

If anyone has ever tried to do this with success I would like to hear about it
Many thanks

Check the firmware version of the meter, they listened to the folk who actually use the things and sacked off the 64bit int and made it a float in later versions, there is an update version of the register list on the =S= website somewhere...
 
Thanks

Many thanks for the replies

Chris- I have got the values ok but unfortunately for that address range Kepware doesn't like LLongs. I get the same values via Citect scada as I do in Kepware. Citect 7.4 only does 16bit reads. Which is great until the meter goes over 65Kwh or 65535wr

Tragically- thanks I will check the firmware revision on the unit

Cheers
 
Many thanks for the replies

Chris- I have got the values ok but unfortunately for that address range Kepware doesn't like LLongs. I get the same values via Citect scada as I do in Kepware. Citect 7.4 only does 16bit reads. Which is great until the meter goes over 65Kwh or 65535wr



Cheers

I just checked, Kepware will only allow a 32bit read on Modbus TCP.

Have you tried a float? if its a 64bit float then that will be interesting:)
 
I just checked, Kepware will only allow a 32bit read on Modbus TCP.

Have you tried a float? if its a 64bit float then that will be interesting:)

Its not a 64 bit float, its a 64 bit int, so you need to read the 4 x 16 bit int and calculate it, it was a royal pain so they swapped it to float 32 in later versions but the int 64 is still there too, registers as below:

Active Energy Delivered (Into Load) 3204 Wh INT64

Active Energy Delivered (Into Load) 2700 kWh FLOAT32

PS: Chris, I think we are in the same industry ;-)
 
Last edited:

Similar Topics

I am using Schneider elau pack drive servo motor ISH-100. I am facing the problem that On the ISH -100 red light is blinking and pack drive C-600...
Replies
0
Views
36
Hello, As part of our project, we are using an M241 controller. This controller interfaces with an industrial computer and a router via a switch...
Replies
2
Views
76
Hello, I need to access the bits from the fire system control panel through RS-485. So, I used Read Var block to read from the panel...
Replies
0
Views
170
Hi Please I have zeilo smart relay #SR2A201BD but I don't have it's programming cable. Can I use any general usb/rs232 converter? Or need...
Replies
3
Views
132
Hello, Recently I was asked to analyze the logic of the air conditioning system in one of our departments. The PLC that controls this system is...
Replies
2
Views
147
Back
Top Bottom