Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » 4DIAC-RTE: have I misunderstood data type architecture?
4DIAC-RTE: have I misunderstood data type architecture? [message #1790021] Sun, 03 June 2018 10:04 Go to next message
Luca Hollkosse is currently offline Luca HollkosseFriend
Messages: 10
Registered: March 2018
Junior Member

I used the code of forte ( to build this hierarchical data structure:


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"/>

<Response ID="147" Reason="BAD_PARAMS">

Best regards

[Updated on: Sun, 03 June 2018 10:33]

Report message to a moderator

Re: 4DIAC-RTE: have I misunderstood data type architecture? [message #1790038 is a reply to message #1790021] Sun, 03 June 2018 20:18 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1224
Registered: January 2014
Senior Member
Hi no you haven't misunderstood the data type architecture. The date type hierarchy is defined in IEC 61131-3 [1].

Also you are assuming right that if you have ANY_MAGNITUDE that you can pass an according typed IEC 61131-3 literal. The only point is that we currently haven't implemented for typing the short name literals (i.e., T, TOD, DT). You have to use the long name. In your eample TIME#1234ms.

Previous Topic:FORTE Monitoring: no error message after giving invalid force value?
Next Topic:How to customize devices?
Goto Forum:

Current Time: Thu Jun 17 18:57:31 GMT 2021

Powered by FUDForum. Page generated in 0.01989 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top