This description can also be adapted to the other STRING%d_OVERLAPPING DUTs (with %d as an integer number).
Occupied memory of WORD area |
||||||
---|---|---|---|---|---|---|
Starting address |
Offset |
Elements |
||||
e.g. DT100 |
0 |
wMaxLen |
iMaxLen |
aw[0] |
iw[0] |
str |
1 |
wActLen |
iActLen |
aw[1] |
iw[1] |
||
2 |
wChars_2_1 |
iChars_2_1 |
aw[2] |
iw[2] |
||
3 |
wChars_4_3 |
iChars_4_3 |
aw[3] |
iw[3] |
||
4 |
wChars_6_5 |
iChars_6_5 |
aw[4] |
iw[4] |
||
5 |
wChars_8_7 |
iChars_8_7 |
aw[5] |
iw[5] |
||
6 |
wChars_10_9 |
iChars_10_9 |
aw[6] |
iw[6] |
||
7 |
wChars_12_11 |
iChars_12_11 |
aw[7] |
iw[7] |
||
8 |
wChars_14_13 |
iChars_14_13 |
aw[8] |
iw[8] |
||
9 |
wChars_16_15 |
iChars_16_15 |
aw[9] |
iw[9] |