PNSlaveDiag.GetDeviceErrorAsync (METH)

METHOD GetDeviceErrorAsync : DED.PROC_STATE

Returns the device error of the current node; you can also use functionblock GetDeviceError.

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

error code if method fails