
18
AEA111/1
Datum 25.01.2008
Art.Nr. 84155
Änd. Stand 245/07
There are 2 telegram length:
3 Byte:
Address
Byte
Command Check
Byte
6 Byte:
Address
Byte
Command Data
Byte
Low
Data
Byte
Middle
Data
Byte
High
check
Byte
The address byte is composed as follows:
1
0
A0 A1 A2 A3 A4 0
RR L
1
Start LSB
MSB Stop
The test byte results from an EXOR-interconnection
of the remaining two or five bytes of the telegram.
A0 ... A4: binary coded address 1 ... 31;
adress 0 defined for master
RR:
broadcast Bit = 1; command valid for
all devices; devices do not reply
L:
length Bit: 1 = short telegram (3 bytes)
0 = Long telegram (6 bytes)
Parameter: 19200 baud, no Parity, 8 bit,
1 Start bit, 1 Stop bit
Column:
Signification:
Hex:
hexadezimal value of the command
TX:
length of telegram from master to
AEA111/1
RX:
length of telegram from AEA111/1 to
master
S:
transmitted parameter is permanently
stored in the sensor
P:
for this command programming mode
has to be activated (command 0x32;
0x33)
R:
this command can be broadcasted
Hex
TX RX S P R
Function
0x16
3
6
-
-
- read out position value
0x18
3
6
-
-
- read out calibration value
0x1b
3
6
-
-
- read out device's characteristics
D-Byte 1: identifier 26 (dec.);
D-Byte 2: software version
D-Byte 3: hardware version
0x1d
3
6
-
-
- read out counting direction
value = 0: "up" (+)
value = 1: "down" (-)
0x28
6
6
S P
- program calibration value
value to which the position value
is set when the device is calibra-
ted (command 0x48)
0x2d
6
6
S P
- program counting direction
value = 0: "up" (+)
value = 1: "down" (-)
Hex
TX RX S P R
Function
0x32
3
3
-
-
- programming mode "ON"
0x33
3
3
-
-
- programming mode "OFF"
Default
0x3a
3
6
-
-
- send system status
0x3b
3
3
-
-
- cancel system status
system status bytes 2 and 3 are
being deleted
0x48
3
3
S P
- position value is set to calibration
value
0x4F
3
3
-
-
R freeze position value
position value is freezed; deac-
tivated when positional value is
read out. Used for synchronizing
the readout of several devices.
Error messages
The slave (AEA111/1) recognizes transmission or
input errors and then issues the following error mes-
sages:
Hex
TX RX S P R
Function
82 Hex
-
3
-
-
-
check sum data transmission error
84 Hex
-
3
-
-
-
invalid or unknown command
88 Hex
-
3
-
-
-
invalid value (parameter program-
ming)
Synchronisation:
Byte/ telegram synchronisation is made via "Time-
out": the distance between each byte of a tele-
gram must not exceed
10ms
. If a device does not
respond, the master may only send another tele-
gram after
30ms
at the earliest.
Telegram example:
Master requests position value from device 7.
Master sends (hex): 87 16 91
short telegram to address 7 (87h); read out posi-
tion value (16h); check byte (91h)
AEA111/1 replies (hex): 07 16 03 02 00 10
Long telegram from address 7 (07h); read out po-
sition value (16h); value 203h = 515 dec (03 02
00h); check byte (10h).
11. Overview of bit assignment of the
individual registers
11.1 8bit System status register
Bit Default Remarks
0
0
ERROR-Bit: invalid distance sen-
sor-strip or strip break
1
0
ERROR-Bit: position jump occur-
red
2
0
CONFIG INPUT Bit: is set as long
as 24V are applied tothe configu-
ration input.