Abstract components are used to define a super class that passes down its properties (for example, parameters) to classes derived from it. One essential property of an abstract component is that no resource is allocated to it. Only an actual component derived from the abstract component contains a resource.
For the new creation of discipline-specific component, make sure that the selection whether a component is abstract or not is irreversible.
New creation of a CoDeSys component with resource:
- If a resource is selected, the component is defined as not abstract (Abstract check box is grayed out).
- The Abstract check box cannot be marked at a later time.
New creation of an abstract CoDeSys component:
- If the Abstract check box is marked, the check box is grayed out.
- The Abstract check box cannot be marked at a later time.
- If [Import] is grayed out, no resource can be selected.
- The language of the resource cannot be selected.