With the method GetConfiguredDrive(…), the configured axes of the robot can be read.
If the axis transferred at the i_etComponent input is configured, then the SystemConfigurationItf.IF_Drive interface of the axis is issued.
Input |
Data type |
Description |
---|---|---|
i_etComponent |
Specifies which configured axis must read. Valid values are:
|
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to a 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 that gives additional information on the diagnostic state. |
q_lrPeriodStart |
LREAL |
Configured position of the auxiliary axis where the period starts. |
q_lrPeriodLength |
LREAL |
Configured length of the auxiliary axis period. |
Data type |
Description |
---|---|
SystemConfigurationItf.IF_Drive |
SystemConfigurationItf.IF_Drive interface of the configured axis. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
DriveNotConfigured |
116 |
The drive is not configured. |
OK |
Ok |
0 |
Ok |
InputParameterInvalid |
RobotComponentInvalid |
144 |
The robot component is invalid. |
Enumeration name: |
DriveNotConfigured |
Enumeration value: |
116 |
Description: |
The drive is not configured. |
Reading the configured axis was not successful.
The axis transferred at the input i_etComponent is not configured.
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
Reading the configured axis was successful.
Enumeration name: |
RobotComponentInvalid |
Enumeration value: |
144 |
Description: |
The robot component is invalid. |
Issue |
Cause |
Solution |
---|---|---|
Reading the configured axis was not successful. |
The value transferred at the input i_etComponent is invalid. |
Ensure that at the input i_etComponent a valid component has been transferred. |