PNSlave.SetCommunicationState (METH) ¶ METHOD SetCommunicationState : DED.ERROR Control the connection establishment. eRequestedState := STOP / RESET: Abort an existing profinet connection. Do not try to reconnect. eRequestedState := START: Try to connect to the profinet device. Repeat connect in interval of some seconds in case of failure. InOut: Scope Name Type Comment Return SetCommunicationState DED.ERROR Input eRequestedState DED.DEVICE_TRANSITION_STATE State to which the device shall move.
PNSlave.UpdatePrimary (METH) ¶ METHOD UpdatePrimary InOut: Scope Name Type Input primaryPLC BOOL
ProfinetController (FB) ¶ FUNCTION_BLOCK ProfinetController This Function Block represents the Profinet Controller. One instance is created for the Profinet Controller device object that is added to the device tree. For changing the bus status, use ProfinetControllerDiag.SetCommunicationState . This derived instance is created instead, if the device diagnosis is activated. InOut: Scope Name Type Initial Comment Input xDataActive BOOL TRUE If set to FALSE, all Output Data is set to invalid by ‘BAD’ Output Provider State (unless this PS is not mapped to output variable). Profinet Modules apply their substitute values. Output xOnline BOOL Profinet Controller is online. xBusy BOOL Profinet Controller is in startup phase. xError BOOL Profinet Controller is in error state. xDataValid BOOL IO-Data of all enabled modules is marked valid (Input PS and Output CS is GOOD). Status Profinet.ControllerState Profinet.ControllerState.NotInit SignalLED BOOL Properties: MasterID Methods: Backup Structure: Backup (Method) MasterID (Property)
ProfinetController.Backup (METH) ¶ METHOD Backup : BOOL InOut: Scope Name Type Return Backup BOOL Inout PN_Controller_A ProfinetController
ProfinetController.MasterID (PROP) ¶ PROPERTY MasterID : BYTE Returns the MasterID of the controller instance. It is used for identifying the Controller in function blocks of CommFB- or ProfinetCommon-library. (e.g. ProfinetCommon.DCP_Identify)
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
SysRed ¶ RedundancyManager (FunctionBlock) SR_Mode (Enum) SRstate (Enum)