Book a Demo

Author Topic: Language template for IEC61131-3  (Read 2875 times)

Freudigmann

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Language template for IEC61131-3
« on: June 19, 2009, 04:54:28 pm »
I wrote a short template for generating code for IEC 61131-3.

For enumerations everything worls fine.

With structs I have the problem that don't no how to list the attributes of the base structs.

I have the following code in the class template (overwriten by stereotype struct for IEC 61131-3 language):

TYPE %className% :
STRUCT
%list="Attribute" @separator="\n" @indent="\t"%
END_STRUCT
END_TYPE

How can I list the attributes of the base class?
« Last Edit: June 19, 2009, 04:55:50 pm by Freudigmann »