P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1037
Call examples
1. Position spindle:
2. Start spindle rotation:
//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);
CALL FC 18 (
Start :=
M100.0,
Stop :=
FALSE,
Funct :=
B#16q#,
//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);
Содержание 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 ...