
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
5-47
5: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
Sample Program – User Communication RXD
This example demonstrates a program to receive data from a barcode reader with an RS232C port using the user communication
RXD1 (receive) instruction.
System Setup
Description of Operation
A barcode reader is used to scan barcodes of 8 numerical digits. The scanned data is sent to the FC6A Series MicroSmart through
the Serial Port 1 (RS232C) and stored to data registers. The upper 8 digits of the data are stored to data register D20 and the
lower 8 digits are stored to data register D21.
Setting User Communication Mode in WindLDR Function Area Settings
Since this example uses the Serial Port 1 (RS232C), select User Protocol for Port 1 in the Function Area Settings using WindLDR.
See "Programming WindLDR" on page 5-25.
Setting Communication Parameters
Set the communication parameters to match those of the barcode reader. See "Programming WindLDR" on page 5-25. For details
of the communication parameters of the barcode reader, see the user’s manual for the barcode reader. An example is shown
below:
To RS232C Port
To Serial Port 1 (RS232C)
Attach a proper connector to the open
end of the cable referring to the cable
connector pinouts shown below.
Communication Cable
(part no: FC6A-KC1C)
5 m (16.4 ft.)
Serial Port 1
Barcode Reader
FC6A Series MicroSmart
RJ45 Connector
D-sub 25-pin Connector Pinouts
Pin
Description
1
FG
Frame Ground
2
TXD1
Transmit Data
3
RXD1
Receive Data
7
GND
Ground
Description
Pin
Color
Shield
—
Cover
RXD Receive
Data
White/Orange
1
TXD Transmit
Data Orange
2
DTR Equipment
Ready
White/Green
3
A
Blue
4
B
White/Blue
5
DSR
Data Set Ready
Green
6
NC No
Connection White/Brown
7
SG Signal
Ground Brown
8
Do not connect any wiring to the NC (no connection) pins; otherwise, the FC6A Series MicroSmart and the barcode reader
may not work correctly and may be damaged.
Caution
Communication Parameters:
Baud rate:
9,600 bps
Data bits:
7
Parity check:
Even
Stop bits:
1
Содержание MICROSmart FC6A-C16K1CE
Страница 1: ...B 1730 2 FC6A SERIES All in One Type Communication Manual...
Страница 60: ...3 COMMUNICATION SETTINGS 3 22 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 76: ...4 MAINTENANCE COMMUNICATION 4 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 126: ...5 USER COMMUNICATION INSTRUCTIONS 5 50 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 158: ...6 MODBUS COMMUNICATION 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 200: ...8 J1939 COMMUNICATION 8 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 218: ...10 SEND E MAIL FUNCTION 10 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 252: ...INDEX 4 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 INDEX...