Hi,
I used the code of forte (http://git.eclipse.org/c/4diac/org.eclipse.4diac.forte.git/tree/src/core/datatypes) to build this hierarchical data structure:
Any
-AnyDerived
--Array
--Struct
-AnyElementary
--AnyMagnitude
---Time
---AnyNum
----AnyReal
-----LReal
-----Real
----AnyInt
-----Int
-----DInt
-----LInt
-----SInt
-----UDInt
-----UInt
-----ULInt
-----USInt
--AnyBit
---Bool
---Byte
---DWord
---LWord
---Word
--AnyString
---String
---WString
--AnyDate
---TimeOfDay
---DateAndTime
---Date
For port IN1 of function block F_ADD, the tooltip contains the data type "ANY_MAGNITUDE".
Am I correct in assuming that I should be able to pass either a "TIME" (for example T#1234ms) or an "ANY_NUM" (for example INT#42) to this port?
Is there an overview that shows which fb supports which input types?
Output of Deployment Console:
<Request Action="WRITE" ID="147">
<Connection Destination="F_ADD.IN1" Source="T#1234s"/>
</Request>
<Response ID="147" Reason="BAD_PARAMS">
</Response>
Best regards
[Updated on: Sun, 03 June 2018 06:33] by Moderator