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.
INSTALLATION NOTES AND USAGE Performance specification Transmission standard Isolation method Transmission distance Current consumption Control flags and data registers Conforming to RS232C, 25pin D-SUB, connector used Photo coupler isolation 15m or less (shielded cable recommended) DC 5V less than 200mA from base unit M8121:Send wait flag D8120:System configuration M8122:Send flag D8122:Remainder of send data M8123:Receive completion D8123:Amount of received data M8161:8 bits/16 bits changeover D8124:Head
● 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.
WIRING ● The connections of RS232C devices varies with each device being used. Check the specification of the device, and connect. Connection examples ● Terminal specification device When RS232C device When RS232C device uses pins 6,20 uses pins 4,5 232ADP 232ADP RS232C RS232C device device ● Modem specification device When RS232C device When RS232C device uses pins 4,5 uses pins 6,20 232ADP 232ADP RS232C RS232C device device N/A N/A NOTE:The FX0N-232ADP does not monitor the CD pin (pin 8).
PROGRAM EXAMPLES ● Connecting 232ADP and a printer,and printing out the data sent from the PC. Printer FX0N series sequencer Common pin out for printer communication Send • Receive data ● • Send data The communication format of the serial printer is as follows. Data length 8 bit Parity Even Stop bit 2 bit Baud rate 2400bps Sequence program Operation Power on Turn on the power of the PC and printer, check the printer is on line and switch the PC to RUN.
● Connect 232ADP and a personal computer,and exchange data with the PC. Preparation of software Personal computer FX0N series sequencer Send ● 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. Receive • Send data • Receive data ● • Receive data • Send data Use the communication cable suited to the connector pin configuration of the personal computer.
Sequence program Operation Power on Turn on the power of the PC and printer, check the printer is on line and switch the PC to RUN. X000,ON RS instruction drive Turn on X000, and drive RS instruction. X001,ON Data send Personal computer operation Data send 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.
DIAGNOSTICS ● If data transfer does not perform correctly when using the 232ADP, check the operation using the following programs. ● Program when sending ● If sending and receiving using these programs is successful, it is considered that the operation failure was due to sequence program or communication protocol error. ● Program when receiving ] [ ● [ Set the communication format according to the external device to be used.
Start Is power LED lit? NO • Check connection with the PC. • Check power source of PC. YES Is M8063 turned on? No send or receive error NO The data transfer complates once. YES Send, receive error YES Only receiving fails to operate normally YES • Match the communication format. • Check the wiring of control line. • Check the start timing of send, receive. No send or receive error NO • There is a possibility of send crosstalk. Check the send and receive timing with the external RS232C device.
1 Is RD LED (receive) lit? NO • Check wiring of RS232C cable. • Make sure wiring of control line is suited to the external device. • Make sure the external sending device is normal. • Check the voltage level of RS232C signal. YES Is M8123 turned on? NO No receive completion YES Receive completion • Check if receive data length is exceeding the data area length. All data is received? When using terminator • Make sure the external sending device is sending (Monitoring D8123) the terminator.
Guidelines for the safety of the user and protection of the FX0N-232ADP • This manual has been written to be used by trained and competent personnel. This is defined by the European directives for machinery, low voltage and EMC. • If in doubt at any stage during the installation of the FX0N-232ADP always consult a professional electrical engineer who is qualified and trained to the local and national standards.