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

MODBUS - device-modbus-go #369

Open
boaretti opened this issue Aug 24, 2022 · 4 comments
Open

MODBUS - device-modbus-go #369

boaretti opened this issue Aug 24, 2022 · 4 comments
Labels
question Further information is requested

Comments

@boaretti
Copy link

Hi,
Please, when reading a single HOLDING_REGISTER is it possible to decouple a single read in multiple
values. My case a single register the information represented as BITs so If possible I would like to derive several information
from this single read. Is it possible ? Could someone point me to the correct place ?

@boaretti boaretti added the question Further information is requested label Aug 24, 2022
@cloudxxx8
Copy link
Member

Yes, it's possible by modifying the driver code. You can feel free to open a PR for this mechanism.

@jiekechoo
Copy link
Member

@cloudxxx8
I have a modbus tcp slave, it has >5 register data, is it possible to couple to one event in AutoEvents?

Yes, it's possible by modifying the driver code. You can feel free to open a PR for this mechanism.

@cloudxxx8
Copy link
Member

Yes, you define one Device Command in the Device Profile to aggregate multiple Device Resources (5 in your case).
https://docs.edgexfoundry.org/2.3/walk-through/Ch-WalkthroughDeviceProfile/#understanding-device-commands

@jiekechoo
Copy link
Member

@cloudxxx8
image
got it, thanks.

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

No branches or pull requests

3 participants