You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "Sebastian Wiendl (Jira)" <ji...@apache.org> on 2019/11/14 09:43:00 UTC
[jira] [Created] (PLC4X-154) Reading LREAL from S7 causes
PlcRuntimeException
Sebastian Wiendl created PLC4X-154:
--------------------------------------
Summary: Reading LREAL from S7 causes PlcRuntimeException
Key: PLC4X-154
URL: https://issues.apache.org/jira/browse/PLC4X-154
Project: Apache PLC4X
Issue Type: Bug
Affects Versions: 0.4.0
Environment: S7-1500 PLC
Reporter: Sebastian Wiendl
Reading an LREAL in my demo project https://github.com/sewiendl/plc4j-demo/tree/feature/read-lreal causes the following exception:{code}org.apache.plc4x.java.api.exceptions.PlcRuntimeException: Field 'LReal' could not be fetched, response was INVALID_DATATYPE
at org.apache.plc4x.java.base.messages.DefaultPlcReadResponse.getFieldInternal(DefaultPlcReadResponse.java:577)
at org.apache.plc4x.java.base.messages.DefaultPlcReadResponse.getObject(DefaultPlcReadResponse.java:81)
at com.example.plc4jdemo.Main.main(Main.java:39){code}The field was added with {code} builder.addItem("LReal", "%DB101.DBX110:LREAL");{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)