Communication Protocol - Agilent Technologies TV 301 Mode D'emploi

Table des Matières

Publicité

17
Technical Information
RS 232/RS 485 communication description

Communication Protocol

The communication protocol is a MASTER/SLAVE type where:
The communication is performed in the following way:
1. the host (MASTER) send a MESSAGE + CRC to the controller
(SLAVE);
2. the controller answer with an ANSWER + CRC to the host.
The MESSAGE is a string with the following format:
<STX>+<ADDR>+<WIN>+<COM>+<DATA>+<ETX>+<CRC>
where:
When a data is indicated between two quotes ('...') it means that the indicated
NOTE
data is the corresponding ASCII character.
244/284
1 stop bit
baud rate: 600/1200/2400/4800/9600 pro-grammable
Host = MASTER
Controller = SLAVE
<STX> (Start of transmission) = 0x02
<ADDR> (Unit address) = 0x80 (for RS 232)
<ADDR> (Unit address) = 0x80 + device number (0 to 31) (for RS
485)
<WIN> (Window) = a string of 3 numeric character indicating the
window number (from '000' to '999'); for the meaning of each
window see the relevant paragraph.
<COM> (Command) = 0x30 to read the window, 0x31 to write into
the window
TV 301 Navigator User Manual / 87-900-946-01 (N)

Publicité

Table des Matières
loading

Table des Matières