IDEC FC6A-C16K1CE Communications Manual page 124

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

5: U
C
SER
OMMUNICATION
Configuring Barcode Reader
The values shown below are an example of configuring a barcode reader. For actual settings, see the user's manual for the
barcode reader.
Synchronization Mode
Read Mode
Communication Parameter
Other Communication Settings
Comparison Preset Mode
Device Addresses
M100
M101
M8120
D20
D21
D100
D101
Ladder Diagram
When the FC6A Series MicroSmart starts operation, the RXD1 instruction is executed to wait for incoming data. When data receive
is complete, the data is stored to data registers D20 and D21. The receive completion signal is used to execute the RXD1
instruction to wait for another incoming data.
M8120
RXD
1
M100
M101
RXD1 Data
STX
D20 B4 2
ETX
(02h)
(03h)
Data Register
5-48
I
NSTRUCTIONS
Auto
Single read or
multiple read
Baud rate:
Parity check:
Header:
Data echo back:
Output timing:
Data output filter:
Sub serial:
Not used
Input to start receiving barcode data
Receive completion output for barcode data
Initialize pulse special internal relay
Store barcode data (upper 4 digits)
Store barcode data (lower 4 digits)
Receive status data register for barcode data
Receive data byte count data register
S
M100
S1
D1
D2
10
M101
D100
R
M100
S
M100
R
M101
END
End Delimiter
D20, ASCII to BCD conversion (4 digits), Repeat: 2
Start Delimiter
FC6A S
M
S
A
ERIES
ICRO
MART
9,600 bps
Even
02h
No
Output priority 1
No
No
M8120 is the initialize pulse special internal relay used to set M100.
At the rising edge of M100, RXD1 is executed to be ready for receiving data.
Even after M100 is reset, RXD1 still waits for incoming data.
When data receive is complete, M101 is turned on, then M100 is set to execute RXD1 to
receive the next incoming data.
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
Data bits:
Stop bit:
Terminator:
BCR data output:
Character suppress:
Main serial input:
M
FC9Y-B1730
ANUAL
7
1
03h
Yes
No
No

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents