ScadaPack 32-Bit Modbus KepServer

elmatador

Member
Join Date
May 2008
Location
Canada
Posts
108
Hello Everyone,

I am having some major issues here. In SCADAPACK, all analogs are declared as 32-bit values. For example:

PRESSURE_SCALED (32-bit) has a MODBUS address of 44000

What SCADAPack does is it stores the values as follows:

44000 (Bits 16-31) upper 16-bits
44001 (Bits (0-15) lower 16-bits

So in kepserver whenever I read a Long, the value is garbage because it is expecting the following instead:
44000 lower 16-bits
44001 upper 16-bits

How do I get around to fixing this?

Please HELP!!
 
Thats the problem. I need to figure out a way to swap the order in KepServer. Keep in mind that this is the KepServer Enterprise Edition being used to communicate to FactoryTalk View.

This is driving me insane! I hope I dont have to move all this in my controller logic, it will be painful.

I will let you know if i find a way to do this.
 
Hi Mickey,

While I messing around with some settings I found these. Now its working. I want to attach my screenshot but having troubles. Will need to read the stickies. I will post the screenshot for the proper settings so that fellow programmers dont waste too much time on this.
 
You just need to make sure you uncheck the following:

FIRST WORD LOW IN MODBUS 32-BIT

When unchecked, it will treat the second word as low. (y)

Meaning:

PRESSURE 32-BIT: SCADAPACK MODBUS ADDRESS: 44001

HIGH WORD: 44001
LOW WORD: 44002

WORKS GOOD!!
 

Similar Topics

Hi People, I have a ScadaPack 330E that has been sitting on a shelf for a few years (previously working), and have recently re-installed...
Replies
4
Views
1,804
I've got 16-bit data at address 40200 on a Schneider Scapack 350. I can grab the data over Modbus TCP using Kepware at IP 172.16.1.100. When I...
Replies
8
Views
2,501
Hello, I’m still a novice when it comes to plcs, and I’m currently facing a problem I need help on. I’m on site at the moment, and connected to...
Replies
2
Views
1,527
I am programming a SCADAPack 350 with Telepace Studio. I want to know if the logic in running the first scan and if the program is running...
Replies
0
Views
1,258
Hi! I've got a customer that has several SCADApacks at remote sites and I need to make changes in their cellular network system. I have the .pia...
Replies
3
Views
1,893
Back
Top Bottom