Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens SINUMERIK Funktionshandbuch Seite 721

Vorschau ausblenden Andere Handbücher für SINUMERIK:
Inhaltsverzeichnis

Werbung

// #tempPositionReached: Bool;
// #tempError: Bool;
// #tempErrorCode: Byte;
// Auftragsstart: #statStart := TRUE;
"LBP_CtrlAxisSpindle"(Start := #statStart,
IF #tempPositionReached OR #tempError THEN
END_IF;
Spindel drehen
// Spindel (Maschinenachse 5) auf 3000 U/min drehen, starten und stoppen
// #statStart: Bool;
// #statStop: Bool;
// #tempPositionReached: Bool;
// #tempError: Bool;
// #tempErrorCode: Byte;
// Auftragsstart zum Starten: #statStart := TRUE;
// Auftragsstart zum Stoppen: #statStop := TRUE;
"LBP_CtrlAxisSpindle"(Start := #statStart,
IF #tempPositionReached OR #tempError THEN
END_IF;
PLC
Funktionshandbuch, 10/2020, A5E48053808A AD
Stop
:= FALSE,
Funct
:= 1,
Mode
:= 2,
AxisNo
:= 5,
Pos
:= 90.0,
FRate
:= 600.0,
InPos
=> #tempPositionReached,
Error
=> #tempError,
State
=> #tempErrorCode);
#statStart := FALSE;
Stop
:= #statStop,
Funct
:= 2,
Mode
:= 5,
AxisNo
:= 5,
Pos
:= 0,
FRate
:= 3000.0,
InPos
=> #tempPositionReached,
Error
=> #tempError,
State
=> #tempErrorCode);
#statStart := FALSE;
#statStop := FALSE;
// Spindel positionieren
// kürzester Weg
// 5. Maschinenachse
// Spindel drehen
// Drehrichtung wie M4
// 5. Maschinenachse
Referenz zum PLC-Grundprogramm
10.7 Funktionen (FC)
721

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Sinumerik one plc

Inhaltsverzeichnis