ConnectorFlagController (FB) ¶ FUNCTION_BLOCK ConnectorFlagController Documentation is on folder ConnectorFlagController Properties: AutoFlush AutoSetErrorClearedFlag Connector DemolicenseActive DiagProvider DiagnosticAvailable ErrorClearedActive SetChildren SkipDisabledChildConnectors State nCount Methods: Flush Init Structure: AutoFlush (Property) AutoSetErrorClearedFlag (Property) Connector (Property) DemolicenseActive (Property) DiagProvider (Property) DiagnosticAvailable (Property) ErrorClearedActive (Property) Flush (Method) Init (Method) SetChildren (Property) SkipDisabledChildConnectors (Property) State (Property) nCount (Property)
GlobalConstants ¶ CONNECTOR_FLAG_STATES_RS (GVL)
CONNECTOR_FLAG_STATES_RS (GVL) ¶ Representation of the states in ConnectorState as a masked bit combination in dwFlags. Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant STATE_BITS DWORD 2#101111110000 NO_DRIVER_FOUND_SET DWORD 0 AND STATE_BITS; NOT_FOUND_SET DWORD (CF_DRIVER_AVAILABLE AND STATE_BITS) CONFIGURED_SET DWORD (((CF_DRIVER_AVAILABLE OR CF_CONNECTOR_FOUND) OR CF_CONNECTOR_CONFIGURED) AND STATE_BITS) RUNNING_SET DWORD ((((CF_DRIVER_AVAILABLE OR CF_CONNECTOR_FOUND) OR CF_CONNECTOR_CONFIGURED) OR CF_CONNECTOR_ACTIVE) AND STATE_BITS) STOPPED_SET DWORD ((((CF_DRIVER_AVAILABLE OR CF_CONNECTOR_FOUND) OR CF_CONNECTOR_CONFIGURED) OR CF_CONNECTOR_BUS_ERROR) AND STATE_BITS) CONFIGURATION_ERROR_SET DWORD (((CF_DRIVER_AVAILABLE OR CF_CONNECTOR_FOUND) OR CF_CONNECTOR_ERROR) AND STATE_BITS) ERROR_SET DWORD (((((CF_DRIVER_AVAILABLE OR CF_CONNECTOR_FOUND) OR CF_CONNECTOR_CONFIGURED) OR CF_CONNECTOR_ERROR) OR CF_CONNECTOR_ACTIVE) AND STATE_BITS) BUSERROR_SET DWORD (((((CF_DRIVER_AVAILABLE OR CF_CONNECTOR_FOUND) OR CF_CONNECTOR_CONFIGURED) OR CF_CONNECTOR_BUS_ERROR) OR CF_CONNECTOR_ACTIVE) AND STATE_BITS) PASSIVE_SET DWORD (((((CF_DRIVER_AVAILABLE OR CF_CONNECTOR_FOUND) OR CF_CONNECTOR_CONFIGURED) OR CF_CONNECTOR_ACTIVE) OR CF_CONNECTOR_PASSIVE) AND STATE_BITS)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 01.04.2022, 08:07:56 companyName string 3S-Smart Software Solutions GmbH libraryFile IoDrvUtility.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile IoDrvUtility.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 01.04.2022, 08:07:56 LibraryCategories library-category-list Intern|IoDriverBase Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 Patch 3 DefaultNamespace IoDrvUtility Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder IoDriver Utility Project IoDrvUtility Title IoDrvUtility Version version 3.5.18.0
_ExternalFilesDoku ¶ dslkfjdslkfjlkdsf sldkfjldsfjds
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard
ConnectorFlagController.State (PROP) ¶ PROPERTY State : ConnectorState Sets or gets the actually state of the connector, which is set in ConnectorFlagController.init . For each state in ConnectorState expect ConnectorState.DISABLED a fixed bit combination is set in the CONNECTOR_FLAG_STATES_RS.STATE_BITS of dwFlags with the representation in CONNECTOR_FLAG_STATES_RS . The mask CONNECTOR_FLAG_STATES_RS.STATE_BITS ensures to write the correct bits. If the masked bits have no valid combination, then ConnectorState.UNDEFINED is returned in get.
ConnectorFlagController.DiagnosticAvailable (PROP) ¶ PROPERTY DiagnosticAvailable : BOOL This property sets or resets the exclamation mark. Used if a diagnostic message is enable.
ConnectorFlagController.DemolicenseActive (PROP) ¶ PROPERTY DemolicenseActive : BOOL This property sets or resets the Demo Icon (orange).
ConnectorFlagController.AutoFlush (PROP) ¶ PROPERTY AutoFlush : BOOL Set flags immediately? If FALSE , ConnectorFlagController.Flush must be called explicitly. Default: TRUE