ST_Symbol

Describes the ADS symbol, which has to be specified for methods of the function block FB_PLCDBWriteEvt.

Syntax

Definition:

TYPE ST_Symbol :
STRUCT
    sSymbolName: T_MaxString;
    sDBSymbolName: T_MaxString;
    nIGroup: UDINT;
    nIOffset: UDINT;
    nBitSize: UDINT;
    eDataType: E_PLCDataType;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

sSymbolName

T_MaxString

Symbol name

sDBSymbolName

T_MaxString

Name to be written to the database.

nIGroup

UDINT

Index Group (only for ADSRdWrtMode "eADSMode_IGroup_IOffset")

nIOffset

UDINT

Index Offset (only for ADSRdWrtMode "eADSMode_IGroup_IOffset")

nBitSize

UDINT

Length in bits (only for ADSRdWrtMode "eADSMode_IGroup_IOffset")

eDataType

E_PLCDataType

Data type (only for ADSRdWrtMode "eADSMode_IGroup_IOffset")

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT v3.1 Build 4020.10

PC or CX (x86)

Tc3_Database