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

Advanced simulator with cross memory. #1195

Merged
merged 1 commit into from
Nov 29, 2022
Merged

Advanced simulator with cross memory. #1195

merged 1 commit into from
Nov 29, 2022

Conversation

janiversen
Copy link
Collaborator

Updated the simulator to have a central memory model and the 4 blocks (coils etc) as offsets.

This model allows sharing of memory e.g. reading an address with both read_coils() and read_register().
Further updated a bit on the exception handling.

Remove json file load, that is really not an integral part of the datastore, apart from that the datastore+simulator might want a more complete json file (e.g. with ident).

@janiversen janiversen marked this pull request as draft November 26, 2022 15:43
@janiversen janiversen force-pushed the simulator_advanced branch 16 times, most recently from e12539e to e5b4834 Compare November 28, 2022 23:00
@janiversen janiversen marked this pull request as ready for review November 28, 2022 23:06
@janiversen janiversen force-pushed the simulator_advanced branch 2 times, most recently from bf10467 to 3918ecb Compare November 29, 2022 17:07
@janiversen janiversen merged commit b13c093 into dev Nov 29, 2022
@janiversen janiversen deleted the simulator_advanced branch November 29, 2022 18:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
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.

1 participant