88
Sec
tion
5
Ex
ample of
Con
nec
tion wit
h
a PC
V500-R521B2/C2
User’s Manual
Section 5
Example of System Configuration
Example of Connection with a PC
Example of connection with PC/AT compatible PC is explained.
Wire (When V500-R521B2 is used)
Example of BASIC program
100 CLS
110 CLOSE #1
120 OPEN "COM:N81NN" AS #1
130 BCDATA$=""
140 AA$=INPUT$(1,#1)
150 IF AA$=CHR$(&H03) GOTO 170
160 BCDATA$=AA$:GOTO 140
170 PRINT "READ DATA=" ; BCDATA$
180 GOTO 130
Special cable
V509-W011D
Bar code reader
V500-R521C2
AC 100 V
Power supply for bar code
S8VS-01505
PC/AT compatible PC
Wiring
color
Signal
name
Brown
TRIG
Yellow
OK
Orange
NG
Blue
CS
Gray
RS
White
RD
Green
SD
Red
VCC
Black
S.GND
Shield
F.GND
Signal
name
Pin No.
-
1
RD
2
SD
3
ER
4
SG
5
DR
6
CS
7
RS
8
-
9
Shield
Cover
Upper equipment side
(Example of PC/AT compatible PC)
Bar code reader side
Shield
5VDC (Supplied from outside)
0V
V500-R521.book 88 ページ 2008年7月18日 金曜日 午後1時1分