Skip to content

Python modbus communication reading words on Mitsubishi Q03udv PLC using ModbusTcpClient library #1

@999kkumar

Description

@999kkumar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions