plc4x-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [plc4x] hutcheb opened a new pull request #186: Feature/modbus data type
Date Thu, 10 Sep 2020 10:40:23 GMT

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:
users@infra.apache.org



Mime
View raw message