91
V500-R521B2/C2
User’s Manual
Sec
tion
5
Ex
ample of
Con
n
ec
tion wit
h
Pr
ogra
m
ma
ble Co
ntr
o
lle
r (CS1)
Section 5
Example of System Configuration
Example of program
When the trigger switch is turned on, the bar code reader starts reading operation and stores the
read data to DM (data memory) of CS1. The content is displayed on the programming console.
When the bar code cannot read within the duration which is set beforehand (2 sec. in this
example), "?" or ">" is transmitted.
To check the read data with the programming console, press "Clear > FUN > Monitor" in this
order.
For the program command, refer to the operation manual of your programming console. (Items
related to communication method by RS-232C nonprocedural system.)
When the contact point 00000 is turned on,
reading start command (Z) is transmitted to the
bar code reader.
When data is received from the bar code reader,
the data is stored starting from the address
DM00200 and displays the content on the
programming console.
00000
00000
00002
00006
00101
A3920
A3920
DIFU (13) 00101
TXD (236)
DM00100
#0000
#0002
BSET (71)
#0000
DM00200
DM00220
RXD(235)
DM00200
#0000
A393
MSG (46)
&0
DM0200
V500-R521.book 91 ページ 2008年7月18日 金曜日 午後1時1分