17
Technical Information
RS 232/RS 485 Communication Description
RS 232/RS 485 Communication Description
Both the RS 232 and the RS 485 interfaces are available on the
connector P2.
The communication protocol is the same (see the structure below),
but only the RS 485 manages the address field. Therefore to enable
the RS 485 is necessary to select the type of communication as well
as the device address by means of the T-Plus software.
Communication Format
Communication Protocol
The communication protocol is a MASTER/SLAVE type where:
The communication is performed in the following way:
1
2
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 correspond-ing ASCII character.
358/406
8 data bit
no parity
1 stop bit
baud rate: 600 / 1200 / 2400 / 4800 / 9600 / 19200 / 38400
programmable (default setting: 9600)
Host = MASTER
Controller = SLAVE
the host (MASTER) send a MESSAGE + CRC to the controller
(SLAVE);
the controller answer with an ANSWER + CRC to the host.
<STX> (Start of transmission) = 0x02
Turbo-V 750/850 TwisTorr User Manual / 87-901-020-01
(A)