Connections and Interfaces
- 33 -
06h
=
characterizes a message as address allocation
i
=
the new LIMAX2 address. Important: At the answer you get the new a 80h.
04h
= characterises the message as position request
i
= address of the LIMAX2 (0Bh – 7Fh) to request
Position values are always smaller than FFFF00h
STX
= starts a message
ETX
= ends a message
Check Byte
=
contains the arithmetic checksum of STX, byte 1 and byte 2.
The meaning of bytes 1 to 4 can be found in the following chapters.
10.4.3
Command Descriptions
Important:
Before you send a new message to the LIMAX2 wait for the answer first. After allocating a new address the
LIMAX2 answers in max. 0.5 seconds. In other cases it even in a few milliseconds. After this time it is not
expected to get an answer (transmission error).
10.4.3.1
Principle Format of Message
To LIMAX2
answer
10.4.3.2
Position request of LIMAX2 with the address “i”
To LIMAX2
answer
10.4.3.3
A LIMAX2 address request
Attach in each case only one LIMAX2 e.g. over a RS422/RS232 converter to the serial interface (COM-port) of a
PC.
To LIMAX2
answer
10.4.3.4
Allocation of an LIMAX2 address
Attach in each case only one LIMAX2 e.g. over a RS422/RS232 converter to the serial interface (COM-port) of a
PC.
To LIMAX2
answer
The addresses 80 h – FFh as well as 00 h – 0 Ah are FORBIDDEN. If you try to assign an address smaller than
eight, LIMAX2 gives you a “negative answer” and keeps its former address.
ABS-Position
05h
= characterizes a message as address request
i
= LIMAX2 address
FFh FFh does not occur immediately after STX with position inquires as answer!
In this case (0Bh <= i <= 7Fh) this is the answer of the address request.
STX
02h
Byte
1
ETX
03h
Byte
check
Byte
2
STX
02h
Byte
1
Byte
4
Byte
3
Byte
2
STX
02h
04h
ETX
03h
Byte
check
i
STX
02h
MSB
xxh
Adr.
i
LSB
xxh
xxh
STX
02h
05h
ETX
03h
Byte
check
05h
STX
02h
FFh
ETX
03h
i
xxh
FFh
STX
02h
06h
ETX
03h
Byte
check
i
STX
02h
FFh
ETX
03h
i +
80h
FFh