This driver provides a software interface and communication protocol between XPanel Xpanel and Mitsubishi MELSEC A or Q Series PLCs.
...
AJ71E71
This communication module can be used to access data from ACPU models.
QJ71E71, QJ71E71-B2
These communication modules can be used to access data from QCPU and QnACPU models.
Communication Setup: Xpanel
Create a new Devicedevice | To create a new device, select ‘Tools’ → ’I[Tools] → [I/O Devices’ Devices] or click the icon in the main 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’ [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 1E’ and configure the remaining Ethernet communication parameters. See the Communication Configuration section for more information. |
Create a station | Move to the ‘Station’ [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 tag database, accompanied by the ‘Device Name’ Station Type: Choose ‘MELSEC’ (this is the only available option). Network ID: N/A 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. The default value of this field is 5000. 16-Bit Data Swap: N/A 32-Bit Data Swap: N/A String Data Swap: 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. Fixed ATVXEL Socket Port: When this option is checked, Xpanel will use only one port for connecting with the PLC, as defined in the ‘ATVXEL Socket Port No.” field. Otherwise, Xpanel will dynamically change the port number every time a TCP connection error or other communication error occurs. This option allows Xpanel to deal with various TCP port management options. Some PLC models have a limit on the maximum number of TCP services. In such cases, this option can be helpful. This option is unchecked by default.See the Communication Configuration section for more information about the remaining parameters. |
Address Notation
The addresses of device tags used within Xpanel should have the following format:
...
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 |
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 |
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-D12286 | 10 | Word |
W | Link Register | W000000-W001FFF | 16 | Word |
R | File Register | R000000-R008191 | 10 | Word |
Communication Cable Wiring
Connect through an Ethernet HUB | |
Direct connection |