MC_ReadStatus
Dieser Funktionsbaustein gibt den Status der Achse über ein Einzel-Bits aus. Um den Achszustand als Enumeration abzurufen, verwenden Sie MC_SEW_ReadStatus. Eine ausführliche Beschreibung der PLCopen-Zustände finden Sie in den Kapiteln Zustandsdiagramm und in der Enumeration E_AxisStates in der Bibliothek "SEW PLCopen MotionControl Interfaces" mit dem Namespace "SEW_oIMoCo".

VAR_IN_OUT
Variablenname | Datentyp | Beschreibung |
|---|---|---|
Axis | AXIS_REF | Verweis auf ein logisches Gerät Siehe dazu auch AXIS_REF. |
VAR_INPUT
Variablenname | Datentyp | Beschreibung |
|---|---|---|
Enable | BOOL | Funktionsbaustein aktivieren. |
VAR_OUTPUT
Variablenname | Datentyp | Beschreibung |
|---|---|---|
Valid | BOOL | Ausgänge sind gültig |
Busy | BOOL | Funktionsbaustein ist aktiv |
Error | BOOL | Fehler im Funktionsbaustein aufgetreten |
ErrorID | WORD | Fehlernummer |
ErrorStop | BOOL | Achse ist im Zustand "ErrorStop" |
Disabled | BOOL | Achse ist im Zustand "Disabled" |
Stopping | BOOL | Achse ist im Zustand "Stopping" |
Homing | BOOL | Achse ist im Zustand "Homing" |
Standstill | BOOL | Achse ist im Zustand "Standstill" |
DiscreteMotion | BOOL | Achse ist im Zustand "DiscreteMotion" |
ContinuousMotion | BOOL | Achse ist im Zustand "ContinuousMotion" |
SynchronizedMotion | BOOL | Achse ist im Zustand "SynchronizedMotion" |
