You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by GitBox <gi...@apache.org> on 2022/11/25 12:35:42 UTC
[GitHub] [plc4x] chrisdutz opened a new issue, #671: Implmement the Java ADS PlcValueHandler to use the right data-types
chrisdutz opened a new issue, #671:
URL: https://github.com/apache/plc4x/issues/671
Currently the AdsDriver uses the default PlcValueHandler from the SPI (org.apache.plc4x.java.spi.values.PlcValueHandler). This is currently unable to correctly process ADS Symbolic Tags as they don't have any Type information.
They need to be resolved to DirectTags in order to do so.
In order to implement this, we should probably introduce a DriverContext, similar to that in the Go version and to add a resolution method there so the AdsValueHandler can resolve Symbolic tags to Direct tags and then to use the type information to correctly handle and cast data.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Implmement the Java ADS PlcValueHandler to use the right data-types
Posted by "chrisdutz (via GitHub)" <gi...@apache.org>.
chrisdutz commented on issue #671:
URL: https://github.com/apache/plc4x/issues/671#issuecomment-1731356420
THe current Java ADS driver should handle this correclty
--
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.
To unsubscribe, e-mail: dev-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Implmement the Java ADS PlcValueHandler to use the right data-types
Posted by "chrisdutz (via GitHub)" <gi...@apache.org>.
chrisdutz closed issue #671: Implmement the Java ADS PlcValueHandler to use the right data-types
URL: https://github.com/apache/plc4x/issues/671
--
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.
To unsubscribe, e-mail: dev-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [plc4x] chrisdutz commented on issue #671: Implmement the Java ADS PlcValueHandler to use the right data-types
Posted by GitBox <gi...@apache.org>.
chrisdutz commented on issue #671:
URL: https://github.com/apache/plc4x/issues/671#issuecomment-1327422740
I currently added a hack, that allows writing data, in a way that if you pass in PlcValue objects, it will simply leave them unchanged, however they are not validated in any way. This hack should be removed from: org.apache.plc4x.java.spi.values.PlcValueHandler Line 124-137
--
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.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org