F_BA_RemSecsTone

F_BA_RemSecsTone 1:

The function of return type UDINT shows the elapsed time of a TON function (switch-on delay) in seconds.
The switch-on delay to be considered must be applied to the tonTimer input.

Syntax

FUNCTION F_BA_RemSecsTon : UDINT
VAR_INPUT
  tonTimer    : TON;
END_VAR
VAR
  nRemTime    : UDINT;
END_VAR

F_BA_RemSecsTone 2: Inputs

Name

Type

Description

tonTimer

TON

Input of the considered switch-on delay of type TON.

Variables

Name

Type

Description

nRemTime

UDINT

Seconds remaining until the switch-on delay is switched through.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0