Siemens SINUMERIK 840Di Function Manual page 1386

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.12 Block descriptions
Call examples
1. Position spindle:
//Positive acknowledgment resets Start:
U M112.0;
R M 100.0;
//Negative acknowledgment, after error evaluation (state: MB114) reset with T12
start
U M113.0;
U I 6.4;
R M 100.0;
//Start with T13
U I 6.3;
AN F 112.0;
AN F 113.0;
S M 100..0;
CALL FC 18 (
2. Start spindle rotation:
CALL FC 18 (
2-192
//InPos
//Start
// Error
//Key T12
//Start
//Key T13
//Restart only when InPos or Error = 0
Start :=
M100.0,
Stop :=
FALSE,
Funct :=
Bq16q1,
Mode :=
Bq16q2,
AxisNo :=
5,
Pos :=
MD104,
FRate :=
MD108,
InPos :=
M112.0,
Error :=
M113.0,
State :=
MB114);
Start :=
M100.0,
Stop :=
FALSE,
Funct :=
Bq16q2,
Mode :=
Bq16q5,
AxisNo :=
5,
Pos :=
0.0,
FRate :=
MD108,
InPos :=
M112.0,
Error :=
M113.0,
State :=
MB114);
//Position spindle
//Shortest path
//Rotate spindle
//Rotational direction as for M4
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents