FB_DataSource

The DataSource FB manage the receiving of the input values of the different sources. In the OUTPUT declaration you can find all configured inputs.

Syntax

Definition:

FUNCTION_BLOCK FB_T[n]_DataSource IMPLEMENTS I_T[n]_DataSource
VAR
END_VAR

FB_DataSource 1: Methods

Name

Definition location

Description

Call

Local

Method for background communication with the TwinCAT driver. The method must be called cyclically.

GetData

Local

Method to get the data of the specified element

Requirements

Development environment

Target platform

Plc libraries to include

TwinCAT v3.1.4024.0

PC or CX (x64, x86)

Tc3_Analytics