PNSlaveDiag (FB)
FUNCTION_BLOCK PNSlaveDiag EXTENDS PNSlave IMPLEMENTS DED.IDevice2, DED.IReconfigureProvider
see PNSlave
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Output
xRunningBOOLSlave is in cyclic data exchange.
xBusyBOOLConnect or abort currently in progress.
xErrorBOOLCommunication error. Output PNIOStatus displays reason.
PNIOStatusUDINT16#FFFFFFFF
The current PNIO Status of the device.
xDiagnosisBOOLAny module of the slave has a diagnosis entry.
xModuleDiffBOOLThe module configuration is not matching (wrong or missing).
xDataValidBOOLIO-Data of all modules is valid (Input PS and Output CS is GOOD).
Properties:
ChildNodeCount
Connector
Enable
FirstChildNode
ID, inherited from PNSlave
Index
IsRootNode
NextSiblingNode
ParentNode
SiblingNodeCount
Methods:
CM_Ccontrol_ind, inherited from PNSlave
ChangeState, inherited from PNSlave
CheckCurrentSupportedCommunicationState, inherited from PNSlave
CheckSupportedCommunicationState
GetChild
GetDeviceDiagnosisInfo
GetDeviceErrorAsync
GetDeviceInfo
GetDeviceState
GetID, inherited from PNSlave
GetSpecificDeviceErrorAsync
GetSpecificDeviceState
SetCommunicationState, inherited from PNSlave
UpdatePrimary, inherited from PNSlave
Structure:
IDevice2INodePNSlaveDiag.ChildNodeCount(PROP)PNSlaveDiag.Connector(PROP)PNSlaveDiag.Enable(PROP)PNSlaveDiag.FirstChildNode(PROP)PNSlaveDiag.GetChild(METH)PNSlaveDiag.Index(PROP)PNSlaveDiag.IsRootNode(PROP)PNSlaveDiag.NextSiblingNode(PROP)PNSlaveDiag.ParentNode(PROP)PNSlaveDiag.SiblingNodeCount(PROP)