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

Feature/write extended registers #190

Merged
merged 23 commits into from
Sep 26, 2020

Conversation

hutcheb
Copy link
Contributor

@hutcheb hutcheb commented Sep 22, 2020

Add support for writing extended registers.

hutcheb and others added 20 commits September 8, 2020 19:29
Add a cast to the PLCValue parameter so that we are able to use non 
standard methods to decode request
Sample Modbus.mspec change to be able to specify the datatype when 
parsing the PLCValue.
This allows IEC61131 datatypes INT (r/w) and UINT (Write only) to be 
used to convert Modbus registers.
This is to avoid needlessly casting it.
Outstanding items:-
There is a readBigInteger method which isn't implemented yet. Exception raised when reading ULINT.
Documentation
Discuss if this should be included in other protocols at this point.
Allow IEC 61131 values to be use with the Modbus protocol
This was done so that a PLCList can be created from data from the PLC of 
the IEC types. Otherwise Java PlcValue would be used.
- Refactored the existing Java type based PlcValues to a more generic IEC 61131-3 based type system.
- Got everything working, all tests to pass etc and did some testing of S7 and Modbus reading.
@asfgit asfgit merged commit cb80703 into apache:develop Sep 26, 2020
@hutcheb hutcheb deleted the Feature/WriteExtendedRegisters branch November 12, 2020 10:57
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

Successfully merging this pull request may close these issues.

None yet

3 participants