1 data type check/implicit type conversion, Data type check/implicit type conversion, 2introduction – Lenze E94A User Manual
Page 30

2
Introduction
2.7
Signal types & scaling
30
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2.7.1
Data type check/implicit type conversion
For the »Engineer« up to and including V2.7 the following applies:
• Only inputs/outputs of the same signal type (with the same port symbol) can be connected in
the »Engineer« function block editor.
• Non-standardised inputs/outputs can be connected if the input and output have the same re-
solution.
• If different types are to be connected, corresponding conversion modules must be placed in the
function block editor.
As of the »Engineer« V2.9 the following applies:
• Signals of the DINT data type can now also be connected to signals of the DWORD data type. Si-
gnals of the INT data type can now also be connected to signals of the WORD data type.
• 32-bit-, 16-bit- and 8-bit data types can only be connected among each other.
• A type conversion does not require any conversion modules anymore which need more calcula-
ting time. Instead, the type conversion is implicit.
• The implicit type conversion is represented by a black bar at the port symbol in the function
block editor.
[2-9]
Representation of the implicit type conversion in the function block editor
• The following three tables show all permissible connections:
32-bit data types and
signal types
Scaled
(DINT)
Speed
(DINT)
Position/
angle
(DINT)
Accelerati-
on (DINT)
Other
(DWORD)
Other
(DINT)
Port
(UDINT)
Port
(DINT)
Port
(DWORD)
Scaled (DINT)
Speed (DINT)
Position/angle (DINT)
Acceleration (DINT)
Other (DWORD)
Other (DINT)
Port (UDINT)
Port (DINT)
Port (DWORD)