IoDrvCIFXProfibus (FB)

FUNCTION_BLOCK IoDrvCIFXProfibus EXTENDS IoDrvCIFX IMPLEMENTS ICmpIoDrvDPV1C1Master, ICmpIoDrvDPV1C2Master, ICmpIoDrvProfibus,

ICmpIoDrvLiveList, ICmpIoDrvPbSlaveActivation, ICmpEventCallback, ICmpIoDrvProfibusConfig, CommFB.ICommFBFactory, CommFB.ICommFBDiagProvider, CommFB.ICommFBFactoryExt

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

InOut:

Scope

Name

Type

Comment

Output

xConfigured

BOOL

configuration ok

xBusOn

BOOL

profibus is online

xBusy

BOOL

driver is busy

xError

BOOL

an error occured, see ErrorCode

ErrorCode

UDINT

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

CommunicationError

CommunicationErrorCIFX

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

Properties:

MasterID

Methods:

ClearData

Freeze

GetLiveList

GetSlaveActivation

GetSlaveConfiguration

SetSlaveActivation

Sync

Unfreeze

Unsync

Structure: