6.1 COMMUNICATION PROTOCOL
RIELE BERLIN Photometer 5010 / V4 6.1 25.08.2003
The settings of the serial interface are as follows:
Type of interface: RS 232 C
Baudrate: 9600 bit/s or 4800 bit/s
Data format: 7 data bits, 1 stop bit
Parity: even
Protocol: STX - [string] - ETX – BCC
( STX = start of text, ETX = end of text, BCC = block code character )
Checksum: The BCC is generated from the data string including the ETX (not STX).
Parity of BCC is even.
Hardware connection: 1:1 data cable with the following pin configuration:
25-pin 9-pin Photometer 5010
9-pin female
3 2 2 RXD (Receive Data)
2 3 3 TXD (Transmit Data)
7 5 5 GND (Signal Ground)
7 RTS (Request to send)
8 CTS (Clear to send)
The procedure of communication is as follows:
First activate the remote mode of the Photometer 5010 starting serial interface utilities (OM chapter 5.8).
The communication starts with a block where the photometer (master) enables the computer (slave) to
send a command (ACK = acknowledge, NAK = not acknowledge):
Photometer 5010
<=> Computer
STX MØ ETX BCC =>
<= ACK (or NAK)
STX C ETX BCC =>
<= ACK (or NAK)
Within the next block the computer gives the command (for the list of commands see next page):
Photometer 5010 <=> Computer
<= STX [command] ETX BCC
ACK (or NAK) =>
optional, if an answer is requested:
STX [answer] ETX BCC =>
<= ACK (or NAK)
The two blocks are appearing like a loop alternately one after the other.
Exit from the loop is possible with the command „Z“.