a3369b.pdf - 第93页
Communication Interfaces 84 VTK - TR -BA- 171e - 1 - User Man u al MDS 3080 -V 8.1.2 RS - 232C Commands The ava ilab le commands are lis ted below . Th ey are ex plained on the f ollowing pages, togeth er with sh ort ex …

Communication Interfaces
VTK-TR-BA-171e-1 - User Manual MDS 3080-V
83
8.1.1 Pin Functions
PIN Characteristics Level Function
1 Reserved ___________ ___________
2
Output
TX
Serial transmission signal
3
Input
RX
Serial reception signal
4
Connected to PIN 6
5
Ground
Ground
6
Connected to PIN 4
7
Reserved
___________
___________
8
Reserved
___________
___________
9
Reserved
___________
___________
The RS-232C log of the control unit uses RS-232C standard and is designed for communication
via a serial cable, connected 1:1, with a Sub-D nine pin connector.
The following parameter configuration is used for the communication with the control unit:
• Synchronous mode: Half-duplex
• Bits/s: 9600 – 115200 (5 different options available, see paragraph 4.5.6, page 33)
• Start bit: 1
• String length: 8 bit (ASCII)
• Parity: None
• Stop bit: 1
• Log: None

Communication Interfaces
84
VTK-TR-BA-171e-1 - User Manual MDS 3080-V
8.1.2 RS-232C Commands
The available commands are listed below. They are explained on the following pages, together
with short examples. This list is according to firmware revision 4071LU1-G.
Each command has to be followed by a line feed (LF, \n, 0x0a) and then a carriage return (CR, \r,
0x0d). It is important to keep to this order!
INFORMATION
Response to commands
The control unit gives a response to every command send to her. Possible answers are:
• A value or set of value, asked for in the command
• OK, to acknowledge a command sent
• NAK (“not acknowledged”), if command sent was incorrect (e.g. incomplete set of values or a
value outside the range)
• “NO HEATER”, if you send the command “HEATER:1:ON”, but there is no heater present.
• “Auxiliary Mode”, if you send the command “SYSTEM:SHOW:VALVEID” while the system is in
the auxiliary mode.
If there is no response to a command, either the connection is interrupted (e.g. malfunctioning
cable or interface) or the command did not end in a carriage return (0x0d).
You can find the reaction times for the commands in the table in the next chapter. The values are
noted for the highest and lowest baud rate, since these have a great influence on the times. The
length of a response is also influential. There it makes e.g. a big difference with the ESR
commands, if there are only a few errors reported or many of them. Please be aware that your
hardware also influences the reaction times. Therefore, the given times are only guidelines.

Communication Interfaces
VTK-TR-BA-171e-1 - User Manual MDS 3080-V
85
8.1.2.1 Overview
0
RS-232C commands Reaction time (ms)
For baud rate:
9600 bits/s 115200 bits/s
1. *ESR? (e.g. 0 errors)
980
640
2. *ESR2? (e.g. 0 errors)
1590
640
3. *IDN?
80
70
4. *OPC?
50
40
5. ADJUST:?
50
40
6. ADJUST:START
400
340
7. ADJUST:TO:CHANGE:<adjust range>
210
190
8. ADJUST:VAL:FA:?
90
70
9. ADJ:VALUES:?
80
70
10. HEATER:?
inapplicable to the system
11. HEATER:1:OFF
inapplicable to the system
12. HEATER:1:ON
inapplicable to the system
13. HEATER:110V
inapplicable to the system
14. HEATER:230V
inapplicable to the system
15. KEY:ENTER
60
40
16. KEY:ESCAPE
60
40
17. KEY:ADJUST
60
40
18. HELP
1890
640
19. LCD?
390
340
20. SETADJLED:OFF
90
80
21. SETADJLED:ON
90
80
22. SYSTEM:KLOCK:OFF
50
40
23. SYSTEM:KLOCK:ON
50
40
24. SYSTEM:SHOW:CYCLES
50
40
25. SYSTEM:SHOW:VALVEID
90
70
26. SYSTEM:SHOW:CONTROLLERID
90
70
27. SYSTEM:SHOW:STATUS
690
340
28. SYSTEM:FIRSTDROP:OFF
340
320
29. SYSTEM:FIRSTDROP:ON
200
190
30. SYSTEM:FIRSTDROP:ADJUST:<starting value>
90
70
31. SYSTEM:FIXEDADJUST:OFF
380
380
32. SYSTEM:FIXEDADJUST:ON
380
380
33. SYSTEM:DOSOKDELAY:OFF
80
70
34. SYSTEM:DOSOKDELAY:ON
80
60