ExponentialBackoff (FB) ¶ FUNCTION_BLOCK ExponentialBackoff EXTENDS CBML.ETrigTo Function Block to get device Configuration over the Google Cloud Iot Core HTTP Bridge InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Starts defined operation FALSE : Resets the defined operation after ready condition was reached ETrigTo udiTimeOut UDINT Max. operating time for executing [µs], 0: No operating time limit ETrigTo Output xDone BOOL Ready condition reached ETrigTo xBusy BOOL Operation is running ETrigTo xError BOOL Error condition reached ETrigTo Input maximum_backoff_Time UINT Maximum Backoff time allowed in [ms] Caller IExponentialBackoff Function Bloack implementiong Output eError ERROR Output Error
Gloabal ¶ Gloabal_Constant (GVL)
Gloabal_Constant (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant gc_JWTAlgorithm JWTAlgorithm JWTAlgorithm.RS256 Algorithm for the JWT. Currently only RS256 is supported gc_uiSNTPPort UINT 123 Port used by SNTP Server. Default: 123 gc_uiOwnPort UINT 127 Local port for SNTP connection. Default 127 gc_sSNTPVerssion SNTP.NTP_VERSION SNTP.NTP_VERSION.V4 Version used by SNTP Server. Default: Version 4
HTTP ¶ Function Block HTTP_Bridge (FunctionBlock) HTTP_ConfigGeter (FunctionBlock) CyclicAction (Method) Execute (Method) StartAction (Method) HTTP_EventPublisher (FunctionBlock) CyclicAction (Method) Execute (Method) GetHeader (Method) StartAction (Method) HTTP_StatePublisher (FunctionBlock) CyclicAction (Method) Execute (Method) StartAction (Method)
Function Block ¶ HTTP_Bridge (FunctionBlock) HTTP_ConfigGeter (FunctionBlock) CyclicAction (Method) Execute (Method) StartAction (Method) HTTP_EventPublisher (FunctionBlock) CyclicAction (Method) Execute (Method) GetHeader (Method) StartAction (Method) HTTP_StatePublisher (FunctionBlock) CyclicAction (Method) Execute (Method) StartAction (Method)
HTTP_EventPublisher.StartAction (METH) ¶ METHOD StartAction InOut: Scope Name Type Output xComplete BOOL iErrorID INT
HTTP_StatePublisher (FB) ¶ FUNCTION_BLOCK HTTP_StatePublisher EXTENDS CBML.ETrigA IMPLEMENTS IExponentialBackoff Function Block to publish device State 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 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 StartAction Structure: CyclicAction (Method) Execute (Method) StartAction (Method)
HTTP_StatePublisher.CyclicAction (METH) ¶ METHOD CyclicAction InOut: Scope Name Type Input itfTimingController CBML.ITimingController Output xComplete BOOL iErrorID INT
HTTP_StatePublisher.Execute (METH) ¶ METHOD Execute InOut: Scope Name Type Output xDone BOOL xBackoff BOOL
HTTP_StatePublisher.StartAction (METH) ¶ METHOD StartAction InOut: Scope Name Type Output xComplete BOOL iErrorID INT