MC_Power - General Information
|
Type: |
Function Block |
|
Available as of: |
1.0.5.0 |
|
Versions: |
current version |
The position control of the axis is to be enabled or disabled.
Uses PDL.FB_DriveEnable to switch the drive on or off
|
Input |
Data type |
Description |
|---|---|---|
|
Axis |
SystemConfigurationItf.IF_Drive |
Interface for the axis to be controlled |
|
Enable |
BOOL |
If the Enable input is TRUE, the power stage is enabled. |
|
Output |
Data type |
Description |
|---|---|---|
|
Status |
BOOL |
TRUE: The position control is enabled. |
|
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 |
3 |
The drive is enabled. |
|
|
OK |
0 |
Ok |
|
|
DriveConditionInvalid |
70 |
The drive is not ready for motion commands. |
|
|
DriveConditionInvalid |
29 |
The InverterEnable signal is not present. |
|
|
DriveConditionInvalid |
34 |
Timeout when enabling the axis |
|
|
DriveConditionInvalid |
30 |
The TorqueEnable signal is not present. |
|
|
InputParameterInvalid |
25 |
The connected drive is not supported. |
|
|
InputParameterInvalid |
26 |
The connected drive is invalid. |
|
|
InputParameterInvalid |
27 |
The connected drive is not initialized. |
|
|
InputParameterInvalid |
31 |
The connected power supply is invalid. |
|
|
InputParameterInvalid |
32 |
The connected power supply was not found. |
|
|
PowerSupplyConditionInvalid |
33 |
The connected power supply is not ready. |
|
|
UnexpectedProgramBehavior |
10 |
An unintended detected error occurred during execution. |
|
Enumeration name: |
AxisInvalid |
|
Enumeration value: |
25 |
|
Description: |
The connected drive is not supported. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
No drive has been applied at the input Axis. |
A valid drive must be transferred to the input Axis. |
|
Enumeration name: |
DriveInvalid |
|
Enumeration value: |
26 |
|
Description: |
The connected drive is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The drive connected at the input Axis does not support all required functionalities. |
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 Axis. |
Before using the POU, the drive must be initialized using the function FC_DriveInit . |
|
Enumeration name: |
DriveNotReady |
|
Enumeration value: |
70 |
|
Description: |
The drive is not ready for motion commands. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The axis is not in position control. |
Verify the state of the axis. |
|
Enumeration name: |
Enabled |
|
Enumeration value: |
3 |
|
Description: |
The drive is enabled. |
The axis is in position control.
|
Enumeration name: |
InverterEnableOff |
|
Enumeration value: |
29 |
|
Description: |
The InverterEnable signal is not present. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The InverterEnable signal of the axis is not enabled. |
Verify the wiring of the InverterEnable signal. |
|
Enumeration name: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Ok |
The POU is waiting for jobs.
|
Enumeration name: |
PowerOnTimeOut |
|
Enumeration value: |
34 |
|
Description: |
Timeout when enabling the axis |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The drive is not set in position control within 2 seconds. |
Verify the state of the axis. |
|
Enumeration name: |
PowerSupplyInvalid |
|
Enumeration value: |
31 |
|
Description: |
The connected power supply is invalid. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The connected power supply is not supported. |
Please contact the support team. |
|
Enumeration name: |
PowerSupplyNotFound |
|
Enumeration value: |
32 |
|
Description: |
The connected power supply was not found. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
No power supply has been applied. |
Add a power supply to the PLC configuration. |
|
- |
No power supply has been connected. |
Connect the Poser power supply to the axis. |
|
Enumeration name: |
PowerSupplyNotReady |
|
Enumeration value: |
33 |
|
Description: |
The connected power supply is not ready. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The connected power supply is not ready. |
Verify the state of the power supply for errors. |
|
Enumeration name: |
TorqueEnableOff |
|
Enumeration value: |
30 |
|
Description: |
The TorqueEnable signal is not present. |
|
Issue |
Cause |
Solution |
|---|---|---|
|
- |
The TorqueEnable signal of the axis is not enabled. |
Verify the hardware/software wiring of the TorqueEnable signal. |
|
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. |