You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These annotations are needed for understanding on how to extract the correct values for a characteristic from the hex file. More annotations will follow.
Copy file name to clipboardExpand all lines: a2l/fnc_values.go
+33-22Lines changed: 33 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,28 @@ import (
8
8
)
9
9
10
10
typefncValuesstruct {
11
-
//position of table values (function values) in the deposit structure (description of sequence of elements in the data record).
12
-
positionuint16
13
-
positionSetbool
11
+
//Position of table values (function values) in the deposit structure (description of sequence of elements in the data record).
12
+
Positionuint16
13
+
PositionSetbool
14
14
//data type of the table values
15
-
datatypedataTypeEnum
16
-
datatypeSetbool
17
-
//for characteristic maps, this attribute is used to describe how the 2-dimensional table values are mapped onto the 1-dimensional address space
18
-
indexModeindexModeEnum
19
-
indexModeSetbool
20
-
addresstypeaddrTypeEnum
21
-
addresstypeSetbool
15
+
DatatypedataTypeEnum
16
+
DatatypeSetbool
17
+
//for characteristic maps, curves and value blocks, this field is used to describe how the 2-dimensional table values are mapped onto the 1-dimensional address space
18
+
IndexModeindexModeEnum
19
+
IndexModeSetbool
20
+
/*addressing of the table values:
21
+
Enumeration for description of the addressing of table
22
+
values or axis point values:
23
+
PBYTE: The relevant memory location has a 1 byte pointer
24
+
to this table value or axis point value.
25
+
PWORD: The relevant memory location has a 2 byte pointer
26
+
to this table value or axis point value.
27
+
PLONG: The relevant memory location has a 4 byte pointer
28
+
to this table value or axis point value.
29
+
DIRECT: The relevant memory location has the first table value
30
+
or axis point value, all others follow with incrementing address. */
0 commit comments