Read modbus registers from csv file

129 views
Skip to first unread message

Kris

unread,
Aug 26, 2019, 3:48:58 PM8/26/19
to modbus-tk
Hi, 

I'm new to python and I would like to use modbus_tk in my project.
I've a device from which I've to read 2000+ registers on Modbustcp, and these registers are jumbled, have different data types and have different function codes (40001 - int, 40003 - float big endian, 40005 - float little endian, etc). Is there an option to fill all these registers in a csv file in a specific format (ip address, register, data type, function code) and read that csv in one go to get the data from the device. Can you please provide a small example for the same. 

Thanks!!
Kris
Reply all
Reply to author
Forward
0 new messages