P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
985
S
M
100.2;
//Set auxiliary flag 1
R
M
100.3;
//Reset auxiliary flag 2
// Save override
L DB21.DBB 4;
//Feed override interface
T EB 28;
//Buffer storage (freely input
// or flag byte)
wei1:
U
M
100.2;
//Switchover takes place
O
DB10.DBX 104.0;
//MCP1Ready
JCN smth2;
U
DB10.DBX 104.0;
//MCP1Ready
FP
M
100.1;
//Edge trigger flag 2
JC smth2;
U
M
100.2;
//Switchover takes place
R
M
100.2;
//Reset auxiliary flag 1
JC smth2;
U
M
100.3;
//Comparison has taken place
SPB MCP;
//Call MCP program
// Route the stored override to the interface of the switched MCP
// until the override values match
L EB 28;
//Buffer storage open
T DB21.DBB 4;
//Route override interface
L EB 3;
//Override input byte for feed
<>i;
//Match?
JC smth2;
//No, jump
S
M
100.3;
//Yes, set auxiliary flag 2
// When override values match, call the MCP program again
MCP: CALL "MCP_IFM"(
//FC 19
BAGNo
:= B#16#1,
ChanNo
:= B#16#1,
SpindleIFNo :=
B#16#0,
FeedHold
:= M 101.0,
SpindleHold
:= M 101.1);
wei2: NOP
0;
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...