User guide
Contents
6 Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.50 L_DcSetBitOfByte - bit operation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 237
5.51 L_DcSetBitOfDWord - bit operation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 238
5.52 L_DcSetBitOfWord - bit operation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 239
5.53 L_DcSpeed_sToNorm_n - signal converter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240
5.54 L_DcSpeed_sToSpeed_v - signal converter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 241
5.55 L_DcSpeed_vToSpeed_s - signal converter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 242
5.56 L_DcWordBitand - bit combination _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 243
5.57 L_DcWordBitor - bit combination _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 244
5.58 L_DcWordBitxor - bit combination _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 245
5.59 L_DcWordTo2Bytes - type converter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 246
5.60 L_DcWordToBits - bit demultiplexer _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 247
5.61 L_DcWordToByte - type converter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 248
5.62 L_DcWordToDWord - type converter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 249
5.63 L_DcWordToInt - type converter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 250
5.64 L_DevApplErr - error tripping _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 251
5.65 L_DevApplErrFix - error tripping _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 253
5.66 L_DevBrakeStateDecoder - status signals of the basic function "Brake control" _ _ _ _ _ _ _ _ _ _ _ 255
5.67 L_DevDriveInterfaceStateDecoder - status signals of the drive interface _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257
5.68 L_DevHomingStateDecoder - status signals of the basic function "Homing" _ _ _ _ _ _ _ _ _ _ _ _ 259
5.69 L_DevLimiterStateDecoder - status signals of the basic function "Limiter" _ _ _ _ _ _ _ _ _ _ _ _ _ 261
5.70 L_DevManualJogStateDecoder - status signals of the basic function "ManualJog" _ _ _ _ _ _ _ _ _ 263
5.71 L_DevParReadFix - read parameter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 265
5.71.1 Example _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 268
5.72 L_DevParWriteFix - write parameter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 271
5.73 L_DevPositionerStateDecoder - positioning status signals _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 275
5.74 L_DevReadParDInt - reading parameters of the DINT type _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 277
5.75 L_DevSMControlDecoder - control signals from the safety module _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280
5.76 L_DevSMControlEncoder - control word for limiter _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282
5.77 L_DevSMStateDecoder - status signals from the safety module _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 284
5.78 L_DevSMStateDecoderIO - status signals from the safety module _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 286
5.79 L_DevWriteParDInt - writing to parameters of the DINT type _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287
5.80 L_EsClutchPos - clutch (time-controlled) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 290
5.80.1 Signal characteristics _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 295
5.80.2 Interconnection example _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 297
5.81 L_EsEncoderConv - encoder signal conditioning _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 298
5.81.1 Typical application _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 301
5.81.2 Encoder settings _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 301
5.81.3 64 bit encoder signal evaluation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 302
5.81.4 Signal characteristics _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 303
5.82 L_EsStretchIntegrate - synchronously stretching/compressing the master value _ _ _ _ _ _ _ _ _ _ 304
5.82.1 Signal characteristics _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 307
5.83 L_LdAddOffsetCyclic - offset addition _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 308
5.84 L_LdClutchAxisP - virtual clutch for synchronism _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 309
5.85 L_LdClutchV - virtual clutch for electronic gearboxes _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 312
5.86 L_LdConvAxisV - speed ratio _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 315
5.87 L_LdDifferentiateCyclic - cyclic differentiation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 318
5.88 L_LdExtrapolate - extrapolation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 319
5.88.1 Function _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 321
5.89 L_LdIntegrateCyclic - cyclic integration _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 322
5.90 L_LdLinearCoupling - master value connection _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 324
5.90.1 Interconnection example _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 326
5.91 L_LdMarkSync - mark synchronisation _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 327
5.91.1 Typical application _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 330
5.91.2 Signal characteristics _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 332
5.91.3 Interconnection example _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 333