RecipeManCommands.LoadFromAndWriteRecipe (METH) ¶ METHOD LoadFromAndWriteRecipe : DWORD Loads a recipe from the specified recipe file and afterwards writes the recipe into the PLC variables Note Entries in the recipe that do not include value assignments are not loaded and written. Refer to the “Load and write Recipe” command. InOut: Scope Name Type Comment Return LoadFromAndWriteRecipe DWORD Possible last error values: ERR_RECIPE_DEFINITION_NOT_FOUND ERR_RECIPE_NOT_FOUND ERR_RECIPE_FILE_NOT_FOUND ERR_RECIPE_MISMATCH ERR_RECIPE_NOT_ALL_VARIABLES_WERE_LOADED ERR_NO_RECIPE_MANAGER_SET ERR_OK See ReturnValues (GVL) for a description of all possible errors. Inout Const RecipeDefinitionName STRING Name of the recipe definition. RecipeName STRING Name of the recipe. FileName STRING(255) Name of the file
RDT_Client.ConnectionTimeout (PROP) ¶ PROPERTY ConnectionTimeout : TIME Timeout after which the connection setup aborts with active xError .
RecipeManCommands.LoadRecipe (METH) ¶ METHOD LoadRecipe : DWORD Loads a recipe from the standard recipe file The standard recipe file name is <recipe>.<recipedefinition>.<recipeextension> . Note Entries in the recipe that do not include value assignments are not loaded and written. Refer to the “Load and write Recipe” command. InOut: Scope Name Type Comment Return LoadRecipe DWORD Possible last error values: ERR_RECIPE_DEFINITION_NOT_FOUND ERR_RECIPE_NOT_FOUND ERR_RECIPE_FILE_NOT_FOUND ERR_RECIPE_MISMATCH ERR_RECIPE_NOT_ALL_VARIABLES_WERE_LOADED ERR_NO_RECIPE_MANAGER_SET ERR_OK See ReturnValues (GVL) for a description of all possible errors. Inout Const RecipeDefinitionName STRING Name of the recipe definition RecipeName STRING Name of the recipe
Private ¶ prvCompareRecipe (Method)
RDT_Client.TrsMessage (METH) ¶ METHOD TrsMessage It handles a complete transmisstion of a message InOut: Scope Name Type Comment Input psCom POINTER TO RdtProtStructCommPh Pointer to command phase header pDataTrs __XWORD Pointer to the data to transmit psRes POINTER TO RdtProtStructResPh Pointer where to write to result phase header pDataRcv __XWORD Pointer where to write data received diSizeRcv DINT Maximum size of the above buffer Output xDone BOOL Operation done, with or without errors errorProt INT Protocol error
RdtProtStructConnection (STRUCT) ¶ TYPE RdtProtStructConnection : STRUCT Redundancy Data Transfer Protocol Structure that contains the connection data InOut: Name Type Comment pConnection POINTER TO NBS.TCP_Connection Pointer to the connection ltLastActivity LTIME Timer to test activity on connection ltTimActivity LTIME Activity timeout before to close connection iResCnt INT Reset counters ltLastReset LTIME When done the last reset ltTimWaitAfterReset LTIME Time to wait after reset
Redundancy Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title Redundancy Version 3.5.17.0 Categories System|Redundancy Namespace RDCY Author 3S - Smart Software Solutions GmbH Placeholder Redundancy Description 1 ¶ This library provides access to the redundancy component of the runtime system. The redundancy component allows connecting two CODESYS PLCs to create one redundant system. Indices and tables ¶ 1 Based on Redundancy.library, last modified 20.04.2021, 16:00:53. LibDoc 4.4.0.0-b.27 The content file Redundancy.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:00:53.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:00:53 companyName string 3S-Smart Software Solutions GmbH libraryFile Redundancy.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile Redundancy.clean.json version version 2.0.0.0 ProjectInformation IsCommonLibraryContainer bool True Released True LastModificationDateTime date 20.04.2021, 16:00:53 LibraryCategories library-category-list System|Redundancy Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace RDCY Description See: Description Placeholder Redundancy Project Redundancy Title Redundancy Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. Redundancy Implementation ¶ Library Identification ¶ Placeholder: Redundancy Implementation Default Resolution: Redundancy Implementation, * (System) Namespace: Redundancy_Implementation Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: Redundancy Implementation Redundancy Interfaces ¶ Library Identification ¶ Name: Redundancy Interfaces Version: newest Company: System Namespace: Redundancy_Interfaces Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: Redundancy Interfaces, * (System)
RdtProtStructResPh (STRUCT) ¶ TYPE RdtProtStructResPh : STRUCT Redundancy Data Transfer Protocol Result phase header InOut: Name Type Comment wKeyH WORD Head key uiAns UINT Answer diLen DINT Data length iErr INT Error wKeyT WORD Tail key