# V.G. variables

Recommendation: Use the channel-specific interface

Group | Offset | Identifier | Type | Length
0x122301 | 0x39 | V.G max. number | UNS32 | 4
0x122301 | 0x3A | V.G-name by index | UNS32/STRING | 96
0x122301 | 0x3B | V.G-type by index | UNS32/STRING | 96
0x122301 | 0x3C | V.G-mode by index | UNS32/STRING | 96
0x122301 | 0x3D | V.G-node by index | UNS32/STRING | 96
0x122301 | 0x3E | V.G-read value by name | STRING/EXT_VAR_WERT | 24
0x122301 | 0x3F | V.G-write value by name | S_WRITE_VAR_DATA | 120

V.G type by index Values: see V.A. variables

This function returns the following values in the form of a string:

V_BOOLEAN, V_UNS08, V_SGN08, V_UNS16, V_SGN16, V_UNS32, V_SGN32, V_REAL64, V_STRING, V_UNKNOWN_TYPE

V.G mode by index Values: see V.A. variables

This function returns the following values in the form of a string:

NO_ACCESS, UNKNOWN_ACCESS, READ_ONLY, WRITE_ONLY, PROT_ONLY, READ_WRITE, READ_WRITE_PROT, READ_PROT, WRITE_PROT

V.G mode by index value:

This function returns the following values in the form of a string:

V_CONTINUE, V_AXIS_INDEX, V_AXIS_NAME, V_CP_NAME, V_USER_DEF, V_USER_DEF_ARRAY, V_ARRAY_INDEX, V_VALUE, UNKNOWN_NODE