PNSlaveDiag (FB)

FUNCTION_BLOCK PNSlaveDiag EXTENDS PNSlave IMPLEMENTS DED.IDevice2

InOut:

Scope

Name

Type

Initial

Comment

Inherited from

Output

xRunning

BOOL

Slave is in cyclic data exchange.

PNSlave

xBusy

BOOL

Connect or abort currently in progress.

PNSlave

xError

BOOL

Communication error. Output PNIOStatus displays reason.

PNSlave

PNIOStatus

UDINT

16#FFFFFFFF

The current PNIO Status of the device.

PNSlave

xDiagnosis

BOOL

Any module of the slave has a diagnosis entry.

PNSlave

xModuleDiff

BOOL

The module configuration is not matching (wrong or missing).

PNSlave

Properties:

ChildNodeCount

Connector

Enable

FirstChildNode

ID, inherited from PNSlave

Index

IsRootNode

NextSiblingNode

ParentNode

SiblingNodeCount

Methods:

CheckCurrentSupportedCommunicationState

CheckSupportedCommunicationState

GetDeviceDiagnosisInfo

GetDeviceErrorAsync

GetDeviceInfo

GetDeviceState

GetID, inherited from PNSlave

GetSpecificDeviceErrorAsync

GetSpecificDeviceState

SetCommunicationState

Structure: