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

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

There are two possibilities how the axis position to overtake can be calculated. After overtaking the homing position the axis is considered as referenced.

Setting the reference position is triggerd at the rising edge of the command element of control unit MCControlBoolUnit_SetReferencePosition (see also [HLI]. The reference position is calcaluted from the values of the involved axis parameters or control units at that instance.

Variable name

Type

Permissible range

Axis type

Dimension

set_refpos_mode

ISG_CHAR

See strings at following table

----

----

String

Significance

ABSOLUT

Axis position will be set on position defined inP-AXIS-00152.

OFFSET

New axis position is encoder position +P-AXIS-00279.

PLC

Reference position of the axis is set to the value of the axis specific control unit MCControlSGN32Unit_ReferencePosition. Sea also [HLI].

PLC_OFFSET

New axis position is encoder position + value of the axis specific control unit MCControlSGN32Unit_ReferencePosition. See also [HLI].

CAUTION

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

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

Overtaking the homing position is only possible if no program is active. Overtaking the homing position while a program is active causes an error message with ID 70194.