MC_PhasingAbsolute - General Information
Type: |
Function Block |
Available as of: |
1.0.5.0 |
Versions: |
current version |
The relative position of an axis to its master is to be offset during a synchronous motion.
The function block calls up SystemInterface.FC_LEncPhaseStart to generate a phase offset between master and slave.
Input |
Data type |
Description |
---|---|---|
Master |
SystemConfigurationItf.IF_Drive |
Master axis |
Slave |
SystemConfigurationItf.IF_Drive |
The slave axis to be controlled |
Execute |
BOOL |
Starts the phase offset in the case of a rising edge |
PhaseShift |
LRFEAL |
Absolute phase difference in master position of the slave axis |
Velocity |
LRFEAL |
Maximum velocity for achieving the phase difference |
Acceleration |
LRFEAL |
Maximum acceleration for achieving the phase difference |
Deceleration |
LRFEAL |
Maximum deceleration for achieving the phase difference |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
The requested phase offset has been reached. |
Busy |
BOOL |
The function block is not finished and new outputs are still pending. |
CommandAborted |
BOOL |
The motion has been cancelled. |
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 |
|
DriveConditionInvalid |
70 |
The drive is not ready for motion commands. |
|
ExecutionAborted |
49 |
PLCopen transition is not permitted. |
|
InputParameterInvalid |
53 |
Acceleration is outside the valid range. |
|
InputParameterInvalid |
54 |
Deceleration is outside the valid range. |
|
InputParameterInvalid |
26 |
The connected drive is invalid. |
|
InputParameterInvalid |
27 |
The connected drive is not initialized. |
|
InputParameterInvalid |
51 |
The Encoder is invalid. |
|
InputParameterInvalid |
46 |
Slave is invalid. |
|
InputParameterInvalid |
52 |
Velocity is outside the valid range. |
|
UnexpectedProgramBehavior |
70 |
The drive is not ready for motion commands. |
|
UnexpectedProgramBehavior |
10 |
An unintended detected error occurred during execution. |
Enumeration name: |
AccelerationRange |
Enumeration value: |
53 |
Description: |
Acceleration is outside the valid range. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value has been transferred at the input Acceleration. |
A value greater than 0 must be transferred at the input Acceleration. |
Enumeration name: |
Busy |
Enumeration value: |
1 |
Description: |
The order is executed. |
The offset is performed.
Enumeration name: |
DecelerationRange |
Enumeration value: |
54 |
Description: |
Deceleration is outside the valid range. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value has been transferred at the input Deceleration. |
A value greater than 0 must be transferred at the input Deceleration. |
Enumeration name: |
Done |
Enumeration value: |
8 |
Description: |
The order is completed. |
The offset was performed.
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 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 drive at the input Slave. |
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 at the input Slave is in an error state. |
Verify the diagnostic message of the axis. |
- |
The logic encoder phase offset of the axis at the input Slave cannot be started. |
Verify logical encoder state of the axis at the input Slave. |
Enumeration name: |
EncoderInvalid |
Enumeration value: |
51 |
Description: |
The Encoder is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
The logical encoder of the axis at the input Slave is invalid. |
It must be made sure that the axis at the input Slave was initialized with the POU FC_DriveInit. When calling up the POU FC_DriveInit for the axis at the input Slave a logical encoder must have been indicated. |
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_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. |
Enumeration name: |
VelocityRange |
Enumeration value: |
52 |
Description: |
Velocity is outside the valid range. |
Issue |
Cause |
Solution |
---|---|---|
- |
An invalid value has been transferred at the input Acceleration. |
A value greater than 0 must be transferred at the input Acceleration. |