EasyManuals Logo
Home>Beckhoff>Saw>TwinCAT 2

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 #33 background imageLoading...
Page #33 background image
PLC API
TS5055 33Version: 1.3
12 PLC API
In many plants workpieces undergo machining operations while being transported. For this purpose it is
necessary to synchronise the position and the speed of tool and workpiece, so that the tool can then be
applied as if to a stationary workpiece. One example of such an application is a saw that during the transport
process cuts through the material that is being transported (flying saw). In order to implement this kind of
application, TwinCAT provides the flying saw.
The TwinCAT PLC library TcMC2_FlyingSaw.lib, available as an additional product, provides easy
management of the flying saw. An example program using the flying saw [}44] makes use of this library.
Zur einfachen Handhabung der Fliegenden Säge dient die TwinCAT PLC Library TcMC2_FlyingSaw.lib, die
als zusätzliches Produkt erhältlich ist. Ein Beispielprogramm zum Thema Fliegende Säge [}44] verwendet
diese Bibliothek.
The following PLC function blocks are available for operation of the Universal Flying Saw.
Function Block
Synchronisation to velocity
MC_GearInVelo [}33]
Synchronisation to position
MC_GearInPos [}36]
Read the characteristic values
MC_ReadFlyingSawCharacteristics [}39]
Uncouple the slave
MC_GearOut [}40]
12.1 TcMC2_FlyingSaw
12.1.1 MC_GearInVelo
MC_GearInVelo
ExecuteBOOL
RatioNumeratorLREAL
RatioDenominatorUINT
SyncModeST_SyncMode
VelocityLREAL
AccelerationLREAL
DecelerationLREAL
JerkLREAL
BufferModeMC_BufferMode
OptionsST_GearInVeloOptions
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_GearInVelo activates a linear master-slave coupling (gear coupling). If the master
axis is already moving, the slave axis synchronizes to the master velocity. The block accepts a fixed gear
ratio in numerator/denominator format.
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;
SyncMode:ST_SyncMode;
Velocity:LREAL;
Acceleration:LREAL;

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