FC_GetVirtualSystem - General Information

Overview

Type:

Function

Available as of:

V1.0.4.0

Task

Verify whether a physical slave is contained in the Sercos loop.

Description

The WorkingState parameter of all Sercos bus slaves is checked. The bus interfaces of type TM5 are ignored.

Interface

Output

Data type

Description

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value not equal to ET_Diag.Ok corresponds to an error message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Error message

Return Value

Data type

Description

BOOL

TRUE: No physical slaves have been found.

FALSE: There is at least one physical slave.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Verify was done successfully.