MITSUBISHI MELSEC 1E (Ethernet)

This driver provides a software interface and communication protocol between Xpanel and Mitsubishi MELSEC A or Q Series PLCs.

This protocol uses binary code (as opposed to ASCII). It supports the following families of MELSEC PLC Ethernet modules:

  • 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 device

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

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:

Type

Format

Example

10 (decimal)

[Symbol][Address in decimal number]

D0012

16 (hexadecimal)

[Symbol][Address in hexadecimal number]

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

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

Â