Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
999kkumar opened this issue Jul 21, 2018 · 1 comment

Comments

@999kkumar
Copy link

999kkumar commented Jul 21, 2018

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

@999kkumar 999kkumar changed the title Python modbus communcation reading words on Mitsubishi Q03udv PLC using ModbusTcpClient library Python modbus communication reading words on Mitsubishi Q03udv PLC using ModbusTcpClient library Jul 21, 2018
@plcpeople
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants