FB_TimerTof

FB_TimerTof 1:

Implements IEC 61131-3 timer function with integrated interface for PLC and HMI.

Syntax:

FUNCTION_BLOCK FB_TimerTof EXTENDS FB_Base

FB_TimerTof 2: Properties

Name

Type

Access

Initial value

Description

Elapsed

LREAL

Get

0.0

Current time value in seconds

Latched

LREAL

Get

0.0

Stored time value of the last execution in seconds

Preset

LREAL

Get, Set

0.0

Preset time value in seconds

Et

TIME

Get

T#0ms

Current time value in milliseconds

In

BOOL

Get, Set

FALSE

Activation input

L

TIME

Get

T#0ms

Stored time value of the last execution in milliseconds

Pt

TIME

Get, Set

T#0ms

Preset time value in milliseconds

Q

BOOL

Get

FALSE

Timer output

FB_TimerTof 3: Interfaces

Type

Description

I_Timer

General interface for IEC 61131-3 timer

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.5.0)