EditTime

EditTime (FB)

FUNCTION_BLOCK EditTime

Short description

Input of a time duration in TIME format ( t#12h34m15s ) Typical application: setting a time delay

Representation

Interfaces

Outputs

Name
Data type
Value range
Initial value
Function

tOut

TIME

Output value in TIME format

Setpoints / parameters

Name
Data type
Value range
Initial value
Function

tSetPoint

TIME

T#0s

Input value in TIME format

Function description

General

This function block is used to pass an input value in TIME format tSetPoint and to directly transfer it to the output value in TIME format tOut.\

Behavior in case of power failure

The input value in TIME format tSetPoint is stored fail-safe and automatically restored.

CODESYS

InOut:

Scope
Name
Type
Initial

Input Const

tSetPoint

TIME

TIME#0ms

Output

tOut

TIME

Last updated