Jep, noin se pitäisi minunkin mielestä mennä.
Mutta ei:
jyrki@xxxxx:~$ mbpoll -a1 -r1578 -t3:int -1 xx.xx.xx.xx
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.
Protocol configuration: Modbus TCP
Slave configuration...: address = [1]
start reference = 1578, count = 1
Communication.........: xx.xx.xx.xx, port 502, t/o 1.00 s, poll rate 1000 ms
Data type.............: 32-bit integer (little endian), input register table
-- Polling slave 1...
[1578]: 1456
jyrki@xxxxx:~$ mbpoll -a 1 -r 1 -t 3 -1 xx.xx.xx.xx
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.
Protocol configuration: Modbus TCP
Slave configuration...: address = [1]
start reference = 1, count = 1
Communication.........: xx.xx.xx.xx, port 502, t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, input register table
-- Polling slave 1...
Read input register failed: Illegal function
Nibeltä sain sittemmin ohjeet miten tulostaa laitteen tarjoamat modbus-rekisterit usb-tikulle. On vielä kokeilematta.