PNSlaveDiag.GetSpecificDeviceErrorAsync
(METH)
METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE
Returns the specific device error of the current node; interpretation is fieldbus-dependent; you can also use functionblock GetSpecificDeviceError
- InOut:
Scope
Name
Type
Comment
Return
GetSpecificDeviceErrorAsync
DED.PROC_STATE
Input
eCmd
DED.PROC_CMD
eCommand
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
eError
DED.ERROR
error code if method fails