EasyManua.ls Logo

Lenze 8400 - LConvunitstoincr3

Lenze 8400
1590 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Lenze · 8400 HighLine · Reference manual · DMS 12.0 EN · 06/2017 · TD23 1310
17 Function library
17.1 Function blocks | L_ConvUnitsToIncr_3
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
17.1.50 L_ConvUnitsToIncr_3
Taking into account the machine parameters, this FB converts a position value provided in the real
unit of the machine into an internal 32-bit position value.
The conversion mode has to be set in C01294/3
. In the Lenze setting, no conversion takes place
due to compatibility reasons.
Conversion and provision of the result to dnOut_p do not
take place in real time! Hence, the
bDataValid output signalises when the conversion has been completed and the dnOut_p output
value is consistent for transfer to following processes.
Inputs
Outputs
Parameters
Designator
Data type
Information/possible settings
wInLWord / wInHWord
WORD
Input signal Low Word / High Word
Designator
Data type
Value/meaning
bDataValid
BOOL
FALSE Conversion is active, dnOut_p is not valid.
TRUE Conversion is completed, dnOut_p is valid (consistent).
dnOut_p
DINT
Result of conversion in [increments]
Parameters Possible settings Info
C01294/3
Mode: Position calculation
0 dnOut_p=HW+LW No conversion (Lenze setting)
Note!
If a cycle length is set in C01201/1
, a
calculation is made under the
following conditions:
Position specification is higher
than or equal to the cycle length.
Position specification is negative.
For a correct positioning process,
wait until bDataValid = TRUE.
1 16 bits: LW=+/-32767 wInLWord = ±32767 [Unit]
2 16 bits: HW=+/-; LW=0..65535 wInLWord = 0 ... 65535 [Unit]
wInHWord = sign
(0 = positive; 0=negative)
3 32 bits: HW_LW=+/-214748_3647 wInHWord and wInLWord =
±214748.3647 [Unit]
/B&RQY8QLWV7R,QFUB
Z,Q/:RUG
Z,Q+:RUG GQ2XWBS
81,76
,1&
E'DWD9DOLG
& 3RV&DOF0RGH

Table of Contents

Other manuals for Lenze 8400

Related product manuals