Type: |
Function Block |
Available as of: |
V1.0.6.0 |
Inherits from: |
- |
Implements: |
- |
Function block for different homing procedures
The function block allows to manage various homing procedures which can be selected via the i_etMode input. The parameters of the respective procedure can be accessed via the properties of the function block (see below).
As soon as the function block has been enabled via the i_xEnable input, the homing procedure selected via i_etMode can be started using the i_xStart input. Whether an axis has been successfully homed is indicated in the q_xHomeOk output.
Overview of contained homing procedures
Those parameters which apply for several modes are fitted closely to the inputs and outputs of the function blocks. Mode-specific parameters must be read and written via properties (see below).
The individual structure elements in the properties have the same name as the parameters of the used basic function blocks in the respective operating modes. Additional information for the basic function blocks is available via their parameters accordingly.
Homing procedures |
i_etMode input according to ET_HomeMode |
Property containing the parameters of the homing procedure |
Notes on parameterization |
Internal used basic function block |
---|---|---|---|---|
Homing to Touchprobe input (sensor) |
PosDirectionPosEdgeTp NegDirectionPosEdgeTp NegDirectionNegEdgeTp PosDirectionNegEdgeTp |
stTouchProbe |
The Touchprobe sensor is unambiguously assigned in the i_ifTouchProbe structure element |
|
Homing to digital signal (digital sensor input or BOOL expression) |
PosDirectionPosEdgeSensor NegDirectionPosEdgeSensor NegDirectionNegEdgeSensor PosDirectionNegEdgeSensor |
stSensor |
The state of the sensor must be copied cyclically on the i_xSensor structure element |
|
Homing to hardware limit switch (digital sensor input or BOOL expression) |
PosDirectionPosEdgeHWLimitPos NegDirectionPosEdgeHWLimitNeg NegDirectionNegEdgeHWLimitNeg PosDirectionNegEdgeHWLimitPos |
stLimitSwitch |
The states of the hardware limit switches are read in via the i_xHwLimitNeg and the i_xHwLimitPos function block inputs. |
|
Homing to torque |
PosDirectionMaxTorque NegDirectionMaxTorque |
stTorque |
|
|
Moving to absolute position (absolute or within a machine period) |
MoveOnPosAbs |
stMoveOnPos |
|
|
Setting the axis position |
SetPosAxisPosition |
stSetPos |
|
|
Setting the encoder position |
SetPosLogEncoderPosition |
stSetPos |
The logical encoder is assigned once in the iq_lencAxis structure element. |
|
Setting the axis and encoder position |
SetPosAxisAndLogEncoderPosition |
stSetPos |
The logical encoder is assigned once in the iq_lencAxis structure element. |
|
Restoration of the axis position from the retain |
RestorePosFromRetain |
stSetPos |
Due to security during the online change, the pointer to the retain structure must be updated constantly to the iq_pstRestorePosRetain variable. |
|
Restoration of the axis position from the axis encoder value |
RestorePosFromAxisEncoder |
stSetPos |
|
|
Writing of the axis encoder in connection with setting the axis position |
WriteAxisEncoder |
stWritePos |
|
According to ET_HomeMode, the ST_ReducedVelocity structure is used within all homing procedures except for the following:
WriteAxisEncoder
SetPosAxisPosition
SetPosLogEncoderPosition
SetPosAxisAndLogEncoderPosition
RestorePosFromRetain
RestorePosFromAxisEncoder
Input |
Data type |
Description |
---|---|---|
i_xEnable |
BOOL |
A rising edge FALSE -> TRUE activates the POU, a falling edge TRUE -> FALSE deactivates the POU. A deactivated POU does not execute any actions. |
i_etMode |
Selection of the homing procedure |
|
i_ifDrive |
IF_Drive |
Input for the axis that shall be controlled. |
i_xHwLimitNeg |
BOOL |
Limit switch for the negative direction of motion of the axis. Depending on the used basic function block and ET_HomeMode, the limit switch is considered used in the state TRUE (..PosEdge..) or FALSE (..NegEdge..). The input is not evaluated for the above-mentioned homing procedures if the following basic function blocks are used within them: FB_HomeSetPos and FB_HomeAbs |
i_xHwLimitPos |
BOOL |
Limit switch for the positive direction of motion of the axis. Depending on the used basic function block and ET_HomeMode, the limit switch is considered used in the state TRUE (..PosEdge..) or FALSE (..NegEdge..). The input is not evaluated for the above-mentioned homing procedures if the following basic function blocks are used within them: FB_HomeSetPos and FB_HomeAbs |
i_xStart |
BOOL |
TRUE: start of homing procedure. As soon as the q_xMotionInstructionActive output reports TRUE, the homing procedure can no longer be stopped by changing i_xStart to FALSE. |
Output |
Data type |
Description |
---|---|---|
q_xActive |
BOOL |
TRUE: The POU is active and has to be executed further. FALSE: The POU is inactive. |
q_xReady |
BOOL |
TRUE: The POU is ready to operate and can accept user commands. FALSE: The POU is not ready to accept user commands. |
q_etDiag |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
|
q_sMsg |
STRING[80] |
Event-triggered message which gives more detailed information on the diagnostic state. |
q_xDisableDrive |
BOOL |
TRUE: Requirement to disable position control FALSE: Requirement to enable position control |
q_xMotionInstructionActive |
BOOL |
TRUE: The axis is processing a motion command. The output is also set if the motion command defines that the axis is at stand still, e.g. due to a standing master. |
q_lrPosition |
LREAL |
Axis.RefPosition of the axis |
q_lrEncoderPosition |
LREAL |
Position of the logical encoder specified via the stSetPos property in the corresponding ST_HomeSetPos.iq_lencAxis structure variables If no logical encoder has been parameterized yet, the output provides the value 0. |
q_xHomeOk |
BOOL |
TRUE: Axis is homed for i_xEnable = FALSE, this output is reset to FALSE |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
9 |
The POU is disabled. |
|
OK |
222 |
Homing has been performed. |
|
OK |
5 |
Waiting for starting command. |
|
OK |
8 |
Waiting until the POU is deactivated. |
|
OK |
265 |
Wait until the homing is completed. |
|
ControllerConditionInvalid |
100 |
The controller is not supported. |
|
ControllerConditionInvalid |
262 |
The G_ifSercos interface is invalid. |
|
DriveConditionInvalid |
175 |
The drive encoder is invalid. |
|
DriveConditionInvalid |
182 |
The drive is moving. |
|
DriveConditionInvalid |
183 |
The drive is not disabled. |
|
DriveConditionInvalid |
10 |
The drive is not ready for motion commands. |
|
DriveConditionInvalid |
187 |
The EEPROM of the drive cannot be accessed. |
|
DriveConditionInvalid |
189 |
Writing is being performed on the encoder. |
|
DriveConditionInvalid |
186 |
An error has been detected while writing on the encoder EEPROM. |
|
DriveConditionInvalid |
196 |
Restoring was interrupted. |
|
HomingFailed |
275 |
HwLimitNeg is still active. |
|
HomingFailed |
276 |
HwLimitPos is still active. |
|
HomingFailed |
228 |
MaxTorque has not been reached. |
|
HomingFailed |
220 |
No sensor signal was found. |
|
HomingFailed |
231 |
No Touchprobe was found. |
|
InputParameterInvalid |
178 |
AbsEncOffset is outside the valid range. |
|
InputParameterInvalid |
12 |
Acc is outside the valid range. |
|
InputParameterInvalid |
193 |
The checksum is invalid. |
|
InputParameterInvalid |
194 |
The non-volatile memory (NVRam) does not contain any more valid data. |
|
InputParameterInvalid |
13 |
Dec is outside the valid range. |
|
InputParameterInvalid |
3 |
The connected drive is invalid. |
|
InputParameterInvalid |
14 |
Jerk is outside the valid range. |
|
InputParameterInvalid |
162 |
The connected logical encoder is invalid. |
|
InputParameterInvalid |
226 |
LowVel is outside the valid range. |
|
InputParameterInvalid |
229 |
MaxTorque is outside the valid range. |
|
InputParameterInvalid |
215 |
MaxTravel is outside the valid range. |
|
InputParameterInvalid |
264 |
The RestorePosRetain pointer is invalid. |
|
InputParameterInvalid |
300 |
ReducedVelocityFactor is outside the valid range. |
|
InputParameterInvalid |
299 |
ReducedVelocity is outside the valid range. |
|
InputParameterInvalid |
163 |
The connected Touchprobe is invalid. |
|
InputParameterInvalid |
166 |
The Touchprobe is not active. |
|
InputParameterInvalid |
165 |
The connected Touchprobe is virtual. |
|
InputParameterInvalid |
111 |
The Mode is indeterminable. |
|
InputParameterInvalid |
177 |
UserPeriod is outside the valid range. |
|
InputParameterInvalid |
11 |
Vel is outside the valid range. |
|
LimitReached |
219 |
Negative limit switch has been reached. |
|
LimitReached |
221 |
Positive limit switch has been reached. |
|
LimitReached |
277 |
ReducedVelocityLimit has been exceeded. |
|
SercosConditionInvalid |
19 |
The Sercos bus is not in phase 4. |
|
UnexpectedProgramBehavior |
185 |
Timeout during encoder writing. |
|
UnexpectedProgramBehavior |
195 |
The position is outside the restore window. |
|
UnexpectedProgramBehavior |
1 |
An unintended detected error occurred during execution. |
|
UnexpectedProgramBehavior |
111 |
The Mode is indeterminable. |
|
UnexpectedProgramBehavior |
2 |
The POU is in an undefined state. |
Enumeration name: |
AbsEncOffsetRange |
Enumeration value: |
178 |
Description: |
AbsEncOffset is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromAxisEncoder
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
A number <= 0 or bigger than the encoder period was transferred to the i_lrAbsEncOffset parameter with the stSetPos property of the FB_Home. |
For i_lrAbsEncOffset, the following must hold: 0 < i_lrAbsEncOffset < maximum possible value of Drive.EncoderPosition. For the permissible value range for i_lrAbsEncOffset, also refer to q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
AccRange |
Enumeration value: |
12 |
Description: |
Acc is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrAcc parameter of the stTouchProbe property of FB_Home. |
The following must apply: 0 < i_lrAcc < MaxAcc parameter of the drive. For the permissible value range for i_lrAcc, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrAcc parameter of the stSensor property of FB_Home. |
The following must apply: 0 < i_lrAcc < MaxAcc parameter of the drive. For the permissible value range for i_lrAcc, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrAcc parameter of the stLimitSwitch property of FB_Home. |
The following must apply: 0 < i_lrAcc < MaxAcc parameter of the drive. For the permissible value range for i_lrAcc, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrAcc parameter of the stTorque property of FB_Home. |
The following must apply: 0 < i_lrAcc < MaxAcc parameter of the drive. For the permissible value range for i_lrAcc, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.MoveOnPosAbs
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrAcc parameter of the stMoveOnPos property of FB_Home. |
The following must apply: 0 < i_lrAcc < MaxAcc parameter of the drive. For the permissible value range for i_lrAcc, also refer to q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
CheckSumInvalid |
Enumeration value: |
193 |
Description: |
The checksum is invalid. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
The data saved in iq_pstRestorePosRetain of the stSetPos property of the FB_Home are not consistent. The position cannot be restored. |
Homing of the drive is again required. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
ControllerInvalid |
Enumeration value: |
100 |
Description: |
The controller is not supported. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
The controller does not provide the required conditions. |
For more details, see q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
DataNVRamInvalid |
Enumeration value: |
194 |
Description: |
The non-volatile memory (NVRam) does not contain any more valid data. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
The data saved in the NVRam are invalid. Therefore, the position cannot be restored from iq_pstRestorePosRetain of the stSetPos property of FB_Home. |
For more details, see q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
DecRange |
Enumeration value: |
13 |
Description: |
Dec is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrDec parameter of the stTouchProbe property of FB_Home. |
The following must apply: 0 < i_lrDec < MaxAcc parameter of the drive. For the permissible value range for i_lrDec, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrDec parameter of the stSensor property of FB_Home. |
The following must apply: 0 < i_lrDec < MaxAcc parameter of the drive. For the permissible value range for i_lrDec, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrDec parameter of the stLimitSwitch property of FB_Home. |
The following must apply: 0 < i_lrDec < MaxAcc parameter of the drive. For the permissible value range for i_lrDec, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrDec parameter of the stTorque property of FB_Home. |
The following must apply: 0 < i_lrDec < MaxAcc parameter of the drive. For the permissible value range for i_lrDec, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.MoveOnPosAbs
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrDec parameter of the stMoveOnPos property of FB_Home. |
The following must apply: 0 < i_lrDec < MaxAcc parameter of the drive. For the permissible value range for i_lrDec, also refer to q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
Disabled |
Enumeration value: |
9 |
Description: |
The POU is disabled. |
The function block is deactivated, it executes no actions whatsoever. i_xEnable and q_xActive have the value FALSE.
Enumeration name: |
DriveEncoderInvalid |
Enumeration value: |
175 |
Description: |
The drive encoder is invalid. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromAxisEncoder
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
The axis encoder is not supported. |
The EncoderRange parameter of the axis must be greater than 0. If necessary, use an axis with a different encoder type. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
DriveInvalid |
Enumeration value: |
3 |
Description: |
The connected drive is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
No valid drive was applied at the i_ifDrive input. |
A valid drive must be transferred to the i_ifDrive input. |
- |
The connected drive does not support all required functionalities. |
Establish which functionalities are not supported by the drive by means of the q_sMsg output. Use a drive that supports all required functionalities. |
Enumeration name: |
DriveIsMoving |
Enumeration value: |
182 |
Description: |
The drive is moving. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.WriteAxisEncoder
Issue |
Cause |
Solution |
---|---|---|
- |
The axis is moving. |
To write the encoder of the axis the axis must be at standstill. Verify the state of the axis. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
DriveNotDisabled |
Enumeration value: |
183 |
Description: |
The drive is not disabled. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.WriteAxisEncoder
Issue |
Cause |
Solution |
---|---|---|
- |
The axis is not in AxisState 1 |
To write the encoder of the axis the axis must be in AxisState 1. Verify the state of the axis. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
DriveNotReady |
Enumeration value: |
10 |
Description: |
The drive is not ready for motion commands. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
oET_HomeMode.MoveOnPosAbs
Issue |
Cause |
Solution |
---|---|---|
- |
The axis is not in position control. |
Verify the state of the axis. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
EncoderWriteTimeOut |
Enumeration value: |
185 |
Description: |
Timeout during encoder writing. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.WriteAxisEncoder
Issue |
Cause |
Solution |
---|---|---|
- |
The encoder writing process has taken too long. |
Verify the connection to the encoder and retry. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
HomingDone |
Enumeration value: |
222 |
Description: |
Homing has been performed. |
The homing sequence has been completed successfully.
Enumeration name: |
HwLimitNegReached |
Enumeration value: |
219 |
Description: |
Negative limit switch has been reached. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
The negative hardware limit switch has been found when searching for the reference signal. |
Verify the signal at the input i_xHwLimitNeg. Ensure that the sensor of the negative limit switch is not dirty. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
HwLimitNegStillActive |
Enumeration value: |
275 |
Description: |
HwLimitNeg is still active. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
The negative limit switch (i_xHwLimitNeg = TRUE) is still enabled. However, a Touchprobe signal has been detected or the maximum travel distance (i_lrMaxTravel of the stTouchProbe property of FB_Home) has been reached. |
Verify the signal at the input i_xHwLimitNeg. Verify the value for the maximum travel distance i_lrMaxTravel of the stTouchProbe property. Ensure that the sensor of the negative limit switch is not dirty. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
The negative limit switch (i_xHwLimitNeg = TRUE) is still enabled. However, a sensor signal has been detected or the maximum travel distance (lrMaxTravel of the stSensor property of FB_Home) has been reached. |
Verify the signal at the input i_xHwLimitNeg. Verify the value for the maximum travel distance at the i_lrMaxTravel input of the stSensor property. Ensure that the sensor of the negative limit switch is not dirty. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
HwLimitPosReached |
Enumeration value: |
221 |
Description: |
Positive limit switch has been reached. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
The positive hardware limit switch has been found when searching for the reference signal. |
Verify the signal at the input i_xHwLimitPos. Ensure that the sensor of the positive limit switch is not dirty. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
HwLimitPosStillActive |
Enumeration value: |
276 |
Description: |
HwLimitPos is still active. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
The positive limit switch (i_xHwLimitPos = TRUE) is still enabled. However, a Touchprobe signal has been detected or the maximum travel distance (i_lrMaxTravel of the stTouchProbe property of FB_Home) has been reached. |
Verify the signal at the input i_xHwLimitPos. Verify the value for the maximum travel distance i_lrMaxTravel of the stTouchProbe property. Ensure that the sensor of the positive limit switch is not dirty. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
The positive limit switch (i_xHwLimitPos = TRUE) is still enabled. However, a sensor signal has been detected or the maximum travel distance (i_lrMaxTravel of the stSensor property of FB_Home) has been reached. |
Verify the signal at the input i_xHwLimitPos. Verify the value for the maximum travel distance at the i_lrMaxTravel input of the stSensor property. Ensure that the sensor of the positive limit switch is not dirty. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
JerkRange |
Enumeration value: |
14 |
Description: |
Jerk is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrJerk parameter of the stTouchProbe property of FB_Home. |
The following must apply: 0 < i_lrJerk <= Gc_lrMaxJerk of the drive. For the permissible value range for i_lrJerk, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrJerk parameter of the stSensor property of FB_Home. |
The following must apply: 0 < i_lrJerk <= Gc_lrMaxJerk of the drive. For the permissible value range for i_lrJerk, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrJerk parameter of the stLimitSwitch property of FB_Home. |
The following must apply: 0 < i_lrJerk <= Gc_lrMaxJerk of the drive. For the permissible value range for i_lrJerk, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrJerk parameter of the stTorque property of FB_Home. |
The following must apply: 0 < i_lrJerk <= Gc_lrMaxJerk of the drive. For the permissible value range for i_lrJerk, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.MoveOnPosAbs
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrJerk parameter of the stMoveOnPos property of FB_Home. |
The following must apply: 0 < i_lrJerk <= Gc_lrMaxJerk of the drive. For the permissible value range for i_lrJerk, also refer to q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
LencInvalid |
Enumeration value: |
162 |
Description: |
The connected logical encoder is invalid. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.SetPosLogEncoderPosition
oET_HomeMode.SetPosAxisAndLogEncoderPosition
Issue |
Cause |
Solution |
---|---|---|
- |
No valid logical encoder was transferred to the iq_lencAxis parameter of the stSetPos property of FB_Home. |
An own logical encoder of the PLC configuration must be transferred to the iq_lencAxis parameter. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
LowVelRange |
Enumeration value: |
226 |
Description: |
LowVel is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrLowVel parameter of the stLimitSwitch property of FB_Home. |
The following must apply: 0 < i_lrLowVel <= MaxVel parameter of the drive. For the permissible value range for i_lrLowVel, also refer to q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
MaxTorqueNotFound |
Enumeration value: |
228 |
Description: |
MaxTorque has not been reached. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
The stop was not found. |
Verify the state of the limit stop. Verify the i_lrMaxTorque input. Verify the i_lrMaxTravel input. Verify the state of the axis. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
MaxTorqueRange |
Enumeration value: |
229 |
Description: |
MaxTorque is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrMaxTorque parameter of the stTorque property of FB_Home. |
The following must apply: 0.0 < (i_lrMaxTorque / lrTorqueConstant * 10000000.0 / lrMaxDrivePeakCurrent / lrLimCurrent) < 100.0 with lrLimCurrent := lrUserDrivePeakCurrent * 100.0 / lrMaxDrivePeakCurrent where lrTorqueConstant, lrMaxDrivePeakCurrent and lrUserDrivePeakCurrent are parameters of the axis. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
MaxTravelRange |
Enumeration value: |
215 |
Description: |
MaxTravel is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrMaxTravel parameter of the stSetPos property of FB_Home. |
The following must apply: 0 < i_lrMaxTravel. For the permissible value range for i_lrMaxTravel, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrMaxTravel parameter of the stSensor property of FB_Home. |
The following must apply: 0 < i_lrMaxTravel. For the permissible value range for i_lrMaxTravel, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrMaxTravel parameter of the stLimitSwitch property of FB_Home. |
The following must apply: 0 < i_lrMaxTravel. For the permissible value range for i_lrMaxTravel, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrMaxTravel parameter of the stTorque property of FB_Home. |
The following must apply: 0 < i_lrMaxTravel. For the permissible value range for i_lrMaxTravel, also refer to q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
NoAccessToEEPROM |
Enumeration value: |
187 |
Description: |
The EEPROM of the drive cannot be accessed. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.WriteAxisEncoder
Issue |
Cause |
Solution |
---|---|---|
- |
The access to the encoder has been denied. |
Verify the encoder of the axis. Verify the axis state. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
OutOfRestoreWindow |
Enumeration value: |
195 |
Description: |
The position is outside the restore window. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
The axis has been moved too far since the last time the position has been saved. |
Push the axis position back into the window. Extend the limits of the i_lrRestoreWindow window (stSetPos property of FB_Home). |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
PointerRestorePosRetainInvalid
Enumeration name: |
PointerRestorePosRetainInvalid |
Enumeration value: |
264 |
Description: |
The RestorePosRetain pointer is invalid. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid pointer was transferred to the iq_pstRestorePosRetain parameter of the stSetPos property of FB_Home. |
The memory address that contains the structure in which the axis positions are saved must be transferred to the iq_pstRestorePosRetain parameter. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
ProgrammingInProgress |
Enumeration value: |
189 |
Description: |
Writing is being performed on the encoder. |
The ET_HomeMode.WriteAxisEncoder mode was selected at the i_etMode input of FB_Home.
Writing is being performed on the encoder of the axis.
Enumeration name: |
ProgrammingInvalidEEPROM |
Enumeration value: |
186 |
Description: |
An error has been detected while writing on the encoder EEPROM. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.WriteAxisEncoder
Issue |
Cause |
Solution |
---|---|---|
- |
Writing is already being performed on the encoder. |
Please retry later. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
ReducedVelocityFactorRange |
Enumeration value: |
300 |
Description: |
ReducedVelocityFactor is outside the valid range. |
Issue |
Cause |
Solution |
---|---|---|
- |
The i_xEnableReducedVelocity parameter of the stReducedVelocity property of FB_Home is TRUE. An invalid value was transferred to the i_lrReducedVelocityCheckFactor input of the stReducedVelocity property. |
A value greater than or equal to 1.0 must be transferred to the i_lrReducedVelocityCheckFactor input of the stReducedVelocity property. |
Enumeration name: |
ReducedVelocityLimit |
Enumeration value: |
277 |
Description: |
ReducedVelocityLimit has been exceeded. |
Issue |
Cause |
Solution |
---|---|---|
- |
The i_xEnableReducedVelocity parameter of the stReducedVelocity property of FB_Home is TRUE. The MechVelocity of the axis is greater than stReducedVelocity.i_lrMaxReducedVelocity * stReducedVelocity.i_lrReducedVelocityCheckFactor |
Verify the motion parameters of the selected mode and/or change the values stReducedVelocity.i_lrMaxReducedVelocity or stReducedVelocity.i_lrReducedVelocityCheckFactor. |
Enumeration name: |
ReducedVelocityRange |
Enumeration value: |
299 |
Description: |
ReducedVelocity is outside the valid range. |
Issue |
Cause |
Solution |
---|---|---|
- |
The i_xEnableReducedVelocity parameter of the stReducedVelocity property of FB_Home is TRUE. An invalid value was transferred to the i_lrMaxReducedVelocity input of the stReducedVelocity property. |
A value greater than 0 must be transferred to the i_lrMaxReducedVelocity input of the stReducedVelocity property. |
Enumeration name: |
RestoreInterrupted |
Enumeration value: |
196 |
Description: |
Restoring was interrupted. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
Reading the encoder has been interrupted repeatedly by the SERCOS. |
Ensure that the execution of FB_Home is not interrupted for too long by other tasks, so that the function is interrupted only once by the SERCOS task. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
SensorNotFound |
Enumeration value: |
220 |
Description: |
No sensor signal was found. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
The sensor signal is not transmitted to the function block. |
Ensure that the signal has been applied at the i_xSensor variable of the stSensor of FB_Home. |
- |
The sensor does not transmit a signal. |
Verify the power supply of the sensor. Ensure that the sensor is not dirty. Ensure that the sensor can be triggered by the mechanical system. Verify the electrical connection of the sensor and of the digital input. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
The sensor signal is not transmitted to the function block. |
Verify the sensor signal at the i_xHwLimitNeg or i_xHwLimitPos input of the FB_Home. |
- |
The sensor does not transmit a signal. |
Verify the power supply of the sensor. Ensure that the sensor is not dirty. Ensure that the sensor can be triggered by the mechanical system. Verify the electrical connection of the sensor and of the digital input. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
SercosInterfaceInvalid |
Enumeration value: |
262 |
Description: |
The G_ifSercos interface is invalid. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.WriteAxisEncoder
Issue |
Cause |
Solution |
---|---|---|
- |
The global Sercos interface G_ifSercos is invalid. |
Ensure that the Sercos interface G_ifSercos outside the function block is not accidentally overwritten with 0. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
SercosNotInPhaseFour |
Enumeration value: |
19 |
Description: |
The Sercos bus is not in phase 4. |
Issue |
Cause |
Solution |
---|---|---|
- |
The parameter State of the SERCOS bus is not 4. |
Set the SERCOS bus parameter PhaseSet to 4. Verify the SERCOS bus for errors. |
Enumeration name: |
TouchProbeInvalid |
Enumeration value: |
163 |
Description: |
The connected Touchprobe is invalid. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
The i_ifTouchProbe parameter of the stTouchProbe property of FB_Home is not linked to a valid Touchprobe. |
Ensure that a Touchprobe object was transferred to the i_ifTouchProbe parameter. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
TouchProbeNotActive |
Enumeration value: |
166 |
Description: |
The Touchprobe is not active. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
The Touchprobe transferred to the i_ifTouchProbe parameter of the stTouchProbe property of FB_Home is not enabled. For instance, this is an input at a Lexium62. |
Ensure that the parameter IOx_Mode of the input group (LXM62IO_InOutTP) has been set to Touchprobe / 1. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
TouchProbeNotFound |
Enumeration value: |
231 |
Description: |
No Touchprobe was found. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
The Touchprobe sensor does not transmit a signal. |
Verify the power supply of the Touchprobe sensor. Ensure that the Touchprobe sensor is not dirty. Ensure that the Touchprobe can be triggered by the mechanical system. Verify the electrical connection of the Touchprobe sensor and of the Touchprobe input. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
TouchProbeVirtual |
Enumeration value: |
165 |
Description: |
The connected Touchprobe is virtual. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
The used touchprobe is not real. |
Ensure that the Touchprobe does not belong to a virtual device. (e.g. virtual Lexium62) |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
UnexpectedFeedback |
Enumeration value: |
1 |
Description: |
An unintended detected error occurred during execution. |
Issue |
Cause |
Solution |
---|---|---|
- |
An internal execution error occurred. |
Please inform the support team about this detected error. |
Enumeration name: |
UnknownMode |
Enumeration value: |
111 |
Description: |
The Mode is indeterminable. |
Issue |
Cause |
Solution |
---|---|---|
- |
At the input i_etMode, an invalid value has been applied. |
The i_etMode input must be allocated with an element of the ET_HomeMode enumeration. |
Enumeration name: |
UnknownState |
Enumeration value: |
2 |
Description: |
The POU is in an undefined state. |
Issue |
Cause |
Solution |
---|---|---|
- |
An internal execution error has been detected. |
Please inform your Schneider Electric representative about this detected error. |
Enumeration name: |
UserPeriodRange |
Enumeration value: |
177 |
Description: |
UserPeriod is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.RestorePosFromAxisEncoder
oET_HomeMode.RestorePosFromRetain
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrUserPeriod parameter of the stSetPos property of FB_Home. |
The following must apply: 0 <= i_lrUserPeriod |
- |
The value of the i_lrUserPeriod parameter of the stSetPos property of FB_Home does not fit into the encoder period. |
Assign zero to the i_lrUserPeriod parameter if an offset is not to be considered. The i_lrUserPeriod parameter must be chosen such that the following formula is fulfilled: ABS(lrEncoderPeriode / i_lrUserPeriod - TRUNC_INT(lrEncoderPeriode / i_lrUserPeriod)) = 0 with lrEncoderPeriode := EncoderRange * FeedConstant * DINT_TO_LREAL(GearIn) / DINT_TO_LREAL(GearOut) EncoderRange, FeedConstant, GearIn and GearOut are parameters of the axis. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.WriteAxisEncoder
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrUserPeriod parameter of the stWritePos property of FB_Home. |
The following must apply: 0 <= i_lrUserPeriod |
- |
The value of the parameter i_lrUserPeriod of the stWrite property of FB_Home does not fit into the encoder period. |
Assign zero to the i_lrUserPeriod parameter if an offset is not to be considered. The i_lrUserPeriod parameter must be chosen such that the following formula is fulfilled: ABS(lrEncoderPeriode / i_lrUserPeriod - TRUNC_INT(lrEncoderPeriode / i_lrUserPeriod)) = 0 with lrEncoderPeriode := EncoderRange * FeedConstant * DINT_TO_LREAL(GearIn) / DINT_TO_LREAL(GearOut) EncoderRange, FeedConstant, GearIn and GearOut are parameters of the axis. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
VelRange |
Enumeration value: |
11 |
Description: |
Vel is outside the valid range. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeTp
oET_HomeMode.NegDirectionPosEdgeTp
oET_HomeMode.NegDirectionNegEdgeTp
oET_HomeMode.PosDirectionNegEdgeTp
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrVel parameter of the stTouchProbe property of FB_Home. |
The following must apply: 0 < i_lrVel <= MaxVel of the drive. For the permissible value range for i_lrVel, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeSensor
oET_HomeMode.NegDirectionPosEdgeSensor
oET_HomeMode.NegDirectionNegEdgeSensor
oET_HomeMode.PosDirectionNegEdgeSensor
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrVel parameter of the stSensor property of FB_Home. |
The following must apply: 0 < i_lrVel <= MaxVel of the drive. For the permissible value range for i_lrVel, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionPosEdgeHWLimitPos
oET_HomeMode.NegDirectionPosEdgeHWLimitNeg
oET_HomeMode.NegDirectionNegEdgeHWLimitNeg
oET_HomeMode.PosDirectionNegEdgeHWLimitPos
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrVel parameter of the stLimitSwitch property of FB_Home. |
The following must apply: 0 < i_lrVel <= MaxVel of the drive. For the permissible value range for i_lrVel, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.PosDirectionMaxTorque
oET_HomeMode.NegDirectionMaxTorque
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrVel parameter of the stTorque property of FB_Home. |
The following must apply: 0 < i_lrVel <= MaxVel of the drive. For the permissible value range for i_lrVel, also refer to q_sMsg output. |
Has one of the following modes been selected at the i_etMode input of FB_Home?
oET_HomeMode.MoveOnPosAbs
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value was transferred to the i_lrVel parameter of the stMoveOnPos property of FB_Home. |
The following must apply: 0 < i_lrVel <= MaxVel of the drive. For the permissible value range for i_lrVel, also refer to q_sMsg output. |
If none of the modes mentioned above has been selected, please inform the support team about this detected error.
Enumeration name: |
WaitForStart |
Enumeration value: |
5 |
Description: |
Waiting for starting command. |
The function block has completed its initialization and is waiting for a positive edge at the input i_xStart before continuing the processing.
Enumeration name: |
WaitUntilDisabled |
Enumeration value: |
8 |
Description: |
Waiting until the POU is deactivated. |
The function block is disabled. All internal states are reset and connected resources (e.g. axes) are transferred to a safe state. The function block has to be called up continuously until it reports q_xActive = FALSE.
Enumeration name: |
WaitUntilHomingDone |
Enumeration value: |
265 |
Description: |
Wait until the homing is completed. |
Homing was triggered. The function block awaits the finish.
Name |
Description |
---|---|
Registering the logger points of the POU in the Application Logger |
Name |
Data type |
Accessing |
Description |
---|---|---|---|
stForce |
Read/Write |
Reading and writing of the ST_HomeForce structure. According to ET_HomeMode, the structure is used within the following homing procedures: PosDirectionMaxForce NegDirectionMaxForce |
|
stLimitSwitch |
Read/Write |
Reading and writing of the ST_HomeLimitSwitch structure. According to ET_HomeMode, the structure is used within the following homing procedures: PosDirectionPosEdgeHWLimitPos NegDirectionPosEdgeHWLimitNeg NegDirectionNegEdgeHWLimitNeg PosDirectionNegEdgeHWLimitPos |
|
stMoveOnPos |
Read/Write |
Reading and writing the ST_HomeMoveOnPos structure. According to ET_HomeMode, the structure is used within the following homing procedure: MoveOnPosAbs |
|
stReducedVelocity |
Read/Write |
Reading and writing of the ST_ReducedVelocity structure. According to ET_HomeMode, the structure is used in all homing procedures except for the following: WriteAxisEncoder SetPosAxisPosition SetPosLogEncoderPosition SetPosAxisAndLogEncoderPosition RestorePosFromRetain RestorePosFromAxisEncoder |
|
stSensor |
Read/Write |
Reading and writing of the ST_HomeIn structure. According to ET_HomeMode, the structure is used within the following homing procedures: PosDirectionPosEdgeSensor NegDirectionPosEdgeSensor NegDirectionNegEdgeSensor PosDirectionNegEdgeSensor |
|
stSetPos |
Read/Write |
Reading and writing of the ST_HomeSetPos structure. According to ET_HomeMode, the structure is used within the following homing procedures: SetPosAxisPosition SetPosLogEncoderPosition SetPosAxisAndLogEncoderPosition RestorePosFromRetain RestorePosFromAxisEncoder |
|
stTorque |
Read/Write |
Reading and writing of the ST_HomeTorque structure. According to ET_HomeMode, the structure is used within the following homing procedures: PosDirectionMaxTorque NegDirectionMaxTorque |
|
stTouchProbe |
Read/Write |
Reading and writing of the ST_HomeTp structure. According to ET_HomeMode, the structure is used within the following homing procedures: PosDirectionPosEdgeTp NegDirectionPosEdgeTp NegDirectionNegEdgeTp PosDirectionNegEdgeTp |
|
stWritePos |
Read/Write |
Reading and writing of the ST_HomeWritePos structure. According to ET_HomeMode, the structure is used within the following homing procedures: WriteAxisEncoder |
Notes on the use of properties in connection with FB_Home are available in the chapter “Use of properties”.
Based on the used basic function blocks you can determine which structure elements are considered within which homing procedure (see section above "Overview of contained homing procedures")