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 supports communication with MITSUBISHI MELSEC-A Series PLCs through the programming port (loader port).

Communication Setup: Xpanel

Create a new Device

 

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 device 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 A Loader’ and configure the remaining serial communication parameters. Make sure the following parameters match those shown in the image above, as these values are required for this protocol to work correctly.

Baud Rate: 9,600

Parity: Odd

Data Bits: 8 Bits

Stop Bits: 1 Bit

Comm. Type: RS232

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 station can be configured using the following parameters:

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 the type of connected PLC CPU. One of three CPUs can be chosen (AnS, AnA, AnU).

Network ID: N/A

Station No: N/A

16-Bit Data Swap: N/A

32-Bit Data Swap: N/A

String 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

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

CPU

Notation

Bit/Word

X

Input Relay

X0000-X07FF

16

Bit

Y

Output Relay

Y0000-Y07FF

16

Bit

M

Internal Relay

M0000-M8191

10

Bit

M9000-M9255

10

Bit

L

Latch Relay

L0000-L8191

10

Bit

B

Link Relay

B0000-B1FFF

16

Bit

F

Annunciator

F0000-F2047

10

Bit

TS

Timer Contact

TS0000-TS2047

10

Bit

TC

Timer Coil

TC0000-TC2047

10

Bit

TN

Timer Current Value

TN0000-TN2047

10

Word

CS

Counter Contact

CS0000-CS1023

10

Bit

CC

Counter Coil

CC0000-CC1023

10

Bit

CN

Counter Current Value

CN0000-CN1023

10

Word

D

Data Register

D0000-D8191

10

Word

D9000-D9255

10

Word

W

Link Register

W0000-W1FFF

16

Word

R

File Register

R0000-R8191

16

Word

Wiring Diagram

Note: Use the standard programming tool cable supplied by the PLC manufacturer or their partner company. Please refer to the GX Developer operating manual for more information about the cable/converter. This driver cannot communicate using a commonly used RS232C or RS422/485 cable.

XPANEL COM/CPM2 RS232C

XPANEL COM1 RS422/485

       

  • No labels