MC_PhasingAbsolute (FB)
FUNCTION_BLOCK MC_PhasingAbsolute
This function block performs a movement for the relation to the master axis of the specified axis. A real movement is just performed in case the axis is in synchronized motion.
This function block creates an absolute phase shift in the master position of a slave axis. The master position is shifted in relation to the real physical position. This is analogous to opening a coupling on the master shaft for a moment and is used to delay or advance an axis to its master. The phase shift is seen from the slave. The master does not know that there is a phase shift experienced by the slave. The phase shift remains until another “Phasing” command changes it again.
Note
Phase, Velocity, Acceleration, Deceleration and Jerk of a phase shift are controlled by the function block
- Timing example of MC_Phasing
The following graph shows the effect of “Phasing”
Note
To halt this function block user must use MC_HaltPhasing function block instead of MC_Stop or MC_Halt
- InOut:
Scope
Name
Type
Comment
Input
ExecuteBOOLStarts the function block at rising edge
PhaseShiftLREAL[u] = Technical unit, Absolute phase difference in master
VelocityLREAL[u/s] Value of the maximum velocity (not necessarily reached). Range: >0
AccelerationLREAL[u/s°°2] Value of the acceleration (increasing energy of the motor). Range: >0.If value > 0 and <= 1,Acceleration will be limited to 1.
DecelerationLREAL[u/s°°2] Value of the deceleration (decreasing energy of the motor). Range: >0.If value > 0 and <= 1,Deceleration will be limited to 1.
JerkLREAL[u/s°°3] Value of the jerk. Range: >=0
BufferModeNot supported, default mcABORTING used
Output
DoneBOOLShows the status of the function block. Done = TRUE if the execution is finished
BusyBOOLThe function block is not finished
ActiveBOOLIndicates that the function block has control on the axis
CommandAbortedBOOLCommand is aborted by another command from other PLCopen function block
ErrorBOOLSignals that error has occurred within function block
ErrorIDError identification. For error details refer to Enumeration ERROR_ID
AbsolutePhaseShiftLREAL[u] Actual phase shift of master axis to slave axis, valid while function block is busy
Inout
AxisReference to axis