READ_String_FixedLen

READ_String_FixedLen 1:

Reads a STRING parameter with a limited length of the IO-Link device and switches the bytes to high endian.

READ_String_FixedLen 2:Inputs

Name

Type

Description

nIndex

WORD

Index of the IO-Link Parameter

nSubindex

BYTE

Subindex of the IO-Link Parameter

0 for the whole Structure

sData

Reference to T_IolMaxString

Reference to the T_IolMaxString type

nLen

UDINT

Length of the string

READ_String_FixedLen 3:Outputs

Name

Type

Description

Read_String_FixedLen

HRESULT

Return value

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.25

Tc3_IoLink from v3.3.4.0