MC_ReadMotionState
Mit diesem FB können verschiedene Zustandsinformationen zur aktuellen Achsbewegung gelesen werden.
|
|
|
|
MC_ReadMotionState |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXIS_REF |
- |
|
Axis |
Valid |
|
- |
BOOL |
|
BOOL |
- |
|
Enable |
Busy |
|
- |
BOOL |
|
MC_SOURCE |
- |
|
Source |
Error |
|
- |
BOOL |
|
|
|
|
|
ErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
ConstantVelocity |
|
- |
BOOL |
|
|
|
|
|
Accelerating |
|
- |
BOOL |
|
|
|
|
|
Decelerating |
|
- |
BOOL |
|
|
|
|
|
DirectionPositive |
|
- |
BOOL |
|
|
|
|
|
DirectionNegative |
|
- |
BOOL |
|
|
|
|
|
InPosition |
|
- |
BOOL |
|
|
|
|
|
StandstillSetVelocity |
|
- |
BOOL |
|
|
|
|
|
StandstillActVelocity |
|
- |
BOOL |
|
|
|
|
|
|
|
|
|
Eingänge
Ausgänge
|
Name Datentyp |
Wert/Bedeutung |
|
|---|---|---|
|
Valid BOOL |
TRUE |
An den FB-Ausgängen liegen gültige Werte an. |
|
Busy BOOL |
TRUE |
Abarbeitung läuft. |
|
Error BOOL |
TRUE |
Es ist ein Fehler aufgetreten. Details siehe ErrorID . |
|
ErrorID |
Wenn Error = TRUE: Fehlernummer zum aufgetretenen Fehler.
|
|
|
ConstantVelocity BOOL |
TRUE |
Achse verfährt mit konstanter Geschwindigkeit.
|
|
Accelerating BOOL |
TRUE |
Achse wird beschleunigt. (Betragsmäßige Erhöhung der Geschwindigkeit.) |
|
Decelerating BOOL |
TRUE |
Achse wird verzögert/abgebremst. (Betragsmäßige Verringerung der Geschwindigkeit.) |
|
DirectionPositive BOOL |
TRUE |
Achse verfährt in positiver Richtung. |
|
DirectionNegative BOOL |
TRUE |
Achse verfährt in negativer Richtung. |
|
InPosition BOOL |
TRUE |
Antrieb im Ziel, siehe "Fenster Zielposition erreicht" (Subindex 130 ) |
|
StandstillSetVelocity BOOL |
TRUE |
Sollgeschwindigkeit = 0 |
|
StandstillActVelocity BOOL |
TRUE |
Istgeschwindigkeit innerhalb des in Subindex 132 parametrierten Fensters. |
Motion-Achsen (AXIS_REF)