SwapWord (FUN) ¶ FUNCTION SwapWord : BOOL InOut: Scope Name Type Return SwapWord BOOL Inout wd WORD
SwapWordIf (FUN) ¶ FUNCTION SwapWordIf : WORD InOut: Scope Name Type Return SwapWordIf WORD Input w WORD byteOrder PlcServiceByteOrder
UtilSwapGuidIf (FUN) ¶ FUNCTION UtilSwapGuidIf : BOOL InOut: Scope Name Type Return UtilSwapGuidIf BOOL Inout theguid Guid Input boTarget PlcServiceByteOrder
PlcMonitoringServiceHelper.WriteApplicationInfo (METH) ¶ METHOD WriteApplicationInfo : UDINT InOut: Scope Name Type Return WriteApplicationInfo UDINT Input pApp POINTER TO PlcAppIdentification udiAppSessionId UDINT
Redundancy Implementation Library Documentation ¶ Company System Title Redundancy Implementation Version 3.5.17.0 Categories System|Redundancy Author 3S - Smart Software Solutions GmbH Placeholder Redundancy Implementation Description 1 ¶ This library contalins external interface functions for the redundancy component of the runtime system. The redundancy component allows connecting two CODESYS PLCs to create one redundant system. Contents: ¶ Redundancy Implementation Functions Indices and tables ¶ 1 Based on Redundancy Implementation.library, last modified 20.04.2021, 16:01:01. LibDoc 4.4.0.0-b.27 The content file Redundancy Implementation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:01:02.
Functions ¶ AreaRegister (Function) GetConnectionState (Function) GetPlcIdent (Function) GetRedundancyState (Function) GetSyncInformation (Function) IsAddressInArea (Function) RedundancySynchronizeData (Function) SwitchToActive (Function) SwitchToSimulation (Function) SwitchToStandalone (Function) SwitchToStandby (Function) Synchronize (Function)
Redundancy Implementation ¶ Functions AreaRegister (Function) GetConnectionState (Function) GetPlcIdent (Function) GetRedundancyState (Function) GetSyncInformation (Function) IsAddressInArea (Function) RedundancySynchronizeData (Function) SwitchToActive (Function) SwitchToSimulation (Function) SwitchToStandalone (Function) SwitchToStandby (Function) Synchronize (Function)
AreaRegister (FUN) ¶ FUNCTION AreaRegister : BOOL Register a memory area as redundant area. Called automatically for areas selected in the redundancy configuration editor, in the registered area page. Other areas can be registered before program start using this function. To do so, in task configuration, register a function to event DownloadDone. Example code: FUNCTION FDownloadDone : DWORD VAR_IN_OUT EventPrm: CmpApp.EVTPARAM_CmpApp; END_VAR AreaRegister(ADR(first), ADR(last) - ADR(a), RDCY.AREA_TYPE.AREA_PASSIVE); InOut: Scope Name Type Comment Return AreaRegister BOOL Input pArea POINTER TO BYTE Start address of area udiSize UDINT Size of area eType AREA_TYPE Redundancy area type
GetConnectionState (FUN) ¶ FUNCTION GetConnectionState : BOOL In standalone state: Returns TRUE if other plc can be connected and answers to redundancy messages. There is a chance that a call to Syncrnonize() will succeed. InOut: Scope Name Type Return GetConnectionState BOOL
GetPlcIdent (FUN) ¶ FUNCTION GetPlcIdent : PLC_IDENT Returns the identification of the PLC, independent from active or passive state. InOut: Scope Name Type Return GetPlcIdent PLC_IDENT