RedundancyStatus (FB)

FUNCTION_BLOCK RedundancyStatus

Check the current status of the Profibus Master redundancy functionality.

InOut:

Scope

Name

Type

Comment

Input

xEnable

BOOL

Inout

ProfibusDriver

IoDrvCIFXProfibus

Output

xRedundancyActive

BOOL

Redundancy is activated

xBusy

BOOL

driver is busy

xError

BOOL

error occured, see error code or

ErrorCode

UDINT

CIFX errors etc.

xRedundancyLink

BOOL

redundant PLCs are synchronized, for details see RedundancyState output

RedundancyState

RDCY.RedundancyState

current state of CODESYS PLC Redundancy

xOnline

BOOL

Profibus Master is online

xPrimary

BOOL

Profibus Master is Primray

xBackup

BOOL

Profibus Master is Backup

xPrimaryDetected

BOOL

primary Profibus Master is detected

xBackupDetected

BOOL

backup Profibus Master is Backup