Open 999kkumar opened 6 years ago
I think you have posted this issue in the wrong project. This mbtcpprotocol library is a node.js library, not a Python library. But to solve your issue with any library, you may want to try to get a Wireshark trace of your communication.
Python modbus communcation reading words on Mitsubishi PLC using ModbusTcpClient library
How to read data register D1 DE or else
I have tested it ....Connection is fine but reading give error .Incomplete message received.
from pymodbus.client.sync import ModbusTcpClient
client = ModbusTcpClient('10.1.1.4',port=5007) client.connect()
result = client.read_holding_registers(1,1) print result t = result.registers[0] print t
https://stackoverflow.com/questions/51422826/python-modbus-communcation-reading-words-on-mitsubishi-q03udv-plc-using-modbustc