STRUCT with relative addressing - Manual - AX2TIA - This package contains the documentation for ax2tia - Converting SIMATIC AX libraries to TIA Portal libraries,

AX2TIA CLI Tool (ax2tia)

Portfolio
SIMATIC AX
Product
AX2TIA
Software version
9.1.8
Edition
11/2024
Language
English (original)
Package Name
@ax/ax2tia-docs

Using such a structure will result in an error either during compile or at the latest during conversion of the library to the TIA Portal.

TYPE
    ioStruct : STRUCT
        i  AT %B0 : INT;
        w  AT %B2 : WORD;
    END_STRUCT;
END_TYPE