Positionieren ausführen
Voraussetzung
- Die Achse ist freigeben ( xReadyForMotion = TRUE).
-
Ein gültiges Fahrprofil ist in den Profildaten definiert
Profildaten-Management
- Ein gültiges Fahrprofil (1 ... 15) ist in wProfileNumber ausgewählt.
Ausführung
Mit einer FALSE ä TRUE-Flanke am Eingang xExecutePositioning wird folgende Profilverkettung ausgeführt:
|
wProfileNumber |
1 |
2 |
|---|---|---|
|
ePositioningMode |
relative |
relative |
|
IrPosition |
500 |
500 |
|
IrVelocity |
300 |
150 |
|
IrAcceleration |
300 |
500 |
|
IrDeceleration |
300 |
500 |
|
IrJerk |
7200 |
7200 |
|
IrFinalVelocity |
0 |
0 |
|
IrTpWindowNeg |
0 |
0 |
|
IrTpWindowPos |
0 |
0 |
|
wTpProfile |
0 |
0 |
|
wSequenceProfile |
2 |
0 |
|
Nr |
xExecute
|
xAbort |
xFinish
|
xProfile
|
xDriveIn
|
xAbortBusy |
eTMState |
INFO |
|---|---|---|---|---|---|---|---|---|
|
1 |
FALSE ä TRUE |
FALSE |
FALSE |
FALSE ä TRUE |
TRUE æ FALSE |
FALSE |
STANDBY
MOVEREL |
Die Achse beschleunigt mit 300 units/s² auf die Geschwindigkeit von Fahrprofil 1 von 300 units/s und fährt die erste Zielposition an. In der Zielposition beträgt die Profilgeschwindigkeit 0 units/s. |
|
2 |
TRUE æ FALSE |
FALSE ä TRUE æ FALSE |
FALSE |
TRUE æ FALSE |
FALSE |
FALSE ä TRUE æ FALSE |
MOVEREL
STOP
STANDBY |
Die Achse beschleunigt mit 500 units/s² auf die Geschwindigkeit von Fahrprofil 2 von 150 units/s. Während der Konstantfahrtphase wird das relative Positionierprofil abgebrochen. Die Achse fährt mit der Profilverzögerung 500 units/s² in den Stillstand. |
|
3 |
FALSE |
FALSE |
FALSE ä TRUE TRUE æ FALSE |
FALSE ä TRUE |
FALSE ä TRUE |
FALSE |
JOGGING |
Das Profil wird mit dem Eingang scCtrlBasicMotion.xFinishPositioning zu Ende gefahren. Sobald die Zielposition erreicht ist, wird der Ausgang xDriveInTarget = TRUE angezeigt. |
