
PLC API
TS5055
33
Version: 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 [
Zur einfachen Handhabung der Fliegenden Säge dient die TwinCAT PLC Library
TcMC2_FlyingSaw.lib
, die
als
zusätzliches Produkt
Beispielprogramm zum Thema Fliegende Säge [
diese Bibliothek.
The following PLC function blocks are available for operation of the Universal Flying Saw.
Function
Block
Synchronisation to velocity
Synchronisation to position
Read the characteristic values
MC_ReadFlyingSawCharacteristics [
Uncouple the slave
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
. If the slave is decoupled while it is
moving, then it retains its velocity and can be halted using
Inputs
VAR_INPUT
Execute : BOOL;
RatioNumerator : LREAL;
RatioDenominator : UINT;
SyncMode : ST_SyncMode;
Velocity : LREAL;
Acceleration : LREAL;
Содержание TS5055
Страница 1: ...Manual EN TS5055 TwinCAT 2 NC Flying Saw 2022 11 22 Version 1 3...
Страница 2: ......
Страница 4: ...Table of contents TS5055 4 Version 1 3...
Страница 31: ...Interfaces TS5055 31 Version 1 3 ADS interface Documentation of the ADS interface...
Страница 43: ...PLC API TS5055 43 Version 1 3 Type definition for the characteristic parameters of a flying saw synchronization...
Страница 46: ......