Type: |
Method |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
Links the counter to a belt
If the counter is linked to a belt, its lrPosition property is changed together with the motion of the belt. Thus, the distance covered by the belt can be measured.
Input |
Data type |
Description |
---|---|---|
i_udiBeltId |
UDINT |
The number of the belt to which the counter is to be linked |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnosis. A value unequal GD.ET_Diag.Ok equates an error message. |
|
q_etDiagExt |
POU-specific output on the diagnosis. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> error message |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
ExecutionAborted |
13 |
The belt is invalid. |
|
InputParameterInvalid |
11 |
BeltId is outside the valid range. |
|
UnexpectedProgramBehavior |
12 |
The interface has not been assigned. |
Enumeration name: |
BeltIdRange |
Enumeration value: |
11 |
Description: |
BeltId is outside the valid range. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value has been transferred at the input i_udiBeltId. |
At the input i_udiBeltId, the number of the belt has to be specified to which a connection is to be established. The number must be between one and the number of parameterized belts. |
Enumeration name: |
BeltInvalid |
Enumeration value: |
13 |
Description: |
The belt is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid belt has been selected for connection. |
It must be made sure that the number of a belt is applied at the i_udiBeltId input that is not of type ET_BeltType.None. |
Enumeration name: |
InterfaceInvalid |
Enumeration value: |
12 |
Description: |
The interface has not been assigned. |
Issue |
Cause |
Solution |
---|---|---|
- |
An error occurred in the internal execution. |
Please inform the support team about this error. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The counter is connected to the belt.