Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This driver provides a software interface and communication protocol between XPanel Xpanel and Melsec FX2N-10/20GM PLCs.

Communication Setup: Xpanel

Create a new Setupdevice

To create a new device, select ‘Tools’ → ’I[Tools] → [I/O Devices’ Devices] or click the (blue star) icon in the toolbar. The following picture shows the first step in creating a new device:

I/O Device Name: Give a device name. This name will be used in the tag database, accompanied by the ‘Station Name’.

Select a network type

 

After selecting the ‘OK’ [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 FX2N-10/20GM Loader’ and configure the remaining communication parameters. These parameters must be matched with the PLC.

The communication parameters should be configured with the following values:

Baud Rate: 9600

Parity: Even

Data Bits: 8 Bits

Stop Bits: 1Bits

RTS/CTS: OFF

Comm. Type: RS422

See the Communication Configuration section for more information about the remaining parameters.

Create a station

Move to the ‘Station’ [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 ‘FX2N-10/20GM’ (this 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 PLC configuration.

16-Bit Data Swap: N/A

32-Bit Data Swap: N/A

Using Checksum: N/A

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 secondsSee the Communication Configuration section for more information about the remaining parameters.

Address Notation

The following table lists the devices which can be referenced within the Xpanel database:

...

  • Note: SM addresses begin in the M register at the address M9000. Likewise, SD addresses begin in the D register at the address D9000. For example, the address SD0003 corresponds to PLC address D9003.

Communication Cable Wiring

...