Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Mitsubishi FX Series PLC Data Communication Practical Manual

F: | Au:FANS | DA:2026-06-23 | 915 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

5. Non protocol communication (RS/RS2 instructions)

Non protocol communication is the most common data exchange method, allowing PLC to freely format data transmission and reception with any device with RS-232C/RS-485 interface (such as printers, barcode scanners, instruments).

The RS instruction (applicable to all FX series) supports half duplex communication, with a maximum data length of 256 bytes (early models) or 4096 bytes (FX2N/FX3 series). By switching between 16 bit/8-bit processing modes through M8161, D8124 and D8125 respectively define the header and terminator.

The RS2 instruction (only applicable to FX3S/FX3G/FX3GC/FX3U/FX3UC) has more powerful functions:

Supports headers and terminators of up to 4 bytes

Automatic calculation and checksum

Can specify communication channel (ch0/ch1/ch2)

Support full duplex communication

The maximum data length is 4096 bytes

The communication format of the RS2 instruction is set by D8370 (ch0), D8400 (ch1), or D8420 (ch2), and the header and terminator are stored in registers such as D8380~D8381 and D8382~D8383 (ch0), respectively. By setting M8372/M8402/M8422 (send request) and M8373/M8403/M8423 (receive completion flag), reliable data transmission and reception control can be achieved.

6. Programming communication and remote maintenance

Programming communication allows programming software (GX Works2, GX Developer) to be connected through standard RS-422 ports, USB ports, or Ethernet adapters for online monitoring, program upload/download, and debugging. Remote maintenance utilizes modems and telephone lines (or cellular networks) to achieve remote access to PLCs from different locations. In the FX3 series, the initialization settings of the modem can be simplified through the "PP modem mode (CH1/CH2)", without the need for users to input AT commands themselves.

System configuration and hardware selection

Proper selection of communication equipment is the foundation for stable system operation. The following table summarizes the available communication extension modules for each FX series:

Communication interface supports models and typical distances

RS-232C FX3U-232-BD, FX3G-232-BD, FX2N-232-BD, FX3U-232ADP(-MB), FX2NC-232ADP 15 rice

RS-485 FX3U-485-BD, FX3G-485-BD(-RJ), FX2N-485-BD, FX3U-485ADP(-MB), FX2NC-485ADP 50 Meter (BD)/500m (ADP)

RS-422 FX3U-422-BD, FX3G-422-BD, FX2N-422-BD 50 meters

USB FX3U-USB-BD (or standard built-in USB port) 5 meters

Ethernet FX3U-ENET-ADP 100 meters (segment length)

When using multiple communication channels (FX3G/FX3U/FX3UC can support ch1 and ch2), attention should be paid to the limitations of functional combinations. For example, when ch1 sets parallel links, ch2 cannot set N: N networks; But when setting up the computer link in ch1, ch2 can set the N: N network.


Communication parameter setting method

The communication parameters of FX series PLC can be set in two ways:

1. Parameter method (recommended)

In GX Works2, open the [Parameters] → [PLC Parameters] → [PLC System (2)] tab, check the "Run Communication Settings", and then configure the protocol type, data length, parity check, stop bit, baud rate, and header/terminator. This method is applicable to computer links, frequency converter communication, and non protocol communication. For N: N networks and parallel links, do not check 'Run Communication Settings', but configure them through special registers in the program.

2. Procedural Law

Write the set value to a special data register (D8120, D8400, D8420, etc.) using the MOV instruction. For example, setting the RS instruction communication format to "8-bit data, even parity, 1 stop bit, 9600bps, no header/terminator" can execute MOV H0086 D8120. The programming method needs to take effect after the PLC is powered on or when the mode is switched, and its priority is lower than the parameter method.


Troubleshooting Guide

Communication failures typically originate from the following aspects:

1. LED indicator status

SD/RD flashing: normal data transmission and reception

SD flashing, RD constantly off: only sending without receiving a response, check the slave address and wiring

RD flashing, SD constantly off: only receiving but not sending, check the send request flag

All out: No physical connection established, check power supply, cables, and terminal resistance

2. N: N Network Common Error Codes

Direction for troubleshooting the meaning of error codes

01H monitoring timeout, slave station not responding, check wiring and power supply

02H station number error. Duplicate station number or non consecutive number

03H counter error communication data abnormality, check for line noise

04H message format error, invalid data returned from the station

11H main station timeout. The main station did not poll on time. Check the scanning cycle of the main station

3. Parallel link error code

6312/3812: Character error

6313/3813: Checksum error

6314/3814: Format error

4. Computer link error (NAK response)

02H: checksum error

03H: Protocol error (command or format mismatch)

06H: Character area error (illegal device address)

0AH: PLC number error (should be fixed as FFH)

  • ALSTOM 029.204 687 Digital I/O VME Board
  • National Instruments PXI-6509 Digital I/O Module
  • National Instruments FP-AI-112 Analog Input Module
  • National Instruments cRIO-9065 CompactRIO Controller
  • National Instruments PXI-2570 SPDT Relay Module
  • National Instruments PXI-5610 Module
  • National Instruments cFP-RTD-122 Module
  • National Instruments PXI-8336 Module
  • National Instruments NI 9237 Module
  • National Instruments PCI-6224 DAQ Card
  • National Instruments USB-6218 DAQ Device
  • National Instruments PCI-6601 Device
  • National Instruments SCXI-1124 Module
  • National Instruments USB-6525 DIO Device
  • National Instruments cDAQ-9189 Chassis
  • National Instruments PXIe-8394 MXI Module
  • National Instruments PXIe-4112 Power Supply
  • National Instruments 778472-01 Module
  • National Instruments cFP-DO-401 Module
  • National Instruments PXIe-8379 Interface Card
  • National Instruments PXIe-7965R Module
  • National Instruments NI-9485 Relay Module
  • National Instruments 181045-01 Module
  • National Instruments TB-4302 Terminal Block
  • National Instruments PXI-2533 Matrix Switch Module
  • National Instruments PCI-6220 Analog Input Card
  • National Instruments PXI-2529 Matrix Switch Module
  • National Instruments 783732-01 Ordering Part Number
  • National Instruments PXI-6542 Digital Waveform Module
  • National Instruments PCI-1411 Image Acquisition Card
  • National Instruments PXI-6511 Industrial Digital I/O Module
  • National Instruments TPC-2012 Touch Panel Computer
  • National Instruments PXI-8101 Embedded Controller
  • National Instruments cRIO-9035 CompactRIO Controller
  • National Instruments PXIe-5114 Digitizer Card
  • National Instruments SCXI-1315 Block
  • National Instruments PXI-7842R Card
  • National Instruments PCI-6031E DAQ Device
  • National Instruments NI-9792 Gateway
  • National Instruments PXI-4132 SMU
  • National Instruments USB-5132 Digitizer
  • National Instruments NI 9244 Input Module
  • National Instruments SCXI-1163R Module
  • National Instruments PCI-6221 DAQ Device
  • National Instruments cFP-2120 Compact FieldPoint Controller
  • National Instruments cRIO-9073 CompactRIO Controller
  • National Instruments PCI-8516 CAN Interface Card
  • National Instruments PXIe-1073 5-Slot Chassis
  • National Instruments NI 9421 DSUB Digital Input Module
  • National Instruments PXI-4204 High Voltage Input Module
  • National Instruments PCI-6111 Multifunction DAQ Card
  • National Instruments cRIO-9035 CompactRIO Controller
  • National Instruments NI 9759 Powertrain Control Module
  • National Instruments 187254A-01 Ordering Part Number
  • National Instruments PXI-6624 Module
  • National Instruments cDAQ-9137 Chassis
  • National Instruments PXIe-8133 Controller
  • National Instruments 779139-01 Module
  • National Instruments FP-DI-301 Module
  • National Instruments 194021D-01L Module
  • National Instruments PXI-1000B Chassis
  • National Instruments PXIe-8510 Module
  • National Instruments PXI-6221 DAQ Card
  • National Instruments cDAQ-9188 Chassis
  • National Instruments PXI-5421 Arbitrary Waveform Generator
  • National Instruments cRIO-9023 CompactRIO Controller
  • National Instruments PCI-6221 Multifunction DAQ Card
  • National Instruments PXI-4065 Digital Multimeter Card
  • National Instruments NI 9477 Digital Output Module
  • National Instruments cDAQ-9185 TSN Ethernet Chassis
  • National Instruments NI 9147 4-Slot cRIO Chassis
  • National Instruments USB-6259 Mass Termination DAQ Device
  • National Instruments 184120F-01 Ordering Part Number
  • National Instruments PCI-4472B Sound and Vibration Module
  • National Instruments SCXI-1130 Switch
  • National Instruments VB-8012 VirtualBench
  • National Instruments PXI-7350 Controller
  • National Instruments eDAQ-9174 Chassis
  • National Instruments PXI-4461 DSA Module
  • National Instruments PCI-6280 DAQ Card
  • National Instruments PXI-6251 DAQ Card
  • National Instruments PXI-6653 Module
  • National Instruments PCI-6509 DIO Device
  • National Instruments NI 9751 Driver Module
  • National Instruments PXIe-6361 Multifunction I/O Module
  • National Instruments cRIO-9014 CompactRIO Controller
  • National Instruments PCI-7390 Motion Control Card
  • National Instruments PXI-8512 CAN Interface Module
  • National Instruments sbRIO-9636 Single-Board Controller
  • National Instruments IC-3120 Industrial Controller
  • National Instruments PCI-6220 M Series DAQ Card
  • National Instruments PXI-8176 Embedded Controller
  • National Instruments PXI-6132 S Series DAQ Module
  • National Instruments NI 9206 Analog Input Module
  • National Instruments PXI-2584 Switch Module
  • National Instruments 196541B-01L Module
  • National Instruments 778075-01 Module
  • National Instruments FP-RLY-420 Module
  • National Instruments USRP-2920 Radio
  • National Instruments PCIe-6351 DAQ Card
  • National Instruments cRIO-9040 Controller
  • National Instruments NI 9201 Input Module
  • National Instruments NI 9411 Input Module
  • National Instruments NI 9216 Input Module
  • National Instruments PCI-6221 DAQ Device
  • National Instruments PXI-4498 DSA Module
  • National Instruments PXI-6259 DAQ Card
  • National Instruments PXI-7354 Motion Controller
  • National Instruments FP-AI-110 Input Module
  • National Instruments 192172F-04L Module
  • National Instruments PXIe-8115 Controller
  • National Instruments 142931B-01L Module
  • National Instruments PXI-2503 Switch Module
  • National Instruments 776246-01 Module
  • National Instruments CFP-2110 Compact FieldPoint Controller
  • National Instruments 779429-01 Ordering Part Number
  • National Instruments NI-9149 8-Slot EtherCAT Chassis
  • National Instruments PXI-4110 Programmable DC Supply
  • National Instruments 192061-10 Ordering Part Number
  • National Instruments cDAQ-9181 Chassis Module Carrier
  • National Instruments NI 9437 Digital Input Module
  • National Instruments cFP-2020 Compact FieldPoint Controller
  • National Instruments PCI-6259 Multifunction DAQ Card
  • National Instruments FP-TC-120 Thermocouple Module
  • National Instruments NI-9174 CompactDAQ Chassis
  • National Instruments PXI-6030E DAQ Module
  • National Instruments PXIe-5160 Oscilloscope
  • National Instruments PXI-4462 DSA Module