PLCopen Motion Control Acceleration : [mm/s 2 ] The acceleration permitted for the synchronization in actual value units of the axis per square second. Deceleration : [mm/s 2 ] The deceleration permitted for the synchronization in actual value units of the axis per square second. Jerk : [mm/s 3 ] The jerk to be applied. BufferMode : Reserved. This input is provided in preparation for a future build. It should currently either not be assigned or assigned the constant Aborting_BkPlcMc. (from V3.0.8) StartSync : Indicates the transition phase between idle state and fully active coupling. InSync : This indicates the first successful synchronization of the axes.
The signal the remains active, even if the synchronization subsequently fails temporarily or permanently. Busy : Indicates that a command is being processed. Active: Indicates that a command is being processed. CommandAborted : This indicates abortion of the coupling. Error : The occurrence of an error is indicated here. ErrorID : An encoded indication of the cause of the error is provided here. Master, Slave : Here, the address of a variable of type Axis_Ref_BkPlcMc [ } 67] should be transferred. Behavior of the function block The function block is activated by a positive edge at Execute , and investigates the axis interface that has been passed to it.
A number of problems can be detected and reported during this process: Next, the system checks whether RatioDenominator is 0. In this case the function block will react by asserting Error with ErrorID :=dwTcHydErrCdIllegalGearFactor. If RatioDenominator is less than 0, the system responds with Error and ErrorID :=dwTcHydErrCdNotSupport. The coupling can only be activated if the slave is at standstill. Otherwise the system responds with Error and ErrorID :=dwTcHydErrCdNotStartable. If the absolute value of the MasterStartDistance is too small, the system responds with Error and ErrorID :=dwTcHydErrCdCannotSynchronize.
If the actual position of the master is not between MasterSyncPosition and the end of the synchronization distance specified by MasterStartDistance, the system responds with Error and ErrorID :=dwTcHydErrCdCannotSynchronize. If these checks could be performed without problem, the coupling is initiated. The slave axis initially continues to be in state McState_Standstill [ } 78] . Only when the master axis reaches the start of the synchronization distance for the first time does the slave axis report McState_Synchronizedmotion [ } 78] and indicate StartSync, and the function block starts monitoring the coupling.
As soon as the axis reaches the end the synchronization distance for the first time, the slave axis indicates InSync . Should the master axis later pass the start of the synchronization distance backwards, the coupling is not released. If an error code occurs in the motion generator while the coupling is active, the system responds with Error and ErrorID :=motion algorithm error code. A negative edge at Execute clears all the pending output signals. If Execute is set to FALSE while the coupling is still active, the existing coupling remains unaffected and active. An example is available under #103 [ } 255] . CAUTION! The function block does not support the functionality of TwinCAT NC. NOTE!
The output Active is currently identical to the output Busy. PLC Library Hydraulics 54 Version: 1.4