Method AbsoluteOffset

AbsoluteOffset method allows users to define home offset based on a user-defined absolute position offset. This method may be used when the distance between the encoder-zero and machine zero is known, for example when using an absolute encoder. The axis does not move. Homing switches, direction, velocities or inputs do not have to be configured.

Note

The state of the axis does not have to be Operation Enabled to execute this method.

In AbsoluteOffset method, home offset is calculated as:

HomeOffset = - AbsoluteOffset

The minus sign before AbsoluteOffset is necessary to achieve compensation.

AbsoluteOffset method diagram

AbsoluteOffset method diagram

Location descriptors for figure AbsoluteOffset method diagram

Position descriptor

Description

M

Machine zero.

E

Encoder zero.

Signals

The signals for this homing method are given in Homing signals.

Homing signals

Name

Data type

R/W

Description

AbsoluteOffset

Double

R

The offset between the encoder zero and the machine zero.

Run exceptions

The AbsoluteOffset homing method can fail with the run exceptions given in Homing run exceptions for method AbsoluteOffset.

Homing run exceptions for method AbsoluteOffset

Run exception

Description

AbortedException

Resulting home offset is out of bounds.

OutOfResourcesException

No commands available during homing procedure.