ProfinetControllerDiag.ParentNode (PROP) ¶ PROPERTY ParentNode : DED.INode
ProfinetControllerDiag.SiblingNodeCount (PROP) ¶ PROPERTY SiblingNodeCount : CAA.Count
FunctionBlocks ¶ PNSlave (FunctionBlock) ChangeState (Method) GetID (Method) ID (Property) IDevice2 CheckCurrentSupportedCommunicationState (Method) SetCommunicationState (Method) UpdatePrimary (Method) ProfinetController (FunctionBlock) Backup (Method) MasterID (Property)
PNSlave (FB) ¶ FUNCTION_BLOCK PNSlave IMPLEMENTS Profinet.IFALUser, Profinet.IAlarmReceiver, Profinet.IReadClient, Profinet.IWriteClient, Profinet.ICTLSRL_Client An instance of this function block is created for each Profinet Slave device object that is added to the device tree. It represents the connection configuration of the profinet controller for a single profinet device. the outputs can be used to check the state of this connection. InOut: Scope Name Type Initial Comment Output xRunning BOOL Slave is in cyclic data exchange. xBusy BOOL Connect or abort currently in progress. xError BOOL Communication error. Output PNIOStatus displays reason. PNIOStatus UDINT 16#FFFFFFFF The current PNIO Status of the device. xDiagnosis BOOL Any module of the slave has a diagnosis entry. xModuleDiff BOOL The module configuration is not matching (wrong or missing). Properties: ID Methods: ChangeState GetID UpdatePrimary CheckCurrentSupportedCommunicationState SetCommunicationState Structure: ChangeState (Method) GetID (Method) ID (Property) IDevice2 CheckCurrentSupportedCommunicationState (Method) SetCommunicationState (Method) UpdatePrimary (Method)
PNSlave.ChangeState (METH) ¶ METHOD ChangeState : BOOL InOut: Scope Name Type Return ChangeState BOOL Input state Profinet.CTLSRL_state_change
PNSlave.GetID (METH) ¶ METHOD GetID : DWORD Returns the ID of a certain subslot InOut: Scope Name Type Initial Comment Return GetID DWORD Input API DWORD 0 Currently only 0 is supported SLOT UINT Slot number SUBSLOT UINT Subslot number
ProfinetControllerDiag.SetCommunicationState (METH) ¶ METHOD SetCommunicationState : DED.ERROR Starts, stops or resets the controller. eRequestedState := RESET: Close ethernet adapter, no operation. eRequestedState := STOP: Open ethernet adpater, DCP Protocol is available. If IP-Suite is active, acyclic services are available. No data exchange with configured Profinet Devices. eRequestedState := START: Try to connect to the configured Profinet Devices for data exchange InOut: Scope Name Type Return SetCommunicationState DED.ERROR Input eRequestedState DED.DEVICE_TRANSITION_STATE
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
ProfinetControllerDiag.ChildNodeCount (PROP) ¶ PROPERTY ChildNodeCount : CAA.Count
ProfinetControllerDiag.Connector (PROP) ¶ PROPERTY Connector : POINTER TO IoConfigConnector