Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

Communication Setup: Xpanel

Create a new Setup

To create a new device, select ‘Tools’ → ’I/O 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’ 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

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 ‘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 seconds.

Address Notation

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

Symbol

Memory

Analog Tag

Digital Tag

Format

Data

10GM

20GM

10GM

20GM

M

Aux Relay

-

-

M000-M511

M000-M511

Dec

Bit

SM

Special Relay

-

-

SM0000-SM0175

SM0000-SM0175

Dec

Bit

X

Input

-

-

X000-X003

X375-X377

X000-X067

X372-X377

Oct

Bit

Y

Output

-

-

Y000-Y005

Y000-Y067

Oct

Bit

D

Data Register

D000-D1999

D000-D3999

-

-

Dec

Word

SD

Special data register

SD000-SD0313

SD000-SD0599

-

-

Dec

Word

V

-

V000-V007

V000-V007

-

-

Dec

Word

Z

-

Z000-Z007

Z000-Z007

-

-

Dec

Dword

  • 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

  • No labels