FB_CoEParameter

FB_CoEParameter 1:

This class bundles the information of a CoE value in a field device.

Syntax:

FUNCTION_BLOCK FB_CoEParameter

FB_CoEParameter 2: Properties

Name

Type

Access

Description

Index

WORD

Get, Set

Identifies the main index of the CoE value.

SubIndex

BYTE

Get, Set

Addresses a sub-information in a structured CoE value.

Valid

BOOL

Get, Set

The value contained in Value was read by an FB_CoEService, for example, and is valid.

Value

REFERENCE TO U_FlexValue

Get, Set

Union, which saves the read value (regardless of the set data type).

VarType

E_FlexValue

Get, Set

Defines the data type of the parameter to be read.

Notice The correct data type must be configured for the execution of a FB_CoEService service.

FB_CoEParameter 3: Interfaces

Type

Description

I_CoEParameter

Standard interface on FB_CoEParameter.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.55

PC or CX (x64, x86)

Tc3_PlasticFunctions (>= v12.6.1.0)