File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.07.2023, 15:03:42 companyName string 3S-Smart Software Solutions GmbH libraryFile RedundancyDataTransfer.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile RedundancyDataTransfer.clean.json version version 2.0.0.0 ProjectInformation AutoResolveUnbound bool True IsEndUserLibrary True Released True SourceLibrary False LastModificationDateTime date 20.07.2023, 15:03:42 LibraryCategories library-category-list Intern|Visu Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace RDT Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder RedundancyDataTransfer Project RedundancyDataTransfer Title RedundancyDataTransfer Version version 4.1.0.0
Redundancy Interfaces Library Documentation ¶ Company System Title Redundancy Interfaces Version 3.5.17.0 Categories System|Redundancy Author 3S - Smart Software Solutions GmbH Description 1 ¶ This library provides interfaces for the redundancy component of the runtime system. The redundancy component allows connecting two CODESYS PLCs to create one redundant system. Contents: ¶ CmpRedundancy Interfaces Enums Structs Indices and tables ¶ 1 Based on Redundancy_Itfs.library, last modified 20.04.2021, 16:01:21. LibDoc 4.4.0.0-b.27 The content file Redundancy_Itfs.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:01:21.
CmpRedundancy Interfaces ¶ Enums AREA_TYPE (Enum) ERROR (Enum) PLC_IDENT (Enum) STATE (Enum) Structs RedundancyState (Struct) SYNC_INFO (Struct)
Enums ¶ AREA_TYPE (Enum) ERROR (Enum) PLC_IDENT (Enum) STATE (Enum)
AREA_TYPE (ENUM) ¶ TYPE AREA_TYPE : Redundancy area type Attributes: qualified_only InOut: Name Comment AREA_NONE None AREA_INPUT Input - synchronized once at boot up of second PLC. Areas are registered automatically according settings in redundancy configuration, area settings dialog AREA_SYNCHRO Synchro - synchronized each task cycle start, data copied from active to standby PLC in each cycle. Note size is limited AREA_OUTPUT Output - not synchronized, only crc check is done AREA_PASSIVE Passive - copied from passive to active controller before writing outputs. Note size is limited
ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name Comment NO_ERROR No error ERROR nonspecific error RDCY_BOOTUP_ERROR Error occured during boot up RDCY_SYNCHRO_ERROR Error occured during synchronisation RDCY_CYCLE_ERROR Error occured at cycle start or end - communication error RDCY_LINK_ERROR Error with redundancy link - not connected RDCY_FIELDBUS_ERROR Error reported by fieldbus RDCY_RECEIVEMESSAGE_ERROR Error in receiving a message RDCY_NOMESSAGE_ERROR No message received RDCY_WRONGMESSAGE_ERROR Wrong message received RDCY_CONFIG_ERROR Configuration error RDCY_INPUTAREACRC_ERROR Input area crc on both plcs does not match RDCY_NO_LICENSE_ERROR No valid license found
PLC_IDENT (ENUM) ¶ TYPE PLC_IDENT : Identification of the PLC, independent from active or passive plc state. Attributes: qualified_only InOut: Name Initial Comment PLC_ID_NONE 0 Not specified. Setting in cfg file missing - write settings to plc PLC_ID_1 1 PLC 1 PLC_ID_2 2 PLC 2
STATE (ENUM) ¶ TYPE STATE : Redundancy state Attributes: qualified_only InOut: Name Initial Comment RS_START 0 Plc in startup RS_SYNCHRO 1 Plc is synchronising RS_CYCLE_ACTIVE 2 Plc is running in active mode RS_CYCLE_STANDBY 3 Plc is running in standby mode RS_CYCLE_STANDALONE 4 Plc is running in standalone mode RS_CYCLE_ERROR 5 Plc is in error mode - error occured in cycle start or end RS_SIMULATION 6 Plc is running in simulation mode - switched from standby RS_BOOTUP_ERROR 7 Plc is in error mode - error occured during boot up RS_SHUTDOWN_ACTIVE 8 Plc is shut down - was previously active RS_SHUTDOWN_STANDBY 9 Plc is shut down - was previously standby RS_SYNCHRO_ERROR 10 Plc is in error mode - error occured during synchronisation RS_SIMULATION_START 11 Plc is running in simulation mode - started in simulation mode RS_NO_LICENSE 12 No valid license found
Structs ¶ RedundancyState (Struct) SYNC_INFO (Struct)
RedundancyState (STRUCT) ¶ TYPE RedundancyState : STRUCT Redundancy state information InOut: Name Type Comment eRedundancyState STATE Current redundancy state eRedundancyError ERROR Current error stRedundancyError STRING Error text