Skip to content

Simulator datatypes issue #2650

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

Closed
dakhnod opened this issue Apr 29, 2025 · 4 comments
Closed

Simulator datatypes issue #2650

dakhnod opened this issue Apr 29, 2025 · 4 comments

Comments

@dakhnod
Copy link

dakhnod commented Apr 29, 2025

Hello, thanks for the work on this!

I tried searching through the configuration, surely I missed something.

When starting the simulator, it already has some registers pre-filled, some not.

When attempting to write a value to a register with type invalid, I get the error Illegal data address.

I do not quite understand which addresses are restricted to which types and how to change a registers type.

I would be thankful for any input!

Thanks again!

@janiversen
Copy link
Collaborator

Please read the documentation, you need to supply a configuration, there is nothing predefined.

@dakhnod
Copy link
Author

dakhnod commented Apr 29, 2025

Okay, so just running pymodbus.simumator yields a mostly unusable server?

@janiversen
Copy link
Collaborator

please read the documentation!!

'just running' yields a default simulator or one configured for your needs.

@janiversen
Copy link
Collaborator

Does not seem to be a bug in pymodbus, but more a matter of reading the documentation (e.g. explore the configuration)

@janiversen janiversen closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2025
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