DPM_SL_PRM_SET (STRUCT) ¶ TYPE DPM_SL_PRM_SET : STRUCT InOut: Name Type Comment wSlaveParaLen WORD length of whole parameter data set Sl_Flag BYTE slave related flags bySlave_Typ BYTE type of slave byMax_Diag_Data_Len BYTE byMax_Alarm_Len BYTE byMax_Channel_Data_Length BYTE byDiag_Upd_Delay BYTE Alarm_Mode BYTE byAdd_Sl_Flag BYTE abyOctet_String ARRAY [0..5] OF BYTE
PBSlave (FB) ¶ FUNCTION_BLOCK PBSlave Methods: GetDiag GetExtDiag Structure: GetDiag (Method) GetExtDiag (Method)
PBSlave.GetDiag (METH) ¶ METHOD GetDiag : DPSlaveDiag InOut: Scope Name Type Return GetDiag DPSlaveDiag
PBSlave.GetExtDiag (METH) ¶ METHOD GetExtDiag : UINT InOut: Scope Name Type Return GetExtDiag UINT Input pExtDiag POINTER TO BYTE uiMaxLen UINT
PBSlaveDiag (FB) ¶ FUNCTION_BLOCK PBSlaveDiag EXTENDS PBSlave IMPLEMENTS IDevice, IPBSlaveDiag Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetSpecificDeviceErrorAsync GetSpecificDeviceState SetCommunicationState GetDiag , inherited from PBSlave GetExtDiag , inherited from PBSlave Structure: GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) SetCommunicationState (Method)
PBSlaveDiag.GetDeviceDiagnosisInfo (METH) ¶ METHOD GetDeviceDiagnosisInfo : DED.ERROR InOut: Scope Name Type Return GetDeviceDiagnosisInfo DED.ERROR Input pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.SIZE
PBSlaveDiag.GetDeviceErrorAsync (METH) ¶ METHOD GetDeviceErrorAsync : DED.PROC_STATE InOut: Scope Name Type Comment Return GetDeviceErrorAsync DED.PROC_STATE Input eCmd PROC_CMD eCommand Inout eriDeviceError ERROR_INFO error struct Output eError DED.ERROR
PBSlaveDiag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DEVICE_INFO Device information struct
PBSlaveDiag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE InOut: Scope Name Type Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL eError DED.ERROR
PBSlaveDiag.GetSpecificDeviceErrorAsync (METH) ¶ METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE Returns the device error of the current node InOut: Scope Name Type Comment Return GetSpecificDeviceErrorAsync DED.PROC_STATE Input eCmd PROC_CMD eCommand pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.SIZE eError DED.ERROR