RS 485 interface
49
AMS 301
i
Leuze electronic
9.4
RS 485 interface data
9.4.1
Default settings of the RS 485 interface
On delivery, the RS 485 interface is activated.
9.4.2
Parameter setting for AMS 301
i
An overview of all parameters to be set is listed in the fold-out page at the end of the manual.
All parameters can be set via the panel/display.
Basic operation of the display is described in chapter 8.4.
In order to change parameters, parameter enabling must be activated.
Notice!
Changed parameters have an immediate effect on the interface.
9.4.3
Communication protocol (binary protocol)
Querying AMS 301
i
data (request)
The request to transmission of the measured distances or the speed or the control of the
laser diode (ON/OFF) is controlled via a protocol which is 3 bytes long.
Query / request to the AMS 301
i
Byte 0:
Bit 7 and bit 6: static 1
Bit 5 and bit 4: static 0
Bit 3 to bit 0: addressing of the AMS 301
i
Possible address entry from 0 to 15.
The address used must be set on the AMS 301
i
via the display.
Bit 0 = LSB, Bit 3 = MSB
Byte 1:
CMD
Command = Data request to the AMS 301
i
.
Designation
Value range
Default
Activation
ON / OFF
ON
Baud rate in kbit/s
9.6 / 19.2 / 38.4 / 57.6 / 115.2
38,4
Data format
8,n,1 / 8,e,1 / 8, o, 1
8,n,1
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
1
1
0
0
ADR
ADR
ADR
ADR
1
CMD
CMD
CMD
CMD
CMD
CMD
CMD
CMD
2
XOR
XOR
XOR
XOR
XOR
XOR
XOR
XOR