EasyManuals Logo
Home>IDEC>Controller>OpenNet series

IDEC OpenNet series User Manual

IDEC OpenNet series
427 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #260 background imageLoading...
Page #260 background image
17: USER COMMUNICATION INSTRUCTIONS
OPENNET CONTROLLER USERS MANUAL 17-33
Sample Program – User Communication RXD
This example demonstrates a program to receive data from a barcode reader with a RS232C port using the user communi-
cation 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 OpenNet Controller
through the RS232C port 1 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.
Programming Special Data Register
Setting Communication Selector DIP Switch
Since this example uses the RS232C port 1, turn on communication selector DIP switch 2 to select the user communica-
tion mode. See page 17-2.
Setting Communication Parameters
Set the communication parameters to match those of the barcode reader. See page 17-3. For details of the communication
parameters of the barcode reader, see the user’s manual for the barcode reader. An example is shown below:
Special DR Value Description
D8200 0 RS232C port 1 user communication mode (not modem mode)
Communication Parameters:
Baud rate 9600 bps
Data bits 7
Parity check Even
Stop bits 1
ABG
RS485
COM A B Z
HSC
OUT
+24V 0V
POWER
RUN
ERROR
HSC OUT
123
O
N
DIP
Switch
To RS232C Port
D-sub 25-pin Connector Pinouts
Pin Description
1 FG Frame Ground
2 TXD1 Transmit Data
3 RXD1 Receive Data
7 GND Ground
Barcode Reader
Mini DIN Connector Pinouts
Description Color Pin
Shield Cover
RTS Request to Send Black 1
DTR Data Terminal Ready Yellow 2
TXD Transmit Data Blue 3
RXD Receive Data Green 4
DSR Data Set Ready Brown 5
SG Signal Ground Gray 6
SG Signal Ground Red 7
NC No Connection White 8
To RS232C Port 1
Communication Selector DIP Switch
Set DIP switch 2 to ON to select user com-
munication mode for RS232C port 1.
User Communication Cable 1C
FC2A-KP1C
2.4m (7.87 ft.) long
Attach a proper connector to the open
end of the cable referring to the cable
connector pinouts shown below.
Caution
Do not connect any wiring to the NC (no connection) pins; otherwise, the OpenNet Controller and
the barcode reader may not work correctly and may be damaged.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC OpenNet series and is the answer not in the manual?

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals