Rs 232/Rs 485 Communication Description; Communication Format; Communication Protocol - Varian 869-8933 Manual De Instrucciones

Tabla de contenido
Idiomas disponibles
  • ES

Idiomas disponibles

  • ESPAÑOL, página 15
In this way, you will be sure to reduce the influ-
ence of the external noise and to accomplish the
EMC requests. In picture d is showed the cable
assembled.
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 Navi-
gator software.

Communication Format

• 8 data bit
• no parity
• 1 stop bit
• baud rate: 600/1200/2400/4800/9600
programmable
Picture a
Picture b
Picture d
60
TECHNICAL INFORMATION

Communication Protocol

The communication protocol is a MASTER/SLAVE
type where:
• Host = MASTER
• Controller = SLAVE
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:
NOTE
When a data is indicated between two quotes ('...')
it means that the indicated data is the correspond-
ing ASCII character.
− <STX> (Start of transmission) = 0x02
− <ADDR> (Unit address) = 0x80 (for RS 232)
<ADDR> (Unit address) = 0x80 + device num-
ber (0 to 31) (for RS 485)
− <WIN> (Window) = a string of 3 numeric char-
acter 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
− <DATA> = an alphanumeric ASCII string with
the data to be written into the window. In case
of a reading command this field is not present.
The field length is variable according to the
data type as per the following table:
DATA TYPE
FIELD
LENGTH
Logic (L)
1
Numeric (N)
6
Alphanumeric (A)
10
− <ETX> (End of transmission) = 0x03
− <CRC> = XOR of all characters subsequent to
<STX> and including the <ETX> terminator.
The value is hexadecimal coded and indicated
by two ASCII character.
VALID
CHARACTERS
'0' = OFF
'1' = ON
'-', '.', '0' . . . '9' right
justified with '0'
from blank to '_' (ASCII)
87-900-980-01(B)
Tabla de contenido
loading

Este manual también es adecuado para:

Sq 337

Tabla de contenido