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
SYNC_INFO (STRUCT) ¶ TYPE SYNC_INFO : STRUCT InOut: Name Type Comment ulCycle UDINT Redundancy task cycle count ulWaitTimeActive UDINT Valid in active and standby state. [ms] ulWaitTimePassive UDINT Valid in standby state. Always 0 in active plc. [ms] ulWaitTimeMax UDINT Maximum wait time of active plc. [ms] ulWaitTime UDINT Value configured in runtime cfg file. Other controller will be considered as failed if exceeded. [ms] ulTaskInterval UDINT Modified if WaitTimeActive or WaitTimePassive to big, to compensate clock drift. [ms] tSinceLastSync TIME Time since last successful synchronization
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:01:21 companyName string 3S-Smart Software Solutions GmbH libraryFile Redundancy_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile Redundancy_Itfs.clean.json version version 2.0.0.0 ProjectInformation IsInterfaceLibrary bool True Released True SourceLibrary False LastModificationDateTime date 20.04.2021, 16:01:21 LibraryCategories library-category-list System|Redundancy Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace Description See: Description DocFormat reStructuredText Project Redundancy_Itfs Title Redundancy Interfaces Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.