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

contrib example: TCP drainage simulator with two devices #1936

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

serpent213
Copy link
Contributor

Simulates two Modbus TCP slave servers:

Digital IO (DIO) with 8 discrete inputs and 8 coils. The first two coils each control a simulated pump. Inputs are not used.

Water level meter (WLM) returning the current water level in the input register. It increases chronologically and decreases rapidly when one or two pumps are active.

Feels pretty straight forward, but I was not able to find a good example like this.

Simulates two Modbus TCP slave servers:

Digital IO (DIO) with 8 discrete inputs and 8 coils. The first two coils each
control a simulated pump. Inputs are not used.

Water level meter (WLM) returning the current water level in the input
register. It increases chronologically and decreases rapidly when one or
two pumps are active.
Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@janiversen janiversen merged commit 23f1f38 into pymodbus-dev:dev Jan 17, 2024
1 check passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants