Address Syntax

The new Syntax has the following motivation

Syntax

%{data-area-code}.D{bit-length-code}{byte-offset}(.{bit-offset})?

The parts are:

Type identifier Postfix

Generally the TIA Syntax is used:

BOOL, INT, UINT, REAL

Furthermore the follwoing modifiers to the base types are used:

S = Short

D = Double

L = Long

Examples are:

SINT
USINT
DINT
LREAL
LINT
ULINT

Examples for valid addresses

%DB3.DX4.1
%DB3.DX4.1:BOOL
%DB3.DB4:INT
%DB3.DB4:UINT
%DB3.DW4:REAL