EasyManua.ls Logo

TR-Electronic MP-200 - Object Directory

TR-Electronic MP-200
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Object directory
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:
Object code
Name
Meaning
7
VAR
Simple value, e.g. INTEGER8
8
ARRAY
Array from several elements of the same data type
9
RECORD
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:
Attribute
Meaning
rw
read/write: Parameter can be read and written
ro
read only: Parameter can only be read
wo
write only: Parameter can only be written
const
Value is constant and read only.
Table 24: Attributes
encoTRive uses the following data types:
Coding
Data type
Length
Description
1
BOOLEAN
8 bit
Two possible values: 0 (false) or 1 (true)
2
INTEGER8
8 bit
Integer 8-bit value with sign.
Range of values: -128 ... 127
3
INTEGER16
16 bit
Integer 16-bit value with sign.
Range of values: -32768 ... 32767
4
INTEGER32
32 bit
Integer 32-bit value with sign.
Range of values: -2
31
...2
31
-1
5
UNSIGNED8
8 bit
Integer 8-bit value without sign.
Range of values: 0...255
6
UNSIGNED16
16 bit
Integer 16-bit value without sign.
Range of values: 0..2
16
-1 (0-65535)
7
UNSIGNED32
32 bit
Integer 32-bit value without sign.
Range of values: 0..2
32
-1
9
Visible String
Variable
ASCII character string
Table 25: encoTRive data types

Table of Contents

Related product manuals