March 2011
RP Series
52
'assemble the response string. The COM port needs to be
'opened AS random with a record length of 1 for it to support
'this function. Also, the device number is assumed to be #1
'Optionally, this value could be passed as a parameter to
'make this program more generic.
DIM char AS STRING * 1
DIM resp AS STRING
char = ""
resp = ""
DO
char = INPUT$(1, #1)
resp = resp + char
LOOP UNTIL char = CHR$(10)
'Return result
retstring = LEFT$(resp, LEN(resp) - 1)
END FUNCTION
13.2.2. Serial Cable Diagram
The following wiring diagram is required for the serial interface cable between the RP Series
AC power source and a PC communications port connector.
Figure 13-2: RS232C Interface cable wiring diagram
DB-9 PC
DB-9 AC Source
Pin
1
2
3
4
5
6
7
8
9
Pin
1
2
3
4
5
6
7
8
9
Direction
output
input
output
output
-
input
-
-
output
Description
reserved
Receive data(RxD)
Transmit data (TxD)
Data Terminal Ready (DTR)
Signal Ground
Data Set Ready (DSR)
no connect
no connect
reserved
Содержание 1251RP Series
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 6: ...ii This page intentionally left blank ...
Страница 12: ......
Страница 40: ...March 2011 RP Series 28 Figure 6 3 Location of Internal Adjustments ...