25
24
SERIAL INTERFACE
?
?
?
?
?
?
?
?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
?
?
?
?
?
?
?
Transmit mode: RS-232C interface
OP-1 RS-232C Serial Interface(COM1)
?
?
?
?
?
?
?
?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
?
?
?
?
?
?
?
Sub-display Connection
RXD
TXD
GND
2 Transmit Data
3 Receive Data
7 Signal Ground
9pin port(Male)
RS-232C port of sub-display
RS-232C port of
CI-2001AS/BS
RXD
TXD
GND
2 Transmit Data
3 Receive Data
7 Signal Ground
4 Request To Send
5 Clear To Send
6 Data Set Ready
8 Carrier Detect
20 Data Terminal Ready
25pin port(Female)
Serial port of computer
RS-232C port of
CI-2001AS/BS
RXD
TXD
GND
3 Transmit Data
2 Receive Data
5 Chassis Ground
1 Carrier Detect
4 Data Terminal Ready
6 Data Set Ready
7 Request to Send
8 Clear to Send
9pin port(Female)
Serial port of computer
RS-232C port of
CI-2001AS/BS
?
?
?
?
?
?
?
?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
?
?
?
?
?
?
?
Transmit Data Format(22 bytes)
,
,
,
CR LF
Data(8 bytes)
US(Unstable)
ST(Stable)
OL(Over)
GS(Gross)
NT(Net)
UNIT
kg
lb
Device ID
Empty
Device ID
Transmit 1 byte device ID so that the receiver can receive data selectively
which indicator send.
(Device ID is able to set at F10.)
Data(8 bytes) : Weight data with decimal point
1. 13.5 kg : ‘0’, ‘0’, ‘0’, ‘0’, ‘1’, ‘3’, ‘.’, ‘5’
2. 135 kg : ‘0’, ‘0’, ‘0’, ‘0’, ‘1’, ‘3’, ‘5’, ‘0’
3. -135 kg : ‘-’, ‘0’, ‘0’, ‘0’, ‘1’, ‘3’, ‘5’, ‘0’
Each ASCII code of weight transmitted by 8 byte.(‘0’ : 0 20)
?
?
?
?
?
?
?
?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
@@@@@@@@@@@@g?
?
?
?
?
?
?
?
Simple Interface Program(Language : BASIC)
10 OPEN “COM1:9600,N,8,1” As #1
20 IF LOC(1) = 0 THEN 60
30 A$ = INPUT$(1,1)
40 PRINT A$ ; “ ”;
50 GOTO 20
60 B$=INKEY$ : IF B$ =“ ” THEN 20
70 PRINT B$ ; “ ”;
80 PRINT #1,B$;
90 GOTO 20