|
|
|
|
|
|
|
|
|
| + 5 V | ||||||||
|
|
|
|
|
| 10 µF, 16 V |
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
10 µF, 16 V |
|
|
|
|
|
| + |
|
|
|
|
| 10 µF, 16 V | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
+ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IBM - PC
D
Tx |
| B |
| Rx | 2 |
| 5 | |
|
|
Tx
Rx
10 µF, 16 V
+
10 µF, 16 V
+
6 2 16 10
11
14
12 13
ICL 232
TSC 232
1
3
4
Rx IBM
Tx IBM
Ground IBM
3 |
2 |
7 |
+ 5 V |
5
15 8
15.3Communication protocol
TTL to RS 232 converter
The exchange of information when a OSP is interconnected with a PC is as it follows. Serial Interface of PC has to be set to 9600 Baud, 8 bit and No parity.
15.3.1Computer data request from OSP to PC
Computer |
| OSP |
|
Tx IDNAME | → | Rx IDNAME | Proceed if the name is acknowledged |
Rx IDNAME | ← | Tx IDNAME | If not, do not answer |
Tx Instruction | → | Rx Instruction |
|
Rx Instruction | ← | Tx Instruction |
|
Tx char | → | Rx char |
|
Rx DATA 1 | ← | Tx DATA 1 |
|
Tx char | → | Rx char |
|
Rx DATA 2 | ← | Tx DATA 2 |
|
Tx char | → | Rx char |
|
Rx DATA 3 | ← | Tx DATA 3 |
|
Tx char | → | Rx char |
|
Rx DATA 4 | ← | Tx DATA 4 |
|
Tx CHKSUM | → | Rx char |
|
Rx CHKSUM | ← | Tx CHKSUM |
|
IDNAME, Instruction, DATA 1, DATA 2, DATA 3, DATA 4 and CHKSUM are
Rx CHKSUM = DATA 1+DATA 2+DATA 3+DATA 4 .AND. FF
The above is useful to verify correct received data.
The minimum
IDNAME is set to 1.
47