Function block library lenzeelectricalshaft.lib – Lenze DDS Global Drive PLC Developer Studio User Manual

Page 38

Advertising
background image

Function block library LenzeElectricalShaft.lib

Special functions

2.1.4

Homing function (L_REF)

2−28

L

LenzeElectricalShaft.lib EN 1.2

2.1.4.7

Example: homing to a TouchProbe

Nature of the task:

·

Homing is to be carried out with HomingMode = 0 (moving to the reference point with right/cw
direction of rotation).

·

The digital input X5/E4 (TouchProbe for the SB MCTRL_MotorControl) is to set the reference
point.

·

The homing speed is 1000 rpm, and the ramp−up time is 1 second.

·

During and after the homing, any phase− angle difference between the setpoint and actual
value is to corrected.

Implementation:

Abb. 2−22

Programming the FB L_REF for homing to a TouchProbe

·

Create one instance each of the FB L_DFSET and the FB L_REF.

·

Assign the first−instance codes to these instances, using the Instance−Parameter Manager. In
this way, all the values for the parameterization of the variables (e.g. for scaling and
initialization) will be set to the Lenze standard settings.

Note!

You can find the Lenze standard settings for the instances of an FB in the table Parameter Codes
for the Instances" in the corresponding FB description.

Advertising