Chapter 33 Alarm Message API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 33-3
33.2 _DMC_01_get_alm_code
FORMAT
I16 PASCAL _DMC_01_get_alm_code (U16 CardNo, U16 NodeID, U16 SlotID, U32
*alm_code)
Purpose
Retrieves slave alarm code.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
alm_code U32* Number Unit Slave error code
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U32 alm_code;
/* Value of alm_code represents Slave error information. Please refer to the server manual for
details on server error codes. */
I16 status= _DMC_01_get_alm_code (CardNo, NodeID, SlotID, &alm_code);