Modes for setting the homing position (P-AXIS-00278)

P-AXIS-00278

Modes for setting the homing position

Description

With control unit MCControlBoolUnit_SetReferencePosition it is possible to trigger the acceptance of an axis position as a homing position. See also documentation [HLI].

There are two possibilities how the accepted axis position can be calculated. After accepting the homing position the axis is considered as referenced.

Setting the reference position is triggered on the rising edge of the command element of control unit MCControlBoolUnit_SetReferencePosition (see [HLI]). The reference position is calculated from the values of the involved axis parameters or control units at that instant.

Parameter

kenngr.set_refpos_mode

Data type

STRING

Data range

ABSOLUT: The axis position is set to the position defined in the axis parameter P-AXIS-00152.

OFFSET: The new axis position is defined by the encoder position + P-AXIS-00279.

PLC: Reference position of the axis is set to the value of the axis-specific control unit MCControlSGN32Unit_ReferencePosition. (See also [HLI].)

PLC_OFFSET: New axis position is encoder position + value of the axis-specific control unit MCControlSGN32Unit_ReferencePosition. (See also [HLI].)

Axis types

T, R, S

Dimension

T: ----

R,S: ----

Default value

ABSOLUT

Drive types

Simulation, Conventional, Terminal, Lightbus, Profidrive

Remarks

The modes OFFSET and PLC_OFFSET are only practical if the encoder delivers an absolute position.

Accepting the homing position is only possible if no program is active. Accepting the homing position while a program is active causes an error message P-ERR-70194.