CANRemoteDevice_Diag.GetDeviceState (METH)ΒΆ
METHOD GetDeviceState : DED.DEVICE_STATE
Returns the state of the CANopen Remote device.
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. | 
| 
 | DEVICE_STATE.PRE_OPERATIONAL and SDO configuration not finished yet | 
| 
 | DEVICE_STATE.PRE_OPERATIONAL and SDO configuration finished | 
| 
 | 
- 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