Herunterladen Inhalt Inhalt Diese Seite drucken

Lbp_Selectprogram [Fb26001]: Abarbeitung Für Einen Kanal Anwählen (Mc) - Siemens SINUMERIK MC PLC Funktionshandbuch

Inhaltsverzeichnis

Werbung

Referenz zum PLC-Grundprogramm
10.5 Funktionsbausteine (FB)
Aufrufbeispiel
VAR
END_VAR
VAR TEMP
END_VAR
#instLBP_AssignStartASUP(execute := #tempExecute,
10.5.7
LBP_SelectProgram [FB26001]: Abarbeitung für einen Kanal anwählen (MC)
Funktion
Mit dem Baustein "LBP_ SelectProgram [FB26001]" kann ein auf der NC abgelegtes
Programm für einen Kanal zur Abarbeitung angewählt werden. Das Programm muss
ausführbar sein. Der Programmpfad muss vollständig angegeben werden.
Anschließend wird die NC in die Betriebsart AUTO geschaltet.
Erläuterung der Formalparameter
Signal
execute
channel
570
instLBP_AssignStartASUP : "LBP_AssignStartASUP";
tempExecute : Bool;
tempDone : Bool;
tempBusy : Bool;
tempError : Bool;
tempStatus : Word;
functionAssign := TRUE,
functionStart := TRUE,
channel := 1,
program := WString#'mpf/test.mpf',
interrupt := 1,
priority := 1,
liftFast := TRUE,
blSync := TRUE,
done => #tempDone,
busy => #tempBusy,
error => #tempError,
status => #tempStatus);
Art
Typ
E
BOOL
E
UINT
Wertebereich
Bedeutung
---
FALSE → TRUE: Auftrag starten
1 ... 4
Kanalnummer
Funktionshandbuch, 06/2019, A5E47437861A AA
PLC

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis