4DIAC-IDE doesn't allow to use "DT" and other names for FB In- and Outputs. The reason for this is that already elements with the same name exists. These elements are the short names of data types. Maybe the short form of the data types should be only used as literals.
This is an interesting issue you found. Because on the one side DT is a reserved keyword which IEC 61499 has inherited from IEC 61131-3 on the other side DT is used for all the timed event function blocks.
I personally think that using only the long data type names would be fine for 4DIAC as we have the code completion for ST algorithms and the drop down lists and palette in the interface editor.
Any other thoughts on this?
in IEC 61131-3 the short forms are allowed everywhere but due to the drop downs and the code completion I am fine with the suggested solution. I guess in ST it is no Problem if someone does not use the codecompletion but the short form?
I would suggest that even if someone uses the short form for declaring inline variables in an ST-algorithm to flag it as an error. So that consistently we are only allowing the long forms. I think otherwise the parser may bet confused.
Furthermore I just noticed that FORTE anyhow does not support the short forms and I think it will be quite hard to change FORTE to support both long and short forms.
As there where no major objections I removed the two abbreviated data types in cset [fordiac-ide:932f70]
Related
Commit: [932f70]
Diff: