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

Documentation of Project #1

Open
ckdanny opened this issue Jun 3, 2016 · 4 comments
Open

Documentation of Project #1

ckdanny opened this issue Jun 3, 2016 · 4 comments

Comments

@ckdanny
Copy link

ckdanny commented Jun 3, 2016

The Document is not found.

@bgulla
Copy link

bgulla commented Jul 26, 2016

seconded. Any idea where we can find this?

@eterey
Copy link
Owner

eterey commented Jul 26, 2016

@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

@bgulla
Copy link

bgulla commented Jul 26, 2016

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
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACkoMzqN_bKVv4cuSWnJIaE3dSXAzkP_ks5qZlv_gaJpZM4ItKi7
.

Brandon

@CabritoIncognito
Copy link

@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()

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

4 participants