HTTP_EventPublisher (FB) ¶ FUNCTION_BLOCK HTTP_EventPublisher EXTENDS CBML.ETrigA IMPLEMENTS IExponentialBackoff Function Block to publish device Events over the Google Cloud Iot Core HTTP Bridge InOut: Scope Name Type Initial Comment Inherited from Input xExecute BOOL Rising edge: Starts defined operation FALSE : Resets the defined operation after ready condition was reached ETrig Output xDone BOOL TRUE : Ready condition reached ETrig xBusy BOOL TRUE : Operation is running ETrig xError BOOL TRUE : Error condition reached ETrig Input xAbort BOOL TRUE : Aborts the operation ETrigA Output xAborted BOOL TRUE : Abort condition reached ETrigA Inout HTTPBridge HTTP_Bridge Instance of the HTTP Bridge Input sSub_Folder STRING Subfolder used for POST request pbPayload POINTER TO BYTE Pointer to Payload Data uiPayloadSize UINT Size of Payload Data wsContentType WSTRING Payload content type uimaximum_backoff_Time UINT 3200 Maximum Backoff time allowed in [ms]. Default is 3200 ms Output eError Error Output Error httpResult WEB_CLIENT.HttpResult HTTP Result eHTTPError WEB_CLIENT.ERROR HTTP Error Methods: CyclicAction Execute GetHeader StartAction Structure: CyclicAction (Method) Execute (Method) GetHeader (Method) StartAction (Method)
HTTP_EventPublisher.CyclicAction (METH) ¶ METHOD CyclicAction InOut: Scope Name Type Input itfTimingController CBML.ITimingController Output xComplete BOOL iErrorID INT
HTTP_EventPublisher.Execute (METH) ¶ METHOD Execute InOut: Scope Name Type Output xDone BOOL xBackoff BOOL
HTTP_EventPublisher.GetHeader (METH) ¶ METHOD GetHeader : BOOL METHOD to create and initialize HTTP header InOut: Scope Name Type Return GetHeader BOOL
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 3SLicense ¶ Library Identification ¶ Placeholder: 3SLicense Default Resolution: 3SLicense, * (3S - Smart Software Solutions GmbH) Namespace: _3S_LICENSE Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: 3SLicense CmpCrypto ¶ Library Identification ¶ Placeholder: CmpCrypto Default Resolution: CmpCrypto, * (System) Namespace: CmpCrypto Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpCrypto CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog Common Behaviour Model ¶ Library Identification ¶ Placeholder: CBML Default Resolution: Common Behaviour Model, * (3S - Smart Software Solutions GmbH) Namespace: CBML Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CBML Component Manager ¶ Library Identification ¶ Placeholder: Component Manager Default Resolution: Component Manager, * (System) Namespace: Component_Manager Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Component Manager JSON Web Token SL ¶ Library Identification ¶ Placeholder: JSON_Web_Token_SL Default Resolution: JSON Web Token SL, * (3S - Smart Software Solutions GmbH) Namespace: JWT Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: JSON_Web_Token_SL MQTT Client SL ¶ Library Identification ¶ Placeholder: MQTT_Client_SL Default Resolution: MQTT Client SL, * (3S - Smart Software Solutions GmbH) Namespace: MQTT Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: MQTT_Client_SL Library Parameter ¶ Parameter: G_UDIMAXPACKETSIZE = 6000 Parameter: G_UDIMAXPAYLOADSIZE = 4096 Parameter: G_UDIMAXPUBLISHERSANDSUBSCRIBERS = 20 Parameter: G_UDIMAXQUEUEDPACKETS = 1000 Parameter: G_UIMAXTOPICLEVEL = 10 Net Base Services ¶ Library Identification ¶ Placeholder: NetBaseSrv Default Resolution: Net Base Services, * (3S - Smart Software Solutions GmbH) Namespace: NBS Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: NetBaseSrv SNTP Service SL ¶ Library Identification ¶ Placeholder: SNTP_Service_SL Default Resolution: SNTP Service SL, * (3S - Smart Software Solutions GmbH) Namespace: SNTP Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: SNTP_Service_SL Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard String Util Intern ¶ Library Identification ¶ Placeholder: String_Util_Intern Default Resolution: String Util Intern, * (3S - Smart Software Solutions GmbH) Namespace: MSU Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: String_Util_Intern SysTime ¶ Library Identification ¶ Name: SysTime Version: 3.5.9.0 Company: System Namespace: SysTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTime, 3.5.9.0 (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System) Web Client SL ¶ Library Identification ¶ Placeholder: Web_Client_SL Default Resolution: Web Client SL, * (3S - Smart Software Solutions GmbH) Namespace: WEB_CLIENT Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: Web_Client_SL Library Parameter ¶ Parameter: G_UDIMAXHEADERSIZE = 4000 Parameter: G_UDIMAXOAUTH2TOKENSIZE = 2048 Parameter: G_UDIMAXREQUESTSIZE = 16000 Parameter: G_UDIMAXRESPONSESIZE = 16000
INI File Utility SL Library Documentation ¶ Company : CODESYS Title : INI File Utility SL Version : 1.9.0.0 Categories : Application|Utils Namespace : INI_UTIL Author : CODESYS Development GmbH Placeholder : INI_File_Utility_SL Description [ 1 ] ¶ Library to read and write INI files. Contents: ¶ GetSupplierVersion (Function) INI File Utility Enums Function Blocks Params Structs VersionConstants (GVL) Indices and tables ¶ [ 1 ] Based on INI File Utility SL.library, last modified 11.09.2023, 10:38:01. LibDoc 4.4.0.0-b.37 The content file INI File Utility SL.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 11.09.2023, 10:38:03.
GetSupplierVersion (FUN) ¶ FUNCTION GetSupplierVersion : WORD InOut: Scope Name Type Return GetSupplierVersion WORD Input xDummy BOOL
INI File Utility ¶ Enums ERROR (Enum) Function Blocks INI_Get (FunctionBlock) INI_Reader (FunctionBlock) CleanUp (Method) Close (Method) INI_Writer (FunctionBlock) Close (Method) Ini_EntryManager (FunctionBlock) AddEntry (Method) DeleteEntry (Method) DeleteEntryAtIndex (Method) IniFileEntryAddress (Property) InifileEntryCount (Property) InsertEntryAtIndex (Method) ModifyEntry (Method) ModifyEntryAtIndex (Method) Params Param (ParamList) Structs IniFileEntry (Struct)
ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name Comment NO_ERROR No error TIME_OUT Time out INVALID_HANDLE The file handle can not be created FILE_OPEN_ERROR Unable to open the file READ_ERROR Can’t read file content NOT_FOUND The entry was not found UNREFERENCED_INPUT Input pointer with null value (check and set paIniFileEntry and/or psBuffer) INVALID_INPUT_SIZE The maximum array length is 0 (check and set uiSizeIniFileEntry and/or udiBufferSize) SET_POS_FAILED Set file postion failed INVALID_LICENSE No valid license found or demo mode has expired INIFILEENTRY_FULL IniFileEntry array is full INIFILEENTRY_INSERT_AFTER_LAST Insert index is after current IniFileEntry count INIFILEENTRY_ALREADY_EXISTS IniFileEntry already exists