11.5 System Configuration Examples
A system configuration example for bar code reader connection is shown below.
■1. System configuration
*1
Step 1.
The bar code is read with the bar code reader.
➠
Step 2.
The GOT receives the data sent from the bar code reader.
➠
Step 3.
The received data are written to the PLC CPU.
➠
Step 4.
The data read with the bar code reader are written into the PLC CPU devices.
➠
■2. Bar code reader setting
The bar code reader shall be configured as shown below.
Transmission Speed
Data Bit
Stop Bit
Parity
Header
Terminator
11 - 8
11.5 System Configuration Examples
Barcode
123456789
Read data
1
2
3
4
31
32
33
34
35
H
H
H
H
The GOT and QCPU (Q mode) are connected through a bus.
For bus connection, refer to the following manual.
➠
GOT2000 Series Connection Manual (Mitsubishi Products) for GT Works3
■ Bar code reader setting
■ Setting of [Controller Setting] of GT Designer3
■ Setting of [Bar Code] of GT Designer3
■ Confirmation on PLC side
Item
POINT
POINT
POINT
Bar code reader setting
For the bar code reader setting, refer to the following manual.
➠
User's Manual of the bar code reader
Read data
"123456789"
D0
(00
D1
(32
D2
(34
D3
(36
D4
(38
SP
D5
(20
*1
<GOT>
Terminator
5
6
7
8
9
CR
36
37
38
39
0D
H
H
H
H
H
H
9
Read bytes
) (09
)
H
H
2
1
)
(31
)
H
H
4
3
)
(33
)
H
H
6
5
Stored data
)
( 35
)
H
H
8
7
)
(37
)
H
H
9
)
(39
)
H
H
<QCPU (Q mode)>
Set value
9600bps
8bit
1bit
Even
None
CR