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 - GetDeviceState- DED.DEVICE_STATE- current device state - Output - xDiagnosisInfoAvailable- BOOL- TRUE, if red exclamation mark in device tree- eError- DED.ERROR