Channel-specific interface

IndexGroup: IdxGrp = 0x122300 + Channel_No , e.g. for Channel 1: 0x122301:

IdxGrp

IdxOffs

Function

Description

Input

Output

0x122301

0x44

Number of variable elements

Number of existing variable entries of selected variable type.

If no variable type is specified → total number of all available variables V.E + V.G + V.A

(Largest index = number of elements – 1)

STRING max.
255 characters

UNS32

0x122301

0x45

Variable description by index

Variable description

(name, handle, variable type, access, size, array dimensions, largest index)

BYTE[2048]
variable length

BYTE[2048]
variable length

0x122301

0x46

Variable handle by name

Handle for access to the variable

STRING max.
255 characters

Handle
(UNS32)

0x122301

0x47

Read variable value by handle

Read variable value by variable handle

BYTE[2048]
variable length

BYTE[2048]
variable length

0x122301

0x48

Read variable value by name

Read variable value by variable name

STRING max.
255 characters

BYTE[2048]
variable length

0x122301

0x49

Write variable value by handle

Write variable value by variable handle

BYTE[2048]
variable length

-

0x122301

0x4A

Write variable value by name

Write variable value by variable name

BYTE[2048]
variable length

-

0x122301

0x4B

Extended variable description by index

Extended variable description, e.g. for V.E variable synchronisation and validity range

BYTE[2048]
variable length

BYTE[2048]
variable length

0x122301

0x4C-0x4E

reserved

Reserved

-

-

Attention

attention

The following functions are not available for V.CYC variables.

"Variable handle by name"

"Read variable value by handle"

"Write variable value by handle"