CET s.r.l. Parallel Message Display
page 16
3.2. SERIAL LINE
All models are equipped with a RS232 serial line with fixed protocol:
1 START Bit, 8 DATA Bits, Parity NONE, 2 STOP Bits with transmission speed of 19200 BAUD (except
transmission to printer which is executed at a speed of 1200 BAUD).
The physical connection is carried out using a 9-pole female cup connector as shown in the figure:
The following functions can be performed through the serial line:
•
PROGRAMME RECEPTION FROM PC
•
COMMAND RECEPTION
•
PROGRAMME TRANSMISSION TO PC
•
PROGRAMME TRANSMISSION TO ANOTHER MESSAGE DISPLAY UNIT
•
TRANSMISSION TO PRINTER
Using the appropriate SERVICE commands, it is possible to control the PRINTER ST 40 directly to obtain printer
listings of the messages displayed.
The message display units can also be totally managed (controlled) through serial line commands instead of
parallel inputs.
3.2.1. Serial line commands
The serial line command generator device (PC or PLC LOGIC UNIT) should make a 2-byte string of data using
the chart of commands for commands TYPE 0 - 1 - 2 - 3 - 4 - 5 - 6 -10 - 11 - 12 -13 and 14.
Composition of 1
st
string byte:
START BIT
2 STOP BITS
BIT
0
BIT
1
BIT
2
BIT
3
BIT
4
BIT
5
BIT
6
BIT
7
/
A
B
C
SY
0
0
0
0 PARITY
NONE
The sequence of the bytes transmitted reflects exactly the same sequence as parallel commands.
Composition of the 2
nd
string byte:
START BIT
2 STOP BITS
BIT
0
BIT
1
BIT
2
BIT
3
BIT
4
BIT
5
BIT
6
BIT
7
/
D0
D1
D2
D3
D4
D5
D6 D7 PARITY
NONE
The two bytes must be transmitted consecutively with a maximum delay of 3 seconds from one another.
The sequence of the bytes transmitted reflects exactly the same sequence as parallel commands.
8 7 6 5 4 3 2 1
PRG
GND
RX
TX