MC_GearOut - General Information
Type: |
Function Block |
Available as of: |
1.0.5.0 |
Versions: |
current version |
This function block disconnects the slave axis from the master axis.
If the slave axis executes a synchronous motion, the job buffer of the axis is cleared via SystemInterface.FC_JobClear and the axis set to standstill via Axis.ControllerStopSet= TRUE.
Input |
Data type |
Description |
---|---|---|
Slave |
SystemConfigurationItf.IF_Drive |
The slave axis that is to be disconnected from the master. |
Execute |
BOOL |
A positive edge disconnects the axis from the master. |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
The axis is disconnected from the master. |
Busy |
BOOL |
The function block is not finished and new outputs are still pending. |
Error |
BOOL |
Signalizes a detected error within the function block |
ErrorId |
DWORD |
Error identification |
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |
|
q_sMsg |
STRING[80] |
Event-triggered message which gives more detailed information on the diagnostic state. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
1 |
The order is executed. |
|
OK |
8 |
The order is completed. |
|
OK |
0 |
Ok |
|
ExecutionAborted |
49 |
PLCopen transition is not permitted. |
|
InputParameterInvalid |
26 |
The connected drive is invalid. |
|
InputParameterInvalid |
27 |
The connected drive is not initialized. |
|
InputParameterInvalid |
46 |
Slave is invalid. |
|
UnexpectedProgramBehavior |
10 |
An unintended detected error occurred during execution. |
Enumeration name: |
Busy |
Enumeration value: |
1 |
Description: |
The order is executed. |
The electronic gearbox is being disabled.
Enumeration name: |
Done |
Enumeration value: |
8 |
Description: |
The order is completed. |
The electronic gearbox is disabled.
Enumeration name: |
DriveInvalid |
Enumeration value: |
26 |
Description: |
The connected drive is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
The drive transferred at the input Slave does not support all required functionalities. |
The drive must support the interface SystemConfigurationItf.IF_JobBuffer. The drive must support the SystemConfigurationItf.IF_RefActualValuesPosition interface. The drive must support the SystemConfigurationItf.IF_ControllerStop interface. |
Enumeration name: |
DriveNotInitialised |
Enumeration value: |
27 |
Description: |
The connected drive is not initialized. |
Issue |
Cause |
Solution |
---|---|---|
- |
The function FC_DriveInit was not activated for the drive at the input Slave. |
Before using the POU, the drive must be initialized using the function FC_DriveInit. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The POU is waiting for jobs.
Enumeration name: |
PLCopenTransition |
Enumeration value: |
49 |
Description: |
PLCopen transition is not permitted. |
Issue |
Cause |
Solution |
---|---|---|
- |
During job submission the axis is not in PLCopen state MC_Standstill or MC_SynchronizedMotion. |
It must be made sure that the axis is in a valid PLCopen state when the POU is enabled. |
Enumeration name: |
SlaveInvalid |
Enumeration value: |
46 |
Description: |
Slave is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
No drive has been applied at the Slave input. |
A valid drive must be transferred to the input Slave. |
Enumeration name: |
UnexpectedFeedback |
Enumeration value: |
10 |
Description: |
An unintended detected error occurred during execution. |
Issue |
Cause |
Solution |
---|---|---|
- |
A detected error occurred in the internal execution. |
Please inform the support team about this detected error. |