This driver supports communication with MELSEC-FX series PLCs through an RS-232C/422A port.
This driver is uses the ‘dedicated protocol’ dedicated protocol for the FX series and uses the ‘control control protocol format 1’1.
Communication Setup: Xpanel
Create a new device | To create a new device, select ‘Tools’ → ’I/O Devices’ or click the I/O Device Name: Give a device name. This name will be used in the tag database, accompanied by the ‘Station Name’. |
Select a device type | After selecting the ‘OK’ button in the previous step, the ‘Serial Communication Configuration’ dialog box will appear as shown in the following picture: In this window, set the ‘Device Type’ to ‘MITSUBISHI Melsec FX’ and configure the remaining serial communication parameters. Ensure that these parameters are matched with the PLC configuration. |
Create a station | Move to the ‘Station’ tab of the ‘Serial Communication Configuration’ dialog box. In this dialog box, connected PLC stations can be configured and registered to the Xpanel |
...
. Each field can be configured with the following rules: Station Name: Give a name to the PLC. This name will be used in the tag database, accompanied by the ‘Device Name’. Station Type: Choose the type of connected PLC (“FX“ is the only available option). Network ID: N/A Station No: Specify a decimal number between 0 and 15. This number must be matched with the number in the special data register D8121 of the FX PLC. 16-Bit Data Swap: N/A 32-Bit Data Swap: N/A String Data Swap: N/A Using Checksum: This field has no effect. This communication driver always uses a checksum. Comm. Error Message Pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds. |
Communication Setup: MELSEC FX PLC
Configuration on the PLC side is performed using the ‘GX Developer’ application.
For normal communication with Xpanel, the following parameters must be set as shown:
Protocol | Dedicated Protocol |
Format | Protocol Format 1 |
Sum Check | Enable |
Address Notation
Memory | CPU | Format | Bit/Word | |||
FX0n | FX,FX2c | FX2n | ||||
Input | X | X0000-X0177 | X0000-X0337 | X0000-X0267 | Octal | Bit |
Output | Y | Y0000-Y0177 | Y0000-Y0337 | Y0000-Y0267 | Octal | Bit |
Aux Relay | M | M0000-M0511 | M0000-M1535 | M0000-M3071 | Decimal | Bit |
Special Relay | M | M8000-M8254 | M8000-M8255 | M8000-M8255 | Decimal | Bit |
Status Relay | S | S0000-S0127 | S0000-S0999 | S0000-S0999 | Decimal | Bit |
Data Register | D | D0000-D8255 | D0000-D8255 | D0000-D8255 | Decimal | Word |
Timer | TN | TN000-TN063 | TN000-TN255 | TN000-TN255 | Decimal | Word |
Counter | CN | CN000-CN254 | CN000-CN255 | CN000-CN255 | Decimal | Word |
Wiring Diagram
RS-232C |
|
RS-422 | |
RS-485 |