Input DescriptionΒΆ
MCA_GearInDirect
Note
The inputs marked with a triangle are of the class VAR_IN_OUT (input and output variable). These inputs must be connected to a variable.
Execute
Data type: BOOL
Starts the Function Block at rising edge.
RatioNumerator
Data type: INT
Gear Ratio Numerator.
RatioDenominator
Data type: INT
Gear Ratio Denominator.
MasterValueSource
Data type: MC_SOURCE
Defines the source for synchronization:
mcSetValue - Synchronization on master set value.
mcActualValue - Synchronization on master actual value.
MasterSyncPosition
Data type: LREAL
The position of the master where the slave is insync with the master.
SlaveSyncPosition
Data type: LREAL
Slave Position at which the axes are running in sync.
SyncDirection
Data type: MC_DIRECTION
Moving direction for the slave to start the movement.
POSITIVE, NEGATIVE or SHORTEST are applicable.
SyncWindow
Data type: LREAL
- when the slave is outside the SyncWindow, it will move the direction which is given in SyncDirection
- when the slave is inside the SyncWindow, it will move SHORTEST to meet the SlaveSyncPosition.
Velocity
Data type: LREAL
Velocity which limits the synchronization movement.
Note
The slave has to be able to move faster than the master axis, otherwise it is possible the SlaveSyncPosition is never reached when the master starts to move.
Acceleration
Data type: LREAL
Acceleration which limits the synchronization movement.
BufferMode
Data type: MC_BUFFERMODE, default: MC_Aborting, no other modes supported
Defines the behavior of the axis.
Master
Data type: AXIS_REF
Reference to the master axis.
Slave
Data type: AXIS_REF
Reference to the slave axis.