ELGO Electronic EMAX2 Series Operation Manual page 16

Magnetic absolute length measuring system with 0.01mm resolution
Table of Contents

Advertisement

Interrogation of the address of an EMAX2:
Connect always only a single EMAX2 to be interrogated via RS422/RS232 converter to COM port of a PC.
Message to the EMAX:
0x02
0x05
STX
address request
Answer of the EMAX:
0x02
0xff
0xff i
STX
EMAX address
Note: The combination 0xff 0xff does not appear in normal mode for position answers of EMAX2 (directly
after STX) It is a sign for a special message not a position (in this case with 0x0b <= i <=0x7f it is the
answer to the interrogation of the address).
Negative answer: If one of the described operations failed for some reasons, EMAX2 gives a negative answer
with a concerning error code.
EMAX answers:
0x02
0xff
0xff
STX
0xff
0xff
With Err = 0x04... 0x0a
Description of the error messages of an addressable EMAX2:
Code
Description
0x04
Wrong succession of bytes sent to EMAX2 for example if the 4. byte after the STX is no ETX or the
byte after STX is not 0x04, 0x05 or 0x06.
0x05
Receive Error: Error concerning the interface
(for example if there has been sent a message with a wrong baud rate etc.)
0x06
Invalid EMAX address – appears after trying to assign an address smaller 0x0b or bigger 0x7f to
EMAX2.
0x07
EMAX2 has forgotten its address - check of internal redundant stored address of EMAX2 failed, this
error message is sent at power up immediately if an error in reading EEPROM is detected or if the
internal redundant stored address does not fit.
0x08
Internal store error of address in EEPROM.
0x09
Error in calculation of position (No tape, tape damaged or to big distance)
0x0a
Check-Sum-Error - Check-Sum of a message sent to EMAX2 is wrong
0x05
0x0c
0x03
check
ETX
0x03
ETX
Err
0x03
Error Code
ETX
16
Installation / Commissioning

Advertisement

Table of Contents
loading

Table of Contents