KEPSERVER - MODBUS addressing-help

italo2008

Member
Join Date
Feb 2009
Location
Padova
Posts
95
Hi

I'm trying to establish a MODBUS connection between Panelview plus 1000 (that is the MASTER) and my PC (Slave). In the panel project there's a KEPserver driver running, and in my PC there's a Modbus slave simulator.

I want to simulate some holding registers in my PC, and read them from the panel.
The simulator user guide tells me the parameters that I have to input in the simulator window:

Example:
You want to simulate 20 holding registers from address 40011 (10).
- Slave ID = The ID of your device
- Function = 03 Read Holding Registers
- Address = 10 (Protocol address)
- Quantity = 20

Now, when I try to insert in kepserver, for example, holding register 40011 , I can't do it because the address is forced to 400011.

How does it works??? What's the meaning of
Address = 10 (Protocol address)
 
The root cause of your confusion goes back to the early days of Modicon PLCs and Modbus. The numeral "4" designates 16-bit word memory in Modbus. Originally the limit on type 4 memory was 10,000 words so the address range was from 40000 to 49999. Later that got increased to 100,000 words so the address range became 400000 to 499999. Your KEPserver driver is defaulting your entries to the expanded address range.

The Modbus address 400011 represents the same memory location in a Modbus slave as 40011. It's an offset of 11 words from the start of type 4 memory.
 
>How does it works??? What's the meaning of
Quote: Address = 10 (Protocol address)

The use of the words 'address' and 'register' get misty, but they are offset from another by one, because of the origin from where the count starts.

Addresses start from zero
Registers start from one

address 00000 = register 00001
address 00001 = register 00002
address 00002 = register 00003
~ ~
address 00010 = register 00011

I left the leading 4 off, because it's the same with input registers in 3xxxxx range. The leading character is only for human use, to identify whether the address/register is for input range (3xxxxx) or the holding register range (4xxxxx).
 
I'm becoming crazy.... Does anybody know if there is a sample project somewhere? I'm using Factorytalk view 6.0 and a panelviewPlus 1000.....


thank you...
 

Similar Topics

Hi Guys, I am creating Factory Talk View Tags (RSView). I want to tie these tags directly to kepserver without having to declare a seperate tag...
Replies
1
Views
5,904
does anyone have good experience with the sorcery of using a Panelview with Firmware at V9.0 and KEPserver V5.19 ? i do have the right...
Replies
1
Views
1,388
does anyone have good experience with FTV Panelview Firmware version V8.1 & V9.0 and Kepserver modbus tcp comms to 3rd party? i have an PV1500+...
Replies
2
Views
2,949
Hey guys, I posted a question a few days ago about using a PanelView Plus with an AB Micro850 PLC. The response I got suggested that I use...
Replies
3
Views
6,014
Hello Everyone, I am having some major issues here. In SCADAPACK, all analogs are declared as 32-bit values. For example: PRESSURE_SCALED...
Replies
7
Views
4,303
Back
Top Bottom