


USER'S GUIDE
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.


G 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.
G Only one 232ADP unit can be connected to one base unit to the serial
G The buffer size and location are specified by an RS instruction in the PC.
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.

(1.69)
The connector is a 25-pin D-SUB type, and the pin configuration is as shown below.

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

Performance specification · General specification

G 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)


*1 The default value is STX (02H: changeable). *2 The default value is ETX (03H: changeable).
G The communication format is set by special data register D8120.
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.
G An example of setting D8120 is shown below.

D8120]
H138F= 0001 0011 1000 1111(binary) The settings for the above program are as right.
G The control line is set by b10.
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.

H/W. Ordinary mode
DR(DSR)
Pin No.

H/W. Single line mode
ER(DTR)
Setting input · b15 b0 · When sending

G The connections of RS232C devices varies with each device being used.
Check the specification of the device, and connect. Connection examples
G Terminal specification device G Modem specification device
When RS232C device uses pins 4,5 RS232C
When RS232C device uses pins 6,20
When RS232C device uses pins 4,5 RS232C
When RS232C device uses pins 6,20
232ADP
232ADP RS232C
232ADP




G Connecting 232ADP and a printer,and printing out the data sent from the PC.
FX0N series sequencer
Common pin out for printer communication
G The communication format of the serial printer is as follows.
G In this example, CR (H000D) and LF (H000A) are written at the end of the message.The printer moves down one line for each message. CR: Carriage Return LF: Line Feed
Turn on the power of the PC and printer, check the printer is on line and switch the PC to RUN.
Turn on X000, and drive RS instruction.
Every time X001 is turned on, the contents of D200 to D210 are sent to the printer, and "test line" is printed.

G Connect 232ADP and a personal computer,and exchange data with the PC.
G Use ordinary communication software (terminal emulator) or dedicated program in the personal computer.

The communication format of the PC for this example is as follows.

G Use the communication cable suited to the connector pin configuration of the personal computer. (For representative wiring see section 4.)
If the communication format of the software cannot be adjusted to this setting, adjust the PC and the software to be the same.
Preparation of software · Personal computer



Turn on the power of the PC and printer, check the printer is on line and switch the PC to RUN.
Every time X001 is turned on, the contents of D200 to D210 are sent to the personal computer, and "test data" is displayed.
After receiving and storing data from personal computer in D211, it is output to Y000 to Y017. When input X002 is turned on, the receive completion flag is reset.
Sequence program


G If data transfer does not perform correctly when using
G If sending and receiving using these programs is
the 232ADP, check the operation using the following programs.
successful, it is considered that the operation failure was due to sequence program or communication protocol error.
to the external device to be used. G Header and terminator are not attached.
G If not operating normally when using these programs,
eliminate the cause using the flow diagrams shown following.
* Write the data to be sent to D 0 to D 19 before operating.

Is M8063 turned on?
once.
No send or receive error
No send or receive error
Only receiving fails to operate
NO
Is send wait flag M8121
NO
Is SD LED (send) lit up momentarily?
Is the send data remainder

Is RD LED (receive) lit?
Is M8123 turned on? No receive completion
All data is received?
NO
Are the contents of receive data unintelligible?
NO
[ When M8123 is reset, the PC returns to the wait state. ]
Receive completion · (Monitoring D8123) · Normal

HEAD OFFICE:MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 TELEX:J24532 CABLE MELCO TOKYO HIMEJI WORKS:840, CHIYODA CHO, HIMEJI, JAPAN
Effective JUN.1996 Specifications are subject to change without notice.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.