P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1038
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
3. Start spindle oscillation
4. Traverse indexing axis
5. Position axes
CALL FC 18 (
Start :=
M100.0,
Stop :=
FALSE,
Funct :=
B#16#3,
//Oscillate spindle
Mode :=
B#16#0,
AxisNo :=
5,
Pos :=
0.0,
FRate :=
MD108,
InPos :=
M112.0,
Error :=
M113.0,
State :=
MB114);
CALL FC 18 (
Start :=
M100.0,
Stop :=
FALSE,
//Not used
Funct :=
B#16#4,
//Traverse indexing axis
Mode :=
B#16#0,
//Position absolutely
AxisNo :=
4,
Pos :=
MD104,
//Default setting in REAL: 1.0;2.0;..
FRate :=
MD108,
InPos :=
M112.0,
Error :=
M113.0,
State :=
MB114);
CALL FC 18 (
Start :=
M100.0,
Stop :=
FALSE,
//Not used
Funct :=
B#16#5,
//Position axes
Mode :=
B#16#1,
//Position incrementally
AxisNo :=
6,
Pos :=
MD104,
FRate :=
MD108,
InPos :=
M112.0,
Error :=
M113.0,
State :=
MB114);