Herunterladen Inhalt Inhalt Diese Seite drucken

Lenze 9300 Servo PLC Handbuch Seite 76

Vorschau ausblenden Andere Handbücher für 9300 Servo PLC:
Inhaltsverzeichnis

Werbung

Template Positioner
Zustände & Funktionen
5.6.2
Funktion "StandardPositioning"
Eingangsaktion Step2:
(* Set mode of positioning to Speed *)
(* −−> Also possible is 2 instead of Speed *)
g_byPositioningMode:=Speed;
(* Copy 2nd profile to g_wMotionProfileNumber *)
(* −−> Also possible is the accordance number in enum list *)
g_wMotionProfileNumber:=Profile20;
(* Initialization of Timer to generate transition for the next step, *)
(* because no Done state comes to g_wMotionControlNumber *)
SpeedTimer(IN:=TRUE, PT:=t#600ms);
Ausgangsaktion Step2:
(* Reset SpeedTimer, to start new timer procedure at next step *)
SpeedTimer(IN:=FALSE);
Transition Trans2:
Eingangsaktion Step3:
(* Set mode of positioning to Speed *)
(* −−> Also possible is 2 instead of Speed *)
g_byPositioningMode:=Speed;
(* Copy 3rd profile to g_wMotionProfileNumber *)
(* −−> Also possible is the accordance number in enum list *)
g_wMotionProfileNumber:=Profile21;
(* Initialization of Timer to generate transition for the next step, *)
(* because no Done state comes to g_wMotionControlNumber *)
SpeedTimer(IN:=TRUE, PT:=t#800ms);
Ausgangsaktion Step3:
(* Reset SpeedTimer, to start new timer procedure at next step *)
SpeedTimer(IN:=FALSE);
Transition Trans3:
5−42
TP Positioner Servo PLC 5.0 DE
L

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis