IoDrvEthercat_Diag.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
IoDrvEthercat_Diag.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
IoDrvEthercat_Diag.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
IoDrvEthercat_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
IoDrvEthercat_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
IoDrvEthercat_Diag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct
IoDrvEthercat_Diag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE InOut: Scope Name Type Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL eError DED.ERROR
IoDrvEthercat_Diag.GetLogger (METH) ¶ METHOD GetLogger : DED.ILogger InOut: Scope Name Type Return GetLogger DED.ILogger Output eError DED.ERROR
IoDrvEthercat_Diag.GetQoS (METH) ¶ METHOD GetQoS : DED.ERROR InOut: Scope Name Type Return GetQoS DED.ERROR Inout QualityInfo DED.QOS_INFO
ETC_SoE_Cmd (FB) ¶ FUNCTION_BLOCK ETC_SoE_Cmd Executes an SoE procedure command InOut: Scope Name Type Initial Comment Input xExecute BOOL Rising edge: ACTION starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values (xDone, xError) are present at the outputs for exactly one cycle. xAbort BOOL FALSE TRUE: Action is stopped immediately and all outputs are reset to their initial values. usiCom USINT 1 Index of master 1: first ETC master uiDevice UINT The physical slave address to access the EtherCAT slave usiChannel USINT 1 not used in the moment because channel is set automatically wIDN WORD The IDN to execute the procedure command udiTimeOut UDINT Timeout for operation in ms byDrive BYTE 0 If the device is a multidrive with this input the drive number could be selected Output xDone BOOL TRUE: Action successfully completed xBusy BOOL TRUE: Function block active xError BOOL TRUE: Error occurred, function block aborts action, FALSE: No error eError ETC_SOE_ERROR If xError is true then this output shows the error reason udiSercosError UDINT Error code as received from the EtherCAT slave