IoDrvEL6631_0010.SetConnectorFlags (METH) ¶ METHOD SetConnectorFlags InOut: Scope Name Type Initial Input bRunning BOOL bSetDemo BOOL FALSE bResetDemo BOOL FALSE
IoDrvEL6631_0010_Diag (FB) ¶ FUNCTION_BLOCK IoDrvEL6631_0010_Diag EXTENDS IoDrvEL6631_0010 IMPLEMENTS DED.IDevice2 Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: CheckCurrentSupportedCommunicationState CheckSupportedCommunicationState GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetSpecificDeviceErrorAsync GetSpecificDeviceState SetCommunicationState SetConnectorFlags , inherited from IoDrvEL6631_0010 Structure: CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) 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)
IoDrvEL6631_0010_Diag.CheckCurrentSupportedCommunicationState (METH) ¶ METHOD CheckCurrentSupportedCommunicationState : BOOL InOut: Scope Name Type Return CheckCurrentSupportedCommunicationState BOOL Input eRequestedState DED.DEVICE_TRANSITION_STATE
IoDrvEL6631_0010_Diag.CheckSupportedCommunicationState (METH) ¶ METHOD CheckSupportedCommunicationState : BOOL InOut: Scope Name Type Return CheckSupportedCommunicationState BOOL Input eRequestedState DED.DEVICE_TRANSITION_STATE
IoDrvEL6631_0010_Diag.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
IoDrvEL6631_0010_Diag.GetDeviceErrorAsync (METH) ¶ METHOD GetDeviceErrorAsync : DED.PROC_STATE InOut: Scope Name Type Comment Return GetDeviceErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand Inout eriDeviceError DED.ERROR_INFO error struct Output eError DED.ERROR
IoDrvEL6631_0010_Diag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct
IoDrvEL6631_0010_Diag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE InOut: Scope Name Type Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL eError DED.ERROR
PNSlave (FB) ¶ FUNCTION_BLOCK PNSlave InOut: Scope Name Type Comment Output xRunning BOOL PNIOStatus = 0 xBusy BOOL PNIOStatus = 1 xError BOOL PNIOStatus > 1 PNIOStatus UINT returns value of 0xann0:1 PnIoBoxState.pniostate 0 = No error 1 = ProfinetDevice state machine is in boot mode 2 = Device not found 3 = The stationname is not unique 4 = IP could not set 5 = IP conflict 6 = DCP set was not successful 7 = Watchdog error 8 = Datahold error 9 = RTC3: Sync signal could not started 10 = Profinet controller has a link error 11 = The aliasname is not unique 12 = The automatic name assignement isn’t possible - wrong device type 13 = IOC-AR is established but no application ready 14 = IOC-AR is established but module difference 15 = At least one InputCR is invalid, provider in stop or problemindicator is set 16 = At least one OutputCR is invalid, provider in stop or problemindicator is set 31 = only for EtherCAT gateways: WC-State of cyclic EtherCAT frame is 1 Properties: ID Methods: GetID Structure: CommFB GetID (Method) ID (Property)