EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1799 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...
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1037
Call examples
1. Position spindle:
2. Start spindle rotation:
//Positive acknowledgment resets Start:
U M112.0; //InPos
R M 100.0; //Start
//Negative acknowledgment, after error evaluation (state: MB114) reset with T12 start
U M113.0; // Error
U I 6.4; //Key T12
R M 100.0; //Start
//Start with T13
U I 6.3; //Key T13
AN F 112.0; //Restart only when InPos or Error = 0
AN F 113.0;
S M 100..0;
CALL FC 18 (
Start := M100.0,
Stop := FALSE,
Funct := B#16#1, //Position spindle
Mode := B#16#2, //Shortest path
AxisNo := 5,
Pos := MD104,
FRate := MD108,
InPos := M112.0,
Error := M113.0,
State := MB114);
CALL FC 18 (
Start := M100.0,
Stop := FALSE,
Funct := B#16q#, //Rotate spindle
Mode := B#16#5, //Rotational direction as for M4
AxisNo := 5,
Pos := 0.0,
FRate := MD108,
InPos := M112.0,
Error := M113.0,
State := MB114);

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals