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

Allow setting up a slave to use a CSV file or similar to fill in register number and values #23

Open
kommando828 opened this issue Aug 25, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kommando828
Copy link

Have been using the Slave Simulator function to emulate PV Inverters for where data loggers have a discovery stage whereby they query certain registers for expected values. Normally this is only 5 to 8 register's and so easy to type in, however I have come across one with nearly 180 registers being queried in the discovery stage. Lots of typing but prone to error.

Suggestion is to use a 5 column CSV with , delimiter for input and holding type

Type of register(input or holding so 3 or 4), register number, Data type float int16 int32 (so 1 2 or 3), Value, word swap (1 or 2
), byte swap (1 or 2)

So a holding register with register number 40001, data type int16, no word swap, yes to byte swap would be

4,40001,2,1,2

@SciFiDryer SciFiDryer added the enhancement New feature or request label Aug 30, 2024
@SciFiDryer SciFiDryer self-assigned this Aug 30, 2024
@SciFiDryer
Copy link
Owner

That is a good suggestion, the import/export option could be added to the menu bar of the simulator once started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants