Herunterladen Inhalt Inhalt Diese Seite drucken

Lenze 9300 Servo PLC Handbuch Seite 104

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

Werbung

Template Positioner
Zustände & Funktionen
5.6.5
Funktion "OverridePositioning"
Beispielschrittkette "OverrideSequence"
Eingangsaktion Homing:
(* You must make sure, that reference is known at mode Absolute *)
(* No reference ? *)
IF NOT g_bHomePositionAvailable THEN
(* Reset of state positioning *)
g_bPositioningEnable:=FALSE;
(* Start of reference procedure *)
g_bHomingStart:=TRUE;
END_IF
Ausgangsaktion Homing:
(* First, jump into state positioning of template *)
g_bPositioningEnable:=TRUE;
Transition ReferenceOk:
Eingangsaktion Step1:
(* Set mode of positioning to Absolute *)
(* −−> Also possible is 0 instead of Absolute *)
g_byPositioningMode:=Absolute;
(* Copy 1st profile to g_wMotionProfileNumber *)
(* −−> Also possible is the accordance number in enum list *)
g_wMotionProfileNumber:=Profile7;
5−70
PROGRAM OverrideSequence
(* Example of a positioning sequence
(* in mode Absolute with 3 destinations *)
VAR_INPUT
SFCInit:BOOL;
END_VAR
TP Positioner Servo PLC 5.0 DE
*)
(* TRUE: The sequence is fixed *)
(* in step Init *)
L

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis