Input Description

../_images/1d99f98d9b14b0fd0a331390003dd30f

Function Block MC_GearInPos

Note

The inputs marked with a triangle af811ec7923f42610a331390012dd969_78f228175b765b440a33139001315693 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 in the path where the group is insync with the master. (If the ‘MasterSyncPosition’ does not exist, at the first point of the path the master and slave are synchronized).

Note

The inputs acceleration, deceleration and jerk are not added here.

SlaveSyncPosition

Data type: LREAL

Slave Position at which the axes are running in sync.

SyncMode

Data type: INT

This Function Block does not support different modes. Synchronization direction is determined by the sign of MasterStartDistance.

MasterStartDistance

Data type: LREAL

The master distance for the slave to start to synchronize to the master.

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.