DPM_SL_DIAG (STRUCT) ¶ TYPE DPM_SL_DIAG : STRUCT InOut: Name Type status1 BYTE status2 BYTE status3 BYTE masteradr BYTE identnrhigh BYTE identnrlow BYTE extdiaglen BYTE extdiag BYTE
DPM_BUS_DP (STRUCT) ¶ TYPE DPM_BUS_DP : STRUCT InOut: Name Type Comment wBus_Para_Len WORD length of BUS_DP byFDL_Add BYTE master address byBaudrate BYTE baudrate, see. #defines wTSL WORD slot-time wMin_TSDR WORD min. station delay responder wMax_TSDR WORD max. station delay responder byTQUI BYTE quite time byTSET BYTE setup time ulTTR DWORD target rotation time byG BYTE gap update byHSA BYTE highest active station address byMax_Retry_Limit BYTE retries if error occurs Bp_Flag BYTE auto_clear on/off wMin_Slave_Intervall WORD min. slave intervall time wPoll_Timeout WORD poll timeout wData_Control_Time WORD data control time
Diag ¶ IoDrvEL6731Diag (FunctionBlock) GetBusDiagnosisInfo (Method) GetBusErrorAsync (Method) GetBusInfo (Method) GetBusScanAsync (Method) GetBusState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetLogger (Method) GetQoS (Method) GetSpecificBusState (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) PBSlave (FunctionBlock) GetDiag (Method) GetExtDiag (Method) PBSlaveDiag (FunctionBlock) 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)
IoDrvEL6731Diag (FB) ¶ FUNCTION_BLOCK IoDrvEL6731Diag EXTENDS IoDrvEL6731 IMPLEMENTS IBus, IStack Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: GetBusDiagnosisInfo GetBusErrorAsync GetBusInfo GetBusScanAsync GetBusState GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetLogger GetQoS GetSpecificBusState GetSpecificDeviceErrorAsync GetSpecificDeviceState SetCommunicationState Structure: GetBusDiagnosisInfo (Method) GetBusErrorAsync (Method) GetBusInfo (Method) GetBusScanAsync (Method) GetBusState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetLogger (Method) GetQoS (Method) GetSpecificBusState (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)
IoDrvEL6731Diag.GetBusDiagnosisInfo (METH) ¶ METHOD GetBusDiagnosisInfo : DED.ERROR Returns a DiagnosisInfo if xDiagnosisInfoAvailable of GetBusState was true. InOut: Scope Name Type Comment Return GetBusDiagnosisInfo DED.ERROR Input pData CAA.PVOID Pointer to memory szSize CAA.SIZE Size of memory in bytes where pData is pointing to Output szCount CAA.SIZE Number of Bytes written to pData
IoDrvEL6731Diag.GetBusErrorAsync (METH) ¶ METHOD GetBusErrorAsync : DED.PROC_STATE Returns the bus error of the current node; you can also use functionblock GetBusError. InOut: Scope Name Type Comment Return GetBusErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand Inout eriBusError DED.ERROR_INFO error struct Output eError DED.ERROR
IoDrvEL6731Diag.GetBusInfo (METH) ¶ METHOD GetBusInfo : DED.ERROR Returns the bus information of the current node InOut: Scope Name Type Comment Return GetBusInfo DED.ERROR Inout buiInfo DED.BUS_INFO Bus information struct
IoDrvEL6731Diag.GetBusScanAsync (METH) ¶ METHOD GetBusScanAsync : DED.PROC_STATE Returns the bus scan of the current node InOut: Scope Name Type Comment Return GetBusScanAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand Output itfFirstDevice DED.INode First node of scanned device list eError DED.ERROR
IoDrvEL6731Diag.GetBusState (METH) ¶ METHOD GetBusState : DED.BUS_STATE Returns the bus state of the current node; if device state is ERROR further information can be read by GetBusError InOut: Scope Name Type Comment Return GetBusState DED.BUS_STATE Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling GetBusDiagnosisInfo eError DED.ERROR
IoDrvEL6731Diag.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