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

Properties:

ChildNodeCount

Connector

Enable

FirstChildNode

Index

IsRootNode

MasterID, inherited from IoDrvCIFXProfibus

NextSiblingNode

ParentNode

SiblingNodeCount

Methods:

UpdateConfiguredBaudrate

UpdateConfiguredStationAddress

ClearData, inherited from IoDrvCIFXProfibus

Freeze, inherited from IoDrvCIFXProfibus

GetBusErrorAsync

GetBusInfo

GetBusScanAsync

GetBusState

GetDeviceErrorAsync

GetDeviceInfo

GetDeviceState

GetLiveList, inherited from IoDrvCIFXProfibus

GetLogger

GetSlaveActivation, inherited from IoDrvCIFXProfibus

GetSlaveConfiguration, inherited from IoDrvCIFXProfibus

GetSpecificDeviceErrorAsync

SetSlaveActivation, inherited from IoDrvCIFXProfibus

Sync, inherited from IoDrvCIFXProfibus

Unfreeze, inherited from IoDrvCIFXProfibus

Unsync, inherited from IoDrvCIFXProfibus

Structure: