1 typical application, 2 encoder settings, 5function blocks – Lenze E94A User Manual
Page 301

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
301
5
Function blocks
5.81
L_EsEncoderConv - encoder signal conditioning
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.81.1
Typical application
Via the FB a singleturn or multiturn absolute value bus encoder (CAN, Profibus) can be adapted to
the application.
• Example: Master value encoder via system bus (CAN) for detecting the speed of the material
path.
• The encoder information conditioned can be optionally used as absolute position or as master
speed.
• Via the inputs and parameters the position output can be set to a position defined (set refe-
rence) which is reconstructed after mains switching.
5.81.2
Encoder settings
Encoder resolution
By means of the settings in C05273 (singleturn resolution) and C05274 (multiturn resolution) the
FB recognises whether a singleturn or multiturn encoder is used.
• For an encoder of the "singleturn" type, for instance only the number of increments of the enco-
der has to be set in C05273, and C05274 remains on the Lenze setting "1".
• If a "multiturn" encoder is used, in addition to the number of increments the number of revolu-
tions has to be set in C05274.
Please also see:
64 bit encoder signal evaluation
Encoder initialisation time
The FB can consider an encoder initialisation time after which the encoder for the first time supplies
signals via the bus after switch-on.
• This initialisation time is to be set in C05277.
• Until this initialisation time has elapsed, the output bInit is set to TRUE, and the FB does not car-
ry out internal calculations yet.
Behaviour after mains switching
In C05275 it can be selected whether the position is to be deleted after mains switching (initialised
with "0"), or if the last value is to be reconstructed, which is only reasonable if an absolute value en-
coder is used.
Note!
The product of a singleturn and multiturn resolution set must not exceed the numerical
value of 2
31
-1!