TR-Electronic GmbH 2016, All Rights Reserved Printed in the Federal Republic of Germany
Page 68 of 153 TR-EMO-BA-GB-0022 v03 09/29/2020
9 Object directory
9.1 Object types, data types
A parameter in the object directory can be a simple value, an array or a data structure.
encoTRive uses the following types, which are distinguished by the object code:
Simple value, e.g. INTEGER8
Array from several elements of the same data type
Data field, which is a combination of various simple data types
Table 23: Object codes in encoTRive
In the case of an ARRAY or RECORD parameter, the individual elements are
accessed via the subindex. For simple values (VAR), the subindex is 0.
A parameter or an element of a parameter also has attributes which define the access
to this parameter:
read/write: Parameter can be read and written
read only: Parameter can only be read
write only: Parameter can only be written
Value is constant and read only.
Table 24: Attributes
encoTRive uses the following data types:
Two possible values: 0 (false) or 1 (true)
Integer 8-bit value with sign.
Range of values: -128 ... 127
Integer 16-bit value with sign.
Range of values: -32768 ... 32767
Integer 32-bit value with sign.
Range of values: -2
31
...2
31
-1
Integer 8-bit value without sign.
Range of values: 0...255
Integer 16-bit value without sign.
Range of values: 0..2
16
-1 (0-65535)
Integer 32-bit value without sign.
Range of values: 0..2
32
-1
Table 25: encoTRive data types