Multi axes synchronization application in SoMachine, we can use FB MC_GearIn/ MC_CamIn.
In most case axis phase offset is necessary when the axis is in synchronization.
In electronic gear we will use MC_Phasing. In electronic Cam the FB MC_Phasing is not possible.
Because MC_Phasing will interrupt the cam running.
Logical encoder is better solution
1. Create the logical encoder
2. Logical encoder as master axis in FB
3.
SM_Drive_Logical.fLogicalOffsetPosition;
SM_Drive_Logical.fManualShiftDistance;
SM_Drive_Logical.bManualShiftMode;
When you set SM_Drive_Logical.fLogicalOffsetPosition, it execute the offset position immediately.
SM_Drive_Logical.fManualShiftDistance is not execute immediately, it wait for the SM_Drive_Logical.bManualShiftMode become to true.
In most case axis phase offset is necessary when the axis is in synchronization.
In electronic gear we will use MC_Phasing. In electronic Cam the FB MC_Phasing is not possible.
Because MC_Phasing will interrupt the cam running.
Logical encoder is better solution
1. Create the logical encoder
2. Logical encoder as master axis in FB
3.
SM_Drive_Logical.fLogicalOffsetPosition;
SM_Drive_Logical.fManualShiftDistance;
SM_Drive_Logical.bManualShiftMode;
When you set SM_Drive_Logical.fLogicalOffsetPosition, it execute the offset position immediately.
SM_Drive_Logical.fManualShiftDistance is not execute immediately, it wait for the SM_Drive_Logical.bManualShiftMode become to true.