FB_Parameter

FB_Parameter 1:

Allows concatenation of multiple 64-bit floating point (LREAL) values with assignable name.

Syntax:

FUNCTION_BLOCK FB_Parameter EXTENDS FB_Base

FB_Parameter 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

'‘

Name of the parameter

Next

I_Parameter

Get, Set

NULL

Next item in the list

Root

I_Parameter

Get, Set

THIS^

First element of the list

Value

LREAL

Get, Set

0.0

Value of the parameter

FB_Parameter 3: Methods

Name

Description

Idx()

Returns the element of the xth position of the list.

FB_Parameter 4:

Exceptions avoidance

The Idx() function returns the first element (root) of the list on invalid requested index.

FB_Parameter 5: Interfaces

Type

Description

I_Parameter

Standard interface on FB_Parameter

I_ParameterQuery

Extension of the I_Parameter interface with set access to next and root properties

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.42

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.6.0)