Open ckdanny opened 8 years ago
seconded. Any idea where we can find this?
@ckdanny @bgulla Thanks. I'll fix the problem with missing documentation. Right now you can use docs in PDF format: https://github.com/uzumaxy/pymodbus3/blob/master/doc/pymodbus3.pdf
thanks, this is exactly what I needed.
On Tue, Jul 26, 2016 at 3:11 PM, Maxim notifications@github.com wrote:
@ckdanny https://github.com/ckdanny @bgulla https://github.com/bgulla Thanks. I'll fix the problem with missing documentation. Right now you can use docs in PDF format: https://github.com/uzumaxy/pymodbus3/blob/master/doc/pymodbus3.pdf
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/uzumaxy/pymodbus3/issues/1#issuecomment-235373541, or mute the thread https://github.com/notifications/unsubscribe-auth/ACkoMzqN_bKVv4cuSWnJIaE3dSXAzkP_ks5qZlv_gaJpZM4ItKi7 .
Brandon
@uzumaxy I'm working from that documentation and I must be missing a small detail since the package isn't returning successful results. Pasted below is what I'm attempting. Do you have recommendations on what I need to do to get this to successfully return the value from the specified register?
@ckdanny or @bgulla, do either of you have any recommendations on where I might be going wrong? I'm able to successfully return values in Python v2.7 with pymodbus (github package from mesias).
from pymodbus3.client.sync import ModbusTcpClient as ModbusClient from pymodbus3.transaction import ModbusRtuFramer import logging
logging.basicConfig() log = logging.getLogger() log.setLevel(logging.DEBUG)
client = ModbusClient('10.x.x.x', port=7001, framer=ModbusRtuFramer)
client.connect()
rr = client.read_input_registers(5748, 1, unit=0x01) print(rr.registers)
client.close()
The Document is not found.