Discussion forum about Comet system products
You are not logged in.
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
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
Thanks,
Works great
Greetings
Wiel
Offline