J6 - Serial; Rs 232/Rs 485 Communication Description; Communication Format; Communication Protocol - Varian Mini-TASK Manual De Instrucciones

Tabla de contenido
How to connect the outputs of the controller
The following figure shows a typical logic output
connection (relay coil) but any other device may
be connected e.g. a LED, a computer, etc., and
the related simplified circuit of the controller. The
figure example refers to the programmable set
point signal on pins 11 and 9.
Typical output connection

J6 - Serial

This is a 9 pin D-type serial input/output connector
to control via an RS 232 or RS 485 connection the
Mini-TASK.
PIN N.
1
+5 V (OUT)
2
TX (RS232)
3
RX (RS232)
4
A+ (RS422 Optional)
5
GND
6
A + (RS485)
7
B - (RS422 Optional)
8
B - (RS485)
9
RESERVED
Note that the vent valve can also be controlled by
means of the serial connection.
A serial communication kit with a serial cable and
the Navigation software is available (optional).
SIGNAL NAME
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 software.

Communication Format

• 8 data bit
• no parity
• 1 stop bit
• baud rate: 600/1200/2400/4800/9600 p
grammable

Communication Protocol

The
communication
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:
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.
61
TECHNICAL INFORMATION
ro-
protocol is a MASTER/SLAVE
NOTE
87-900-962-01(A)
Tabla de contenido
loading

Este manual también es adecuado para:

969-9170969-9171969-9172

Tabla de contenido