ADVANCED AND EVER ADVANCING MITSUBISHI ELECTRIC PROGRAMMABLE CONTROLLERS FX-232ADP COMMUNICATION ADAPTER USER'S GUIDE JY992D48801B This manual contains text,diagrams and explanations which will guide the reader in the correct installation and operation of the FX-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 FX SERIES HARDWARE MANUAL.
INTRODUCTION ● ● The FX-232ADP type RS232C adapter (hereinafter called 232ADP) is connected to the FX(V3.07 or later),FX2C series PC to exchange serial data with a personal computer, barcode reader, printer, and other various RS232C devices. POWER SG L N COM 24+ COM RUN RD SD POWER RUN BATT¥V PROG E CPU E Only one 232ADP unit can be connected to one base unit to the serial port provided at the left side.
INSTALLATION NOTES AND USAGE Performance specification Transmission standard Isolation method Transmission distance Current consumption Related flag and data registers Conforming to RS232C, 25pin D-SUB, connector used Photo coupler isolation 15m or less (shielded cable recommended) DC 5V 200mA form base unit M8121:Send wait flag D8120:Communication format M8122:Send flag D8122:Remainder of send data M8123:Receive completion D8123:Number of received data M8124:Carrier detection D8124:Header byte M8161:8 bit
● 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.
PROGRAM EXAMPLES ● Connecting 232ADP and a printer,and printing out the data sent from the PC. Common pin out for printer communication FX, FX2C series PC POWER SG L N COM 24+ COM RUN RD SD Send • Receive data ● POWER RUN BATT¥V PROG E CPU E • Send data The communication format of the serial printer is as follows.
● Connect 232ADP and a personal computer,and exchange data with the PC. Preparation of software Personal computer FX,FX2C series PC Send POWER SG L N COM 24+ COM RUN RD SD POWER RUN BATT¥V ● Use ordinary communication software (terminal emulator) or dedicated program in the personal computer. PROG E CPU E The communication format of the PC for this example is as follows.
Sequence program 0 3 9 19 22 M8000 M8002 X000 X001 M0 M8161 [ MOV H0067 D8120 ] [ RS D200 K11 D500 K1 ] … Handled by 8-bit data ① … Setting of communication format ② … RS instruction drive ③ [ PLS M0 ] [ MOV H0074 D200 ] [ MOV H0065 D201 ] Writing of send data ④ Herein, "test line" is sent.
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 M8002 M8002 [ MOV H**** D8120 ] ● M8000 [ MOV H**** D8120 ] 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 VRRD VRSC instruction used? YES • Eliminate VRRD. VRSC instruction and reset power source. YES • Reset M8070, M8071, and reset power source. NO Are M8070, M8071 turned on? } Note: Only one of the following devices can be connected to the communications port on the left of the PC: FX-8AV, FX2-40AW, FX2-40AP, FX-232ADP.
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 FX-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 FX-232ADP always consult a professional electrical engineer who is qualified and trained to the local and national standards.