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

How to read subnet #25

Open
gotoxy opened this issue Jan 25, 2018 · 2 comments
Open

How to read subnet #25

gotoxy opened this issue Jan 25, 2018 · 2 comments

Comments

@gotoxy
Copy link

gotoxy commented Jan 25, 2018

I can connect to the controler via TCP/IP and read the registry, but i would like to read registry from the subnet of that device (that device is a panel with modbus ID:1 and i have thermostat connected via zigbee using modbus with different ID ex: 253,252,251,250,etc...) how can i read the registry of a modbus subnet ID:253 with this stack ?

@plpolak
Copy link
Member

plpolak commented Jan 25, 2018

I do not know the implementation details of this setup, but I guess you should use the UnitID property of TIdModbusClient to specify the device.

@gotoxy
Copy link
Author

gotoxy commented Jan 25, 2018

Thx, works great. I thought at first that UnitID was for my client ID on the network.

Thanks again.

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