FX0N-232ADP COMMUNICATION ADAPTER
USER'S GUIDE
JY992D51301C
This manual contains text,diagrams and explanations which will guide the reader in the correct installation and operation
of the FX0N-232ADP and should be read and understood before attempting to install or use the unit.
Further information can be found in the FX SERIES PROGRAMMING MANUAL and FX0/FX0N HARDWARE MANUAL.
INTRODUCTION
●
The FX0N-232ADP type RS232C adapter (hereinafter called 232ADP)
is connected to the FX0N series PC to exchange serial data with a
personal computer, barcode reader, printer, and other various
RS232C devices.
●
Only one 232ADP unit can be connected to one base unit to the serial
port provided at the left side.
●
The buffer size and location are specified by an RS instruction in the PC.
Transmit and/or receive
RS232C device
EXTERNAL DIMENSIONS
2-φ4.5
(0.18)
90
(3.54)
80±0.2
(0.16)
(3.15±0.01)
4
1
FX0N-232ADP
POWER
RD
SD
43
(1.69)
• DIN rail width : 35 Weight : approx.0.1 kg (0.11 lbs)
All dimensions are in mm (inch)
23
4
5
6
68
(2.68)
①
MOUNTING HOLE
②
POWER LED
Lit up by the DC 5 V power supplied from the base unit.
③
RD-LED
Lit when receiving data from the RS232C device
connected to the product.
④
SD-LED
Lit when transmitting data to the RS232C device
connected to the product.
⑤
Connection cable
Used for connection with FX0N PC.
⑥
RS232C connector
Used for connection between the product and RS232C
device.
TERMINAL LAYOUTS
The connector is a 25-pin D-SUB type, and the pin configuration is as shown below.
Pin No. Function
Pins 4, 5 are not used.Short-circuited inside.
ER(DTR)Send request (Data Terminal Ready)
NC
SG(Signal Ground)
DR(DSR)Send enable (Data Set Ready)
CS (CTS) Send enable
RS (RTS) Send request
RD (RXD) Receive data
SD (TXD) Send data
NC
1 No connection
2 Send data (232ADP to RS232C device)
3 Receive data (RS232C device to 232ADP)
4 • 5 Not used ; Connected internally
6 Shows RS232C device is ready to receive
7 Signal ground
8 No connection
20
Signal requesting preparation for data
sending to RS232C device.
INSTALLATION NOTES AND USAGE
Performance specification
Transmission standard Conforming to RS232C, 25pin D-SUB, connector used
Isolation method Photo coupler isolation
Transmission distance 15m or less (shielded cable recommended)
Current consumption DC 5V less than 200mA from base unit
M8121:Send wait flag D8120:System configuration
Control flags and
data registers
General specification
Ambient Temperature 0 to 55°C in operation -20 to 70 °C in storage
Ambient Humidity 35 to 85% RH (no condensation) in operation
Vibration Resistance Conforming to JIS C 0911, 10 to 55Hz 0.5mm (max.2G),2 hours each in 3 axial
Impact Resistance Conforming to JIS C 0912, 10 G three times each in 3 axial directions
Operating Ambience Free from corrosive gas or excessive dust
M8122:Send flag D8122:Remainder of send data
M8123:Receive completion D8123:Amount of received data
M8161:8 bits/16 bits changeover D8124:Header byte
D8125:Terminator byte
●
For data transmission to be effective it is necessary to match the communication format between the product and the
RS232C device, such as Baud rate and parity.
Communication format D8120 (bit mapping)
Bit Description 0(OFF) 1(ON)
b 0 Data length 7bit 8bit
b 1
b 2
b 3 Stop 1bit 2bit
b 4
b 5
b 6
b 7
●
The communication format is set by special data register D8120.
Parity
Baud rate
(bps)
(00) : None
(01) : Odd
(11) : Even
(0011) : 300
(0100) : 600
(0101) : 1,200
(0110) : 2,400
(0111) : 4,800
(1000) : 9,600
(1001) : 19,200
Bit Description 0(OFF) 1(ON)
b 8 Header None D8124 *1
b 9 Terminator None D8125 *2
b10 Control line None H/W
b11
b12
b13
b14
b15
Mode
(Control line)
Not used - - - - - -
Ordinary
mode
Single line
mode
*1 The default value is STX (02H: changeable).
*2 The default value is ETX (03H: changeable).
Setting the communication format using D8120 is effective only at the time the RS instruction is driven, and therefore
any change after driving is not actually accepted.
●
An example of setting D8120 is shown below.
M8002
Setting input
b15
[MOV H138F
H138F= 0001 0011 1000 1111(binary)
The settings for the above program are as right.
●
The control line is set by b10.
D8120]
b0
Data length 8 bit
Parity Even
Stop 2 bit
Baud rate 9,600
Header Used
Terminator Used
Control line H/W
Mode Ordinary mode
b10 = 0 :No hardware handshaking.Send and receive are controlled by software protocol.
b10 = 1 :Hardware handshaking.Signal lines ER(DTR)and DR(DSR)are used to control send and receive of data.
b 10 1
b 11 0
H/W.
Ordinary
mode
When sending
Pin No.
SD(TXD)
ER(DTR)
DR(DSR)
Send
Data
When receiving
Pin No.
RD(RXD)
ER(DTR)
DR(DSR)
Receive
Data
b 10 1
b 11 1
H/W.
Single line
mode
Pin No.
SD(TXD)
RD(RXD)
ER(DTR)
Send
Data
Receive
Data