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
PBSlaveDiag.GetSpecificDeviceState (METH) ¶ METHOD GetSpecificDeviceState : DED.ERROR InOut: Scope Name Type Return GetSpecificDeviceState DED.ERROR Input pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.COUNT
DEVINFO (STRUCT) ¶ TYPE DEVINFO : STRUCT InOut: Name Type Comment bDpmSize BYTE Device dpm size (2,8…) bDevType BYTE Device TYPE (manufactor code) bDevModel BYTE Device model (manufactor code) abDevIdentifier ARRAY [0..2] OF BYTE Device identification characters