1 overview: variable types for ports, Defining the system functionality – Lenze Engineer v2.21 User Manual
Page 156
![background image](/manuals/566294/156/background.png)
Defining the system functionality
Port editor (ports)
156
Lenze · Engineer · 2.13 EN - 10/2014
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
• Example:
Network specification for interconnection
For the automatic interconnection the user can specify an interface and therefore implicitly a
network for the break-up of a logic connection here.
• The interface and the network connected are both shown.
• The specification can be edited by clicking the Change network specification button. Only
interfaces/networks are shown via which interconnection for each machine application is
possible.
Variable definition
Display of the variable definition for a port selected.
8.11.1
Overview: Variable types for ports
A port of an application consists of variables. The »Engineer« summarises these variables again to
"Simple", "Record" or "Array" variable types:
Tip!
In general, the variable type to be used depends on the application. The criteria given in the
following subchapters can help you to find a suitable variable type.
Variable type
Info
Simple
This type only contains one variable of a basic data type like INT, WORD, etc.
• Use this type if it is not known how the devices are comprehensively
interconnected. A data consistency between the variables is not required.
Record
This type contains one or several variables of a basic data type like INT, WORD, etc.
• Use this type e.g in an interconnection of controllers with a ready-made
application and the same data structure.
Array
This type contains one or several variables of the same basic data type like INT,
WORD, etc.
• Use this type with simple binary systems (e.g. I/O terminals).
Note!
The identifiers of ports and the associated variables have to be definite.
The identifiers of the »Engineer« must not be identical with the IEC 61131-5 identifiers.