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