#[repr(u16)]pub enum AlStatus {
Show 53 variants
NoError = 0,
UnspecifiedError = 1,
NoMemory = 2,
InvalidRequestedStateChange = 17,
UnknownRequestedState = 18,
BootstrapNotSupported = 19,
NoValidFirmware = 20,
InvalidMailboxConfig = 21,
InvalidMailboxConfig2 = 22,
InvalidSyncManagerConfiguration = 23,
NoValidInputsAvailable = 24,
NoValidOutputs = 25,
SynchronizationError = 26,
SyncManagerWatchdog = 27,
InvalidSyncManagerTypes = 28,
InvalidOutputConfiguration = 29,
InvalidInputConfiguration = 30,
InvalidWatchdogConfiguration = 31,
SlaveNeedsColdStart = 32,
SlaveNeedsInit = 33,
SlaveNeedsPreOp = 34,
SlaveNeedsSafeOp = 35,
InvalidInputMapping = 36,
InvalidOutputMapping = 37,
InconsistentSettings = 38,
FreerunNotSupported = 39,
SynchronisationNotSupported = 40,
FreerunNeeds3BufferMode = 41,
BackgroundWatchdog = 42,
NovalidInputsAndOutputs = 43,
FatalSyncError = 44,
NoSyncError = 45,
InvalidInputFmmuConfiguration = 46,
InvalidDcSyncConfiguration = 48,
InvalidDcLatchConfiguration = 49,
PllError = 50,
DcSyncIoError = 51,
DcSyncTimeoutError = 52,
DcInvalidSyncCycleTime = 53,
DcInvalidSync0CycleTime = 54,
DcInvalidSync1CycleTime = 55,
MbxAoe = 65,
MbxEoe = 66,
MbxCoe = 67,
MbxFoe = 68,
MbxSoe = 69,
MbcVoe = 79,
EepromNoAccess = 80,
EeepromError = 81,
SlaveRestartedLocally = 96,
DeviceIdValueUpdated = 97,
ApplicationControllerAvailable = 240,
Unknown = 65_535,
}
Expand description
AL status code
Variants§
NoError = 0
No error
UnspecifiedError = 1
Unspecified error
NoMemory = 2
No memory,
InvalidRequestedStateChange = 17
Invalid requested state change“ },
UnknownRequestedState = 18
Unknown requested state,
BootstrapNotSupported = 19
Bootstrap not supported
NoValidFirmware = 20
No Valid Firmware
InvalidMailboxConfig = 21
Invalid mailbox configuration
First value as defined in ethercatprint.c
.
InvalidMailboxConfig2 = 22
Invalid mailbox configuration
Second value as defined in ethercatprint.c
.
InvalidSyncManagerConfiguration = 23
Invalid sync manager configuration
NoValidInputsAvailable = 24
No valid inputs available
NoValidOutputs = 25
No valid outputs
SynchronizationError = 26
Synchronization error
SyncManagerWatchdog = 27
Sync manager watchdog
InvalidSyncManagerTypes = 28
Invalid sync Manager types,
InvalidOutputConfiguration = 29
Invalid output configuration
InvalidInputConfiguration = 30
Invalid input configuration
InvalidWatchdogConfiguration = 31
Invalid watchdog configuration
SlaveNeedsColdStart = 32
Slave needs cold start
SlaveNeedsInit = 33
Slave needs INIT
SlaveNeedsPreOp = 34
Slave needs PREOP
SlaveNeedsSafeOp = 35
Slave needs SAFEOP
InvalidInputMapping = 36
Invalid input mapping
InvalidOutputMapping = 37
Invalid output mapping
InconsistentSettings = 38
Inconsistent settings
FreerunNotSupported = 39
Freerun not supported
SynchronisationNotSupported = 40
Synchronisation not supported
FreerunNeeds3BufferMode = 41
Freerun needs 3buffer mode
BackgroundWatchdog = 42
Background watchdog
NovalidInputsAndOutputs = 43
No valid Inputs and Outputs
FatalSyncError = 44
Fatal sync error
NoSyncError = 45
No sync error
InvalidInputFmmuConfiguration = 46
Invalid input FMMU configuration
InvalidDcSyncConfiguration = 48
Invalid DC SYNC configuration
InvalidDcLatchConfiguration = 49
Invalid DC latch configuration
PllError = 50
PLL error
DcSyncIoError = 51
DC sync IO error
DcSyncTimeoutError = 52
DC sync timeout error
DcInvalidSyncCycleTime = 53
DC invalid sync cycle time
DcInvalidSync0CycleTime = 54
DC invalid sync0 cycle time
DcInvalidSync1CycleTime = 55
DC invalid sync1 cycle time
MbxAoe = 65
MBX_AOE
MbxEoe = 66
MBX_EOE
MbxCoe = 67
MBX_COE
MbxFoe = 68
MBX_FOE
MbxSoe = 69
MBX_SOE
MbcVoe = 79
MBX_VOE
EepromNoAccess = 80
EEPROM no access
EeepromError = 81
EEPROM error
SlaveRestartedLocally = 96
Slave restarted locally
DeviceIdValueUpdated = 97
Device identification value updated
ApplicationControllerAvailable = 240
Application controller available
Unknown = 65_535
Unknown
Trait Implementations§
Source§impl FromPrimitive for AlStatus
impl FromPrimitive for AlStatus
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more