EasyManuals Logo

Beckhoff TwinCAT 2 User Manual

Beckhoff TwinCAT 2
47 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #36 background imageLoading...
Page #36 background image
PLC API
TS505536 Version: 1.3
12.1.2 MC_GearInPos
MC_GearInPos
ExecuteBOOL
RatioNumeratorLREAL
RatioDenominatorUINT
MasterSyncPositionLREAL
SlaveSyncPositionLREAL
SyncModeST_SyncMode
MasterStartDistanceLREAL
VelocityLREAL
AccelerationLREAL
DecelerationLREAL
JerkLREAL
BufferModeMC_BufferMode
OptionsST_GearInPosOptions
MasterReference To AXIS_REF
SlaveReference To AXIS_REF
BOOLStartSync
BOOLInSync
BOOLBusy
BOOLActive
BOOLCommandAborted
BOOLError
UDINTErrorID
The function block MC_GearInPos synchronizes a slave axis precisely with a master axis (flying saw). The
synchronization velocity is achieved exactly at the synchronous position of the master and slave.
The master axis must already be moving, otherwise synchronization is not possible.
The slave axis can be uncoupled with the function block MC_GearOut. If the slave is decoupled while it is
moving, then it retains its velocity and can be halted using MC_Stop or MC_Halt.
Inputs
VAR_INPUT
Execute:BOOL;
RatioNumerator:LREAL;
RatioDenominator:UINT;
MasterSyncPosition:LREAL;
SlaveSyncPosition:LREAL;
SyncMode:ST_SyncMode;
MasterStartDistance:LREAL;
Velocity:LREAL;
Acceleration:LREAL;
Deceleration:LREAL;
Jerk:LREAL;
BufferMode:MC_BufferMode;
Options:ST_GearInPosOptions;
END_VAR
Execute The command is executed with a rising edge at Execute input.
RatioNumerator Gear ratio numerator.
Alternatively, the gear ratio can be specified as a floating point
value, if the denominator is 1.
RatioDenominator Gear ratio denominator
MasterSyncPosition The master's synchronous position
SlaveSyncPosition The slave's synchronous position
SyncMode
In the data structure SyncMode [}41] boundary conditions for the
synchronization process are specified via individual flags.
MasterStartDistance Currently not implemented
Velocity Maximum slave velocity in the synchronization phase. If a velocity is
not specified, the maximum velocity of the axis from the System
Manager data is used.
The velocity given here is only checked if this checking is
activated through the SyncMode [}41] variable.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Beckhoff TwinCAT 2 and is the answer not in the manual?

Beckhoff TwinCAT 2 Specifications

General IconGeneral
BrandBeckhoff
ModelTwinCAT 2
CategorySaw
LanguageEnglish