FUNCTION_BLOCK PNSlaveDiag EXTENDS PNSlave IMPLEMENTS DED.IDevice2
Scope
Name
Type
Initial
Comment
Inherited from
Output
xRunning
BOOL
Slave is in cyclic data exchange.
PNSlave
xBusy
Connect or abort currently in progress.
xError
Communication error. Output PNIOStatus displays reason.
PNIOStatus
UDINT
16#FFFFFFFF
The current PNIO Status of the device.
xDiagnosis
Any module of the slave has a diagnosis entry.
xModuleDiff
The module configuration is not matching (wrong or missing).
Properties:
ChildNodeCount Connector Enable FirstChildNode ID, inherited from PNSlave Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount
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
CheckCurrentSupportedCommunicationState
CheckSupportedCommunicationState
GetDeviceDiagnosisInfo
GetDeviceErrorAsync
GetDeviceInfo
GetDeviceState
GetID, inherited from PNSlave
GetSpecificDeviceErrorAsync
GetSpecificDeviceState
SetCommunicationState
Structure:
IDevice2
CheckCurrentSupportedCommunicationState (Method)
CheckSupportedCommunicationState (Method)
GetDeviceDiagnosisInfo (Method)
GetDeviceErrorAsync (Method)
GetDeviceInfo (Method)
GetDeviceState (Method)
GetSpecificDeviceErrorAsync (Method)
GetSpecificDeviceState (Method)
SetCommunicationState (Method)
INode
ChildNodeCount (Property)
Connector (Property)
Enable (Property)
FirstChildNode (Property)
Index (Property)
IsRootNode (Property)
NextSiblingNode (Property)
ParentNode (Property)
SiblingNodeCount (Property)