This driver provides a software interface and communication protocol between Xpanel and Mitsubishi MELSEC Q Series PLCs.
This protocol uses ASCII code (as opposed to binary code). It supports the following families of MELSEC PLC Ethernet modules:
QJ71E71
QJ71E71-B2
Communication Setup: Xpanel
Create a new device | To create a new device, select [Tools] → [I/O Devices] or click the 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 device type
| After selecting the [Ok] button in the previous step, the ‘Ethernet Communication Configuration’ dialog box will appear as shown in the following picture: In this window, set the ‘Device Type’ to ‘MITSUBISHI MELSEC 3E (ASCII)’ and configure the remaining Ethernet communication parameters. See the Communication Configuration section for more information. Note: The ASCII MELSEC driver only uses the TCP/IP protocol. Do not choose the UDP protocol in the above dialog box. |
Create a station | Move to the [Station] tab of the ‘Ethernet 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 database window, accompanied by the ‘Device Name’. Station Type: Choose ‘MELSEC’ (this is the only available option). IP Address: Give the IP address of the PLC in dotted decimal format (e.g. “1.2.3.4“). Socket Port Number: Give the port number used by the PLC. See the Communication Configuration section for more information about the remaining parameters. |
Address Notation
Device tag addresses used within Xpanel should have the following format:
Notation (Base) | Format | Example |
10 (decimal) | [Symbol][Address in decimal format] | D0012 |
16 (hexadecimal) | [Symbol][Address in hexadecimal format] | X01FC |
The following table lists the devices which can be referenced within the Xpanel database:
Symbol | Memory Area | I/O Address Range | Notation | Bit/Word |
X | Input Relay | X000000-X001FFF | 16 | Bit |
Y | Output Relay | Y000000-Y001FFF | 16 | Bit |
M | Internal Relay | M000000-M008191 | 10 | Bit |
M009000-M009255 | 10 | Bit | ||
L | Latch Relay | L000000-L008191 | 10 | Bit |
S | Step Relay | S000000-S008191 | 10 | Bit |
B | Link Relay | B000000-B001FFF | 16 | Bit |
F | Annunciator | F000000-F002047 | 10 | Bit |
TS | Timer Contact | TS00000-TS02047 | 10 | Word |
TC | Timer Coil | TC00000-TC02047 | 10 | Word |
TN | Timer Current Value | TN00000-TN02047 | 10 | Word |
SS | Retentive Timer Contact | SS00000-SS02047 | 10 | Word |
SC | Retentive Timer Coil | SC00000-SC02047 | 10 | Word |
SN | Retentive Timer Current Value | SN00000-SN02047 | 10 | Word |
CS | Counter Contact | CS00000-CS01023 | 10 | Word |
CC | Counter Coil | CC00000-CC01023 | 10 | Word |
CN | Counter Current Value | CN00000-CN01023 | 10 | Word |
D | Data Register | D000000-D08191 | 10 | Word |
D | D9000-D9255 | 10 | Word | |
W | Link Register | W000000-W001FFF | 16 | Word |
R | File Register | R000000-R008191 | 10 | Word |
Communication Cable Wiring
Connect through the Ethernet HUB | |
Direct Connection |