CANopenManager_Diag.GetDeviceState (METH)ΒΆ
METHOD GetDeviceState : DED.DEVICE_STATE
Returns the state of the CANopenManager.
Following table defines the mapping between CAA Device Diagnosis DED.DEVICE_STATE and DEVICE_STATE.
CAA Device Diagnosis |
CANopen state |
|
- |
|
|
|
|
|
bus error pending |
|
Device is disabled in I/O configuration. |
|
|
|
|
|
- |
- InOut:
Scope
Name
Type
Comment
Return
GetDeviceStateDED.DEVICE_STATEcurrent device state
Output
xDiagnosisInfoAvailableBOOLTRUE, if red exclamation mark in device treeeErrorDED.ERROR