IoDrvCIFXProfibusDiag (FB)

FUNCTION_BLOCK IoDrvCIFXProfibusDiag EXTENDS IoDrvCIFXProfibus IMPLEMENTS DED.IBus, DED.IStack, DED.IReconfigureProvider

An Instance of this function block is created for each profibus master in the device tree.

InOut:

Scope

Name

Type

Comment

Inherited from

Output

xConfigured

BOOL

configuration ok

IoDrvCIFXProfibus

xBusOn

BOOL

profibus is online

IoDrvCIFXProfibus

xBusy

BOOL

driver is busy

IoDrvCIFXProfibus

xError

BOOL

an error occured, see ErrorCode

IoDrvCIFXProfibus

ErrorCode

UDINT

internal CIFX error, e.g during firmware configuration or bus startup.

IoDrvCIFXProfibus

CommunicationError

CommunicationErrorCIFX

CommunicationError, e.g. NETWORK_FAULT if Profibus cable is disconnected

IoDrvCIFXProfibus