FB_TcArguments

FB_TcArguments 1:

Arguments of an event can be defined with this function block. The ITcArguments interface is implemented for this.

Syntax

Definition:

FUNCTION_BLOCK FB_TcArguments IMPLEMENTS I_TcArguments

FB_TcArguments 2: Interfaces

Type

Description

I_TcArguments

Defines the argument handling.

FB_TcArguments 3: Methods

Name

Definition location

Description

AddBlob

I_TcArguments

Adds binary data as an argument.

AddBool

I_TcArguments

Adds an argument of the type BOOL.

AddByte

I_TcArguments

Adds an argument of the type BYTE.

AddDint

I_TcArguments

Adds an argument of the type DINT.

AddDWord

I_TcArguments

Adds an argument of the type DWORD.

AddEventReferenceId

I_TcArguments

Adds a reference to another event as an argument.

AddEventReferenceIdGuid

I_TcArguments

Adds a reference to another event as an argument.

AddInt

I_TcArguments

Adds an argument of the type INT.

AddLInt

I_TcArguments

Adds an argument of the type LINT.

AddLReal

I_TcArguments

Adds an argument of the type LREAL.

AddReal

I_TcArguments

Adds an argument of the type REAL.

AddSInt

I_TcArguments

Adds an argument of the type SINT.

AddString

I_TcArguments

Adds an argument of the type STRING.

AddUDint

I_TcArguments

Adds an argument of the type UDINT.

AddUInt

I_TcArguments

Adds an argument of the type INT.

AddULInt

I_TcArguments

Adds an argument of the type ULINT.

AddUSInt

I_TcArguments

Adds an argument of the type USINT.

AddWord

I_TcArguments

Adds an argument of the type WORD.

AddWString

I_TcArguments

Adds an argument of the type WSTRING.

Clear

I_TcArguments

Removes all arguments.

IsEmpty

Local

Checks whether arguments have been added.

FB_TcArguments 4: Properties

Name

Type

Access

Description

nCount

UDINT

Get

Returns the number of transferred arguments.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.20

PC or CX (x64, x86, ARM)

Tc3_EventLogger