EasyManua.ls Logo

Siemens Sinumerik 840 sl

Siemens Sinumerik 840 sl
2184 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
Basic logic functions: PLC Basic program powerline (P3 pl)
228 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
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 := 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);
2. Start spindle rotation:
CALL FC 18 (
Start := M100.0,
Stop := FALSE,
Funct := B#16#2, //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 840 sl

Related product manuals