Chapter 8 Using SDO Protocol API | PCI-DMC-A01 / PCI-DMC-B01
8-14 Revised March, 2012
8.10 _DMC_01_reset_sdo_choke
FORMAT
I16 PASCAL _DMC_01_reset_sdo_choke (U16 CardNo)
Purpose
Resets SDO when SDO command is blocked.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Example
U16 CardNo=0;
I16 status= _DMC_01_reset_sdo_choke (CardNo);
8.11 _DMC_01_get_sdo_retry_history
FORMAT
I16 PASCAL _DMC_01_get_sdo_retry_history (U16 CardNo, U32* cnt)
Purpose
Retrieves the number of SDO resends.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
cnt U32* Frequency Return number of SDO message resends
Example
U16 CardNo=0;
U32 cnt=0;
I16 status= _DMC_01_get_sdo_retry_history (CardNo , &cnt);