ControllerConfigUtil.GetDataRecord (METH)

METHOD GetDataRecord : ConfigError

Get a data record of a submodule.

By using this method together with UpdateDataRecord(), the settings / parameters of a module or device can be updated at runtime.

InOut:

Scope

Name

Type

Comment

Return

GetDataRecord

ConfigError

Input

ID

DWORD

ID of the submodule that is owner of the data record

INDEX

UINT

Index of the data record

MLEN

UDINT

Maximum length to be read

RECORD

POINTER TO BYTE

Data record

Output

LEN

UDINT

Length of the data record