Module_Diag.GetSpecificDeviceErrorAsync (METH)

METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE

Returns the fieldbus specific device error.

Note

This is an asynchronous method. For easier handling use function block |GetSpecificDeviceError|.

Note

The interpretation of pData is fieldbus dependent and will be specified by the associated fieldbus driver.

InOut:

Scope

Name

Type

Comment

Return

GetSpecificDeviceErrorAsync

DED.PROC_STATE

Input

eCmd

DED.PROC_CMD

pData

DED.CAA.PVOID

Pointer to memory

szSize

DED.CAA.SIZE

Size of memory in bytes where pData is pointing to

Output

szCount

DED.CAA.SIZE

Number of Bytes written to pData

eError

DED.ERROR

error code if method fails