F_BA_ToDT

F_BA_ToDT 1:

The function F_BA_ToDATE of return type DATE_AND_TIME converts a date stDate of type ST_BA_Date into a date of type DATE_AND_TIME.

Syntax

FUNCTION F_BA_ToDATE : DATE
VAR_INPUT
  stDate    : ST_BA_Date;
END_VAR

F_BA_ToDT 2: Inputs

Name

Type

Description

stDate

ST_BA_Date

Date input value to be converted.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0