hutcheb opened a new pull request #186:
URL: https://github.com/apache/plc4x/pull/186


   Add support for BOOL, INT, UINT and REAL data types for the Modbus protocol.
   address string can now include any of these types such as:- 
holding-register:10:REAL[10], extended-register:10:UINT[10].
   Note the previous format now defaults to BOOL or INT depending on the memory 
area.
   
   Add support to parse values from Java Strings to any of these types. This 
fixes a bug in the hello-world example when writing.
   
   Add support for BOOL, INT, UINT and REAL PlcValue types. This have been 
added as we are able to include the max/min value checks and casting of the 
input type within the constructors cleaning up the ModbusFieldHandler logic. 
The method getBytes has also been added to clean up the ModbusProtocolLogic 
class.
   
   I'll add Documentation once the other Modbus Documentation PR has been 
finalized.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to