Comet system forum

Discussion forum about Comet system products

Temperature, Humdity,

Pressure Transmitters

and Data Loggers

You are not logged in.

#1 15-01-2008 10:53:47

wabraas
Member
Registered: 15-01-2008
Posts: 3

P8510 Modbus commands

I'm new to this so please excuse me for my question,

I'm trying to read out a P8510 with Modpoll:
With the command:  modpoll  -m tcp -c 4 -t 3 192.168.10.50

This is the programm Reply:
modpoll - FieldTalk(tm) Modbus(R) Polling Utility
Copyright (c) 2002-2006 FOCUS Software Engineering Pty Ltd
Visit http://www.modbusdriver.com for Modbus libraries and tools.

Protocol configuration: MODBUS/TCP
Slave configuration...: Address/Id = 1, start reference = 100, count = 4
Communication.........: 192.168.10.50, port 502
Data type.............: 16-bit register, input register table

Polling slave (Ctrl-C to stop) ...
Reply time-out!
Polling slave (Ctrl-C to stop) ...
Reply time-out!

What is wrong here?

Thank's for your help

Offline

 

#2 15-01-2008 14:13:22

MichalV
Administrator
Registered: 18-06-2007
Posts: 132

Re: P8510 Modbus commands

modpoll -m tcp -c 4 -r 1 192.168.10.50 or (has the same result)
modpoll -m tcp -c 4 -r 40001 192.168.10.50

Use function code 0x03 for device reading (16-bit output (holding) register), it means [-t 4] parameter (defined in modpoll as default).
Specify Start reference: [-r 1] or [-r 40001] parameter (modpoll default is 100!).

about supported registers see manual for your device:
-------------------------------------------------------------------
Supported Modbus commands:
Command                Code    Description
Read multiple register(s)    0x03    Reads 16 bit register(s)
Write multiple register(s)    0x10    Writes 16 bit register(s)
-------------------------------------------------------------------

Offline

 

#3 15-01-2008 14:34:01

wabraas
Member
Registered: 15-01-2008
Posts: 3

Re: P8510 Modbus commands

Thanks,

Works great

Greetings

Wiel

Offline

 

Board footer

Powered by PunBB | CZ / SK
© Copyright 2002–2005 Rickard Andersson