ModbusTCPSlaveUnit_Diag.GetDeviceErrorAsync (METH)

METHOD GetDeviceErrorAsync : PROC_STATE

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

InOut:

Scope

Name

Type

Comment

Return

GetDeviceErrorAsync

PROC_STATE

Input

eCmd

PROC_CMD

eCommand

Inout

eriDeviceError

ERROR_INFO

error struct

Output

eError

ERROR

error code if method fails