Technical Information
RS 232/RS 485 Communication Description
17
Turbo-V 1KG Rack Controller User Manual / 87-901-045-01
233/288
Communication Format
8 data bit
no parity
1 stop bit
baud rate: 600 / 1200 / 2400 / 4800 / 9600 / 19200 / 38400
programmable (default setting: 9600)
Communication Protocol
The communication protocol is a MASTER/SLAVE type where:
Host = MASTER
Controller = SLAVE
The communication is performed in the following way:
the host (MASTER) send a m CRC to the controller
(SLAVE);
the controller answer with an CRC to the host.
The
MESSAGE
is a string with the following format:
<STX>+<ADDR>+<WIN>+<COM>+<DATA>+<ETX>+<CRC>
where:
NOTE
When a data is indicated between two quotes (‘...’) it means that the indicated data is
the corresponding ASCII character.
<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.