Siemens SINUMERIK 840D sl Function Manual page 1436

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Detailed description
2.12 Block descriptions
Example of override switchover
// Auxiliary flags used M100.0, M100.1, M100.2, M100.3
// Positive edge of MCP1Ready must check override and actions for activation
// Initiate MCP block
//This example applies to the feedrate override.
//The interface and input bytes must be exchanged for spindle override.
U
EN
JCN smth1;
S
R
// Save override
wei1:
U
O
JCN smth2;
U
FP
JC smth2;
U
R
JC smth2;
U
SPB MCP;
// Route the stored override to the interface of the switched MCP
// until the override values match
JC smth2;
S
// When override values match, call the MCP program again
MCP: CALL "MCP_IFM"(
wei2: NOP
162
DB10.DBX
104.0;
M
100.0;
M
100.2;
M
100.3;
L DB21.DBB 4;
T EB 28;
M
100.2;
DB10.DBX
104.0;
DB10.DBX
104.0;
M
100.1;
M
100.2;
M
100.2;
M
100.3;
L EB 28;
T DB21.DBB 4;
L EB 3;
<>i;
M100.3;
BAGNo
:= B#16#1,
ChanNo
:= B#16#1,
SpindleIFNo
:= B#16#0,
FeedHold
:= M 101.0,
SpindleHold
:= M 101.1);
0;
//MCP1Ready
//Edge trigger flag 1
//Set auxiliary flag 1
//Reset auxiliary flag 2
//Feed override interface
//Buffer storage (freely assignable input or memory byte)
//Switchover takes place
//MCP1Ready
//MCP1Ready
//Edge trigger flag 2
//Switchover takes place
//Reset auxiliary flag 1
//Comparison has taken place
//Call MCP program
//Buffer storage open
//Route override interface
//Override input byte for feed
//Match?
//No, jump
//Yes, set auxiliary flag 2
//FC 19
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents