EasyManua.ls Logo

Siemens SIMATIC S7-1500T - Application of Material

Siemens SIMATIC S7-1500T
60 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
Loading...
8 Example Application
8.3 Programming of the processing stations
TOs of S7-1500(T)
Entry ID: 109743134, V1.0, 05/2017
43
Siemens AG 2017 All rights reserved
"MC_CamIn"
The cam disc synchronization is started with a rising edge at the "execute”
input.
//+++ Realize machine function +++
//Function block calls
//Interpolation (if cam disc is not interpolated)
#instInterpolateCam(Cam := #CamDisc,
Execute := NOT (#statCamIsInterpolated));
//Synchronous operation
#instMcCamIn(Master := #AxisMaster,
Slave := #AxisSlave,
Cam := #CamDisc,
Execute := #statExecute,
MasterOffset := #statMasterOffset,
SlaveOffset := 0.0,
MasterScaling := 1.0,
SlaveScaling := 1.0,
MasterSyncPosition := #statMasterSyncPosition,
SyncProfileReference := 1,
MasterStartDistance := #statMasterStartDistance,
ApplicationMode := 0,
SyncDirection := 1,
InSync => #InSync);
Subsequently, the internally saved output signals for the function block are also
passed on to the output parameters of the FB.
//+++ Generate output data +++
#Busy := #statBusy;
#Error := #statError;
#ErrorID := #statErrorId;
8.3.5 Application of material
At the beginning, the current parameters of the technology object used, are also
determined in the "OutputCamOperation" function block:
Positioning axis technology object:
Determination of the modulo settings of the technology object, in order to be
able to correctly calculate the position for the start of the synchronism in
relation to the position of the conveyor belt.

Table of Contents

Other manuals for Siemens SIMATIC S7-1500T

Related product manuals