ST_ConfigAutoLogGrp

This structure is used for the Read method of the function block FB_ConfigTcDBSrvEvt. All configured AutoLog groups are read into the PLC in an array of this structure.

Syntax

Definition:

TYPE ST_ConfigAutoLogGrp :
STRUCT
    sName: T_MaxString;
    hAutoLogGrpID: UDINT;
    hDBID: UDINT;
    sTableName: T_MaxString;
    stADSDev: ST_ADSDevice;
    eWriteMode: E_WriteMode;
    nCycleTime: TIME;
    nSymbolCount: UDINT;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

sName

T_MaxString

Group name

hAutoLogGrpID

UDINT

ID of the declared AutoLog group

hDBID

UDINT

ID of the assigned database

sTableName

T_MaxString

Table name

stADSDev

ST_ADSDevice

ADS device information

eWriteMode

E_WriteMode

Write mode

nCycleTime

TIME

Cycle time

nSymbolCount

UDINT

Number of symbols

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT v3.1 Build 4020.10

PC or CX (x86)

Tc3_Database