EasyManua.ls Logo

Siemens SINUMERIK 840DE SL - Page 1128

Siemens SINUMERIK 840DE SL
2050 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...
Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-216 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Call examples
1. Position spindle:
//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 := Bq16q1, //Position spindle
Mode := Bq16q2, //Shortest path
AxisNo := 5,
Pos := MD104,
FRate := MD108,
InPos := M112.0,
Error := M113.0,
State := MB114);
2. Start spindle rotation:
CALL FC 18 (
Start := M100.0,
Stop := FALSE,
Funct := Bq16q2, //Rotate spindle
Mode := Bq16q5, //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 840DE SL

Related product manuals