Interface Design

Rule #5:

Design smart Interfaces (Required)

We can distinguish between two types of interfaces

For external interfaces we propose to use a reduced set of parameter types. With this, the end user has no need to use dangerous or compli­cated data types like POINTER or the ADR() operator. Interfaces should be optimized for the use with CFC. It is a good practice to reuse the "Common Behavior Model" to build function block interfaces for end users. Libraries, which are especially implemented regarding end user requirements, will be indicated by a special quality mark.

The following property:

IsEndUserLibrary (Bool) := True | False

marks libraries which are especially suitable for the usage by end users.