Example
TS5066
29
Version: 1.0
Example
The example https://infosys.beckhoff.com/content/1033/tcplclibremotesync/Resources/zip/3465096075.zip
consists of the following files:
sample_axissync_master.tsm
System manager setup of the sending PC. An axis is simulated ("MASTER") and its information sent as
network variables via RT Ethernet.
sample_axissync_slave.tsm
System manager setup of the receiver. The information sent by the sender is received by the RT Ethernet
device and linked with the variables of the PLC project. A simulated axis ("corrected master") is linked with
the PLC inputs ("Nc2PlcAxis") and outputs ("Plc2NcAxis") for external set value generation. The corrected
master information is available as PLC output ("MAIN.MasterNcToPlcFeedback").
sample_axissync.pro
PLC project for the receiver. FB_SyncAxis is called in MAIN. Input
iCycleIndex
is of particularly significance,
since this cyclically updated index forms the basis for the whole control system. The original master axis
information is transferred with the parameter AxisIn, the modified values are available as SyncAxis.AxisOut.
A rudimentary state machine for controlling the NC axis is also implemented in the project.
sample_axissync.scp
ScopeView template.
Summary of Contents for TS5066
Page 1: ...Manual EN TS5066 TwinCAT 2 PLC Remote Synchronisation 2021 10 13 Version 1 0 ...
Page 2: ......
Page 4: ...Table of contents TS5066 4 Version 1 0 ...
Page 30: ......