Lenze DDS Global Drive PLC Developer Studio Manual do Utilizador Página 39

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 45
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 38
Function block library LenzeElectricalShaft.lib
Special functions
2.1.4 Homing function (L_REF)
2−29
L
LenzeElectricalShaft.lib EN 1.2
Setting the initial values of L_REF1 in the Instance−Parameter Manager
· Alter the initial value of dnHomingSpeed (maximum traversing speed) to
1000 rpm (286331153 corresponds to 16000 rpm).
· The initial value of byHomingMode keeps the Lenze standard setting
(0 = move to the home position in CW rotation.
· The initial value of wTiTimeHoming keeps the Lenze standard setting
(100 = 1 second ramp up/down time).
Function:
Note!
The phase−angle controller in the SB MCTRL_MotorControl must be activated.
( MCTRL_bPosOn_b = TRUE).
· The homing mode is started via DIGIN_bIn1_b.
· The speed setpoint is calculated by the ramp generator, and given out by L_REF1.nNset_a
· The ramp−up (acceleration)is made in accordance with the ramp−up time
(L_REF1.wTiTimeHoming) and the traversing speed that has been set for homing
(L_REF1.dnHomingSpeed).
· After 2 seconds, the marker (L_REF1.bMark_b) is set to FALSE by L_REF1.
Now, a TouchProbe signal can be set by L_REF1.bActTPReceived_b .
· The TouchProbe is triggered via the digital input X5/E4 (TouchProbe of the SB
MCTRL_MotorControl).
· MCTRL_dnActIncLastScan assigns the phase difference between the appearance of the
Touchprobe signal and the start of the task in which L_REF1 is processed to L_REF1 for the
calculation of the path.
· During homing, the phase−angle difference between the setpoint (ramp generator) and the
actual value (L_REF1.nNAct_v) is calculated.
· The phase−angle difference is output via L_REF1.dnPosOut_p , and then assigned to the
phase−angle controller in the SB MCTRL_MotorControl through the system variable
MCTRL_dnPosSet_p .
· After homing, L_DFSET1 calculates the phase−angle difference, and assigns the value to
L_REF1.dnPosIn_p .
The value is switched from L_REF1.dnPosIn_p through to L_REF1.dnPosOut_p.
· The setpoint/actual−value comparison is calculated in L_DFSET1 from L_DFSET1.nSet_v
(setpoint) and L_DFSET1.nNAct_v (actual value) and given out via L_DFSET1.dnPosDiffOut_p
Vista de página 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 45

Comentários a estes Manuais

Sem comentários