Herunterladen Inhalt Inhalt Diese Seite drucken

Lenze 9300 Servo PLC Handbuch Seite 86

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

Werbung

Template Positioner
Zustände & Funktionen
5.6.3
Funktion "TouchProbePositioning"
Transition ReferenceOk:
Eingangsaktion Step1:
(* Start TouchProbe positioning procedure with positive edge on digital input E3 during
actual profile is in progress *)
(* Set mode of positioning to AbsoluteTPAbsolute −−> Also possible is 14 instead of
Absolute *)
g_byPositioningMode:=AbsoluteTPAbsolute;
(* Configuration of TouchProbe source on digital input E3 *)
(* TouchProbe at positive edge *)
g_byEdgeTouchProbeDIGIN_3 := 0;
(* No TouchProbe delay [incr] *)
g_dnDelayTouchProbeDIGIN_3_p := 0;
(* Copy auxiliary profile to g_wAuxMotionProfileNumber, which is driven if TP−edge is
detected −−> Also possible is the accordance number in enum list *)
g_wAuxMotionProfileNumber:=Profile5;
Transition Trans4:
Eingangsaktion Step2:
(* Set TouchProbe enablebit on TRUE, so TouchProbe positioning procedure can take place
*)
g_bTPEnable:=TRUE;
(* Copy 1st profile to g_wMotionProfileNumber −−> Also possible is the accordance number
in enum list *)
g_wMotionProfileNumber:=Profile4;
(* TouchProbe positioning has to be configured as described *)
(* 1 −> Insert DIGIN/DIGOUT at control configuration *)
(* 2 −> Choose TP−Source and setup at Var_TouchProbe *)
Transition Trans1:
Eingangsaktion Step3:
(* Deactivate TouchProbe positioning procedure to reset enable interface variable *)
g_bTPEnable:=FALSE;
(* Set mode of positioning to Absolute −−> Also possible is 0 instead of Absolute *)
g_byPositioningMode:=Absolute;
(* Copy 2nd profile to g_wMotionProfileNumber −−> Also possible is the accordance number
in enum list *)
g_wMotionProfileNumber:=Profile6;
Transition Trans2:
5−52
TP Positioner Servo PLC 5.0 DE
L

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis