Mitsubishi

Last modified by Jett on 2025/01/16 09:26

Mitsubishi

FX2N Series

Supported Series: Mitsubishi FX2N series

HMI Settings

ItemSettingsNote
ProtocolMitsubishi FX2N 
ConnectionRS422/RS485/RS232 
Baud rate9600~115200 
Data bit7/8 
ParityEVEN/Odd/None 
Stop bit1/2 
PLC station No.0~255 

Address List

TypeDevice registersFormatRangeNote
BitXXo0~303237 
YY o0~303237 
MM d0~99999 
TT d0~99999 
CC d0~99999 
SS d0~99999 
SMSM d8000~9999 
LampLamp d0~0 
WordXXo0~303237 
YY o0~303237 
MM d0~99999 
TT d0~99999 
CC d0~199 
DD d0~7999 
SS d0~99999 
SDSD d8000~9999 
CHCH d200~255 

PLC Setting:

①PLC Default Parameters:
[Connection type]RS422;[Baud rate]9600, [Data bit]7, [Stop bit]1,[Parity]EVEN; [Station number]0
Note:The serial port parameters should be set depending on field requirements

②PC and PLC connection:

[All connection]→[Connection 1]→[Transfer Setup Connection1]→[Serial USB]→RS-232C: PC and PLC are connected by USB to RS232 adapter,choose corresponding [COM Port]COM 6 →[Transmission speed]9.6Kbps→[setup] →[Parity]EVEN→[Data bits]7→[Stop bits]1→[OK]

1.5.1.png

Connection test:when connection is OK,the GX Works2 prompts “Successfully connected with the FX2N/FX2NCCPU.”

1.5.2.png

Cable Wiring

  • RS485

12.PLC Protocol_html_d4012bdeb4ce4aae.png

12.PLC Protocol_html_4bf57ad8d44eacc4.png

  • RS422

12.PLC Protocol_html_f8a6bebc5792960d.png

✎Note: COM3 only available in PI8000/PI9000 series.

FX3U/3G/3GA Serial

HMI Settings

ItemSettingsNote
ProtocolMitsubishi FX3U/3G/3GA 
ConnectionRS422 
Baud rate9600~115200 
Data bit7/8 
ParityEVEN/Odd/None 
Stop bit1/2 
PLC station No.1~255 

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXXo0~303237 
YYY o0~303237 
MMM d0~99999 
TTT d0~99999 
CCC d0~99999 
SSS d0~99999 
SMSMSM d8000~9999 
WordXXXo0~303237 
YYY o0~303237 
MMM d0~99999 
TTT d0~99999 
CCC d0~199 
DDD d0~7999 
SSS d0~99999 
SDSDSD d8000~9999 

Configure the communication protocol

image-20220831095222-1.png

image-20220831095743-2.png

PLC Setting:

①Open GX Works2, create a new PLC project or open the project that has been created.
Create new project: [Project]→[New]→[Series] FXCPU→[Type] FX3G/FX3GC→[OK].

1.2.png

②PLC Default Parameters:
[Connection type]RS422;[Baud rate]9600, [Data bit]7, [Stop bit]1,[Parity]EVEN; [Station number]0
Note:The serial port parameters should be set depending on field requirements

③PC and PLC connection:

[All connection]→[Connection 1]→[Transfer Setup Connection1]→[Serial USB]→RS-232C: PC and PLC are connected by USB to RS232 adapter,choose corresponding [COM Port]COM 5 →[Transmission speed]9.6Kbps→[setup] →[Parity]EVEN→[Data bits]7→[Stop bits]1→[OK]

1.5.1.png

Connection test:when connection is OK,the GX Works2 prompts “Successfully connected with the FX3G/FX3GCCPU.”

1.5.2.png

Wiring

image-20220831100314-6.png

FX NOPROTOCOL

Mitsubishi FX3G-RS232-BD

HMI Settings

ItemSettingsNote
ProtocolMitsubishi FX NOPROTOCOL 
ConnectionRS232 
Baud rate9600 
Data bit7 
ParityEVEN 
Stop bit1 
PLC station No.0 

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX o0~303237 
YYY o0~303237 
MMM d0~99999 
TTT d0~99999 
CCC d0~99999 
SSS d0~99999 
SMSMSM d8000~9999 
LampLampLamp d0~0 
WordXXX o0~303237 
YYY o0~303237 
MMM d0~99999 
TTT d0~99999 
CCC d0~199 
DDD d0~7999 
SSS d0~99999 
SDSDSD d8000~9999 

Configure the communication protocol

1.png

2.png

Wiring

3.png

FX3U Ethernet

Mitsubishi FX3U series PLC

HMI Settings

ItemsSettingsNote
ProtocolMitsubishi FX3U Ethernet 
ConnectionEthernet 
Port No.5009Must be the same as the PLC setting
PLC station No.0 

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX OOO0~377 
YYY OOO0~377 
MMM DDDD0~7679 
SMSMSM DDDD8000~8511 
SSS DDDD0~4095 
TSTSTS DDD0~511 
CSCSCS DDD0~255 
WordCNCNCN DDD0~199 
TNTNTN DDD0~511 
DDD DDDD0~7999 
SDSDSD DDDD8000~8511 
RRR DDDDD0~32767 

Ethernet Module Settings

FX3U-ENET-L module configuration
 Set up the FX3U-ENET-L Ethernet module settings as follows.
 Select the module location, which in this document is Module 0.

image-20221115140802-1.png

Select "Operational setting" to enter the following screen.

The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default.

image-20221115142728-4.png

Select "Open setting" to enter the setting interface, the settings are as follows.

The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the

Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module.

image-20221115142945-5.png

Click on "transter setup" - "PC side I/F setting", see the following figure.

After setting, the first download must use the programming cable, as shown in the figure; after that, can

use the IP set in the "Ethernet board" to communicate directly with the network cable.

image-20221115143341-6.png

Read and write data from the Ethernet module

image-20221115143703-7.png

Set "Transter setup" to COM communication, and read or write operation as shown below

image-20221115143809-8.png

PLC Settings (GX Works 2)

Create a blank FX5U project

Find Current Connection in the navigation

image-20221115144335-9.png

Select Connection Channel List

Select Ethernet board communication

image-20221115144824-10.png

Select Ethernet Module
 Set the IP address of the PLC

image-20221115145228-11.png

Read or write PLC data, in this document is read

image-20221115145553-12.png

image-20221115145559-13.png

HMI Communication Setting

image-20221115150003-14.png

image-20221115150235-15.png

image-20221115145559-13.png

HMI Communication Setting

image-20221115150003-14.png

image-20221115150235-15.png

FX5U Serial

Mitsubishi FX5U series PLC

HMI Settings

ItemSettingsNote
ProtocolMitsubishi FX5U 
ConnectionRS422/RS485 
Baud rate9600 
Data bit7 
ParityOdd 
Stop bit1 
PLC station No.0~255Need to be the same as PLC settings

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX o0~1777 
YYY o0~1777 
MMM d0~32767 
BBB h0~7FFF 
FFF d0~32767 
SBSBSB h0~7FFF 
TSTSTS d0~1023 
TCTCTC d0~1023 
STSSTSSTS d0~1023 
STCSTCSTS d0~1023 
CSCSCS d0~1023 
CCCCCC d0~1023 
SMSMSM d0~9999 
LLL d0~32767 
SSS d0~4095 
WordWWW h0~3FF 
TNTNTN d0~1023 
STNSTNSTN d0~1023 
CNCNCN d0~1023 
RRR d0~32767 
SWSWSW h0~7FFF 
ZZZ d0~23 
DDD d0~7999 
SDSDSD d0~11999 

PLC Settings (GX Works 3)

Create a blank FX5U project

Find the 485 serial port module in the system navigation bar and double click to enter the settings.

12.PLC Protocol_html_5c9cb13fac1e6c93.png

Select protocol in the setting item, and set parameters.

12.PLC Protocol_html_de942589ca070228.png

Set station number, and [Message Pattern] (Pattern 1 or Pattern 4)

12.PLC Protocol_html_387ec7d00b5feb59.png

Click the [Apply] button to finish the setting.

Click download and select the items as below, then click [execute] to download the configuration to PLC.

12.PLC Protocol_html_cdef1c5ec8cc2105.png

 As soon as download is completed, connect PLC with serial port, then configure it in the [Specify Connection Destination Connection].

Done.

Cable Wiring

  • RS485

12.PLC Protocol_html_d4012bdeb4ce4aae.png

12.PLC Protocol_html_4bf57ad8d44eacc4.png

  • RS422

12.PLC Protocol_html_f8a6bebc5792960d.png

RS422.png

✎Note: COM3 only available in PI8000/PI9000 series.

FX5U Ethernet

Mitsubishi FX5U series PLC

HMI Settings

ItemsSettingsNote
ProtocolMITSUBISHI FX5U Ethernet 
ConnectionEthernet 
Port No.5002Must be the same as the PLC setting
PLC station No.0Must be the same as the PLC setting

Address List

TypeDevice registersFormatRangeNote
BitXX o0~1777 
YY o0~1777 
MM d0~32767 
BB h0~7FFF 
FF d0~32767 
SBSB h0~7FFF 
TSTS d0~1023 
TCTC d0~1023 
STSSTS d0~1023 
STCSTS d0~1023 
CSCS d0~1023 
CCCC d0~1023 
SMSM d0~9999 
LL d0~32767 
SS d0~4095 
WordWW h0~3FF 
TNTN d0~1023 
STNSTN d0~1023 
CNCN d0~1023 
RR d0~32767 
SWSW h0~7FFF 
ZZ d0~23 
DD d0~7999 
SDSD d0~11999 

PLC Settings (GX Works 3)

PLC Default Parameters:
①[Navigation]→[Parameter]→[FX5UCPU]→[Module Parameter]→[Ethernet Port]:[Basic Settings]→ [Own node settings]:[IP Address]192.168.40.11, [Subnet Mask]255.255.255.0, [Default Gateway]192.168.40.1,[ Communication Data Code] Binary.

1.3.1.png

②[External Device Configuration]→[Detailed Settings]→[Ethernet Configuration(Built-in Ethernet Port)]→[Ethernet Device (General)]→[SLMP Connection Module] Drag under Host for Connection No.1→[Port No.]5002→[Close with Reflecting the Setting]

1.3.2.png

Note:The serial port parameters should be set depending on field requirements

Cable Wiring

xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png

L02 CPU Port

Mitsubishi L02 series CPU built-in serial port.

HMI Settings

ItemSettingsNote
ProtocolMitsubishi L02 CPU Port 
ConnectionRS422 
Baud rate115200 
Data bit8 
ParityOdd 
Stop bit1 
PLC station No.1~255Need to be the same as PLC settings

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX h0~FFFF 
BitYYY h0~FFFF 
BitMMM d0~9999 
BitLLL d0~9999 
BitFFF d0~9999 
BitBBB h0~FFFF 
BitVVV d0~2047 
BitTCTCTC d0~9999 
BitSSSSSS d0~9999 
BitSCSCSC d0~9999 
BitCSCSCS d0~9999 
BitCCCCCC d0~9999 
BitSBSBSB h0~FFFF 
BitSMSMSM d0~2047 
BitSTSSTSSTS d0~1023 
BitSSS d0~9999 
BitDXDXDX h0~FFFF 
BitDYDYDY h0~FFFF 
BitTSTSTS d0~9999 
BitDbitDbitDbit d.d0~99999.0~15 
WordWWW h0~FFFF 
WordTNTNTN d0~99999 
WordSNSNSN d0~99999 
WordCNCNCN d0~99999 
WordRRR d0~99999 
WordSWSWSW h0~FFFF 
WordZZZ d0~99999 
WordZRZRZR h0~FFFF 
WordDDD d0~99999 

Communication Settings

image-20220831105732-3.png

image-20220831110004-5.png

Cable Wiring

image-20220831105542-2.png image-20220831105529-1.png

Pin Definition Diagram

image-20220825160820-4.png

L02 CPU MELSEC(Ethernet)

Mitsubishi Q series CPU built-in Ethernet port.

HMI Settings

ItemsSettingsNote
ProtocolMITSUBISHI L02 CPU MELSEC 
ConnectionEthernet 
Port No.1025Must be the same as the PLC setting
PLC station No.0Must be the same as the PLC setting

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX h0~FFFF 
BitYYY h0~FFFF 
BitMMM d0~9999 
BitLLL d0~9999 
BitFFF d0~9999 
BitBBB h0~FFFF 
BitVVV d0~2047 
BitTCTCTC d0~9999 
BitSSSSSS d0~9999 
BitSCSCSC d0~9999 
BitCSCSCS d0~9999 
BitCCCCCC d0~9999 
BitSBSBSB h0~FFFF 
BitSMSMSM d0~2047 
BitSTSSTSSTS d0~1023 
BitSSS d0~9999 
BitDXDXDX h0~FFFF 
BitDYDYDY h0~FFFF 
BitTSTSTS d0~9999 
WordWWW h0~FFFF 
WordTNTNTN d0~99999 
WordSNSNSN d0~99999 
WordCNCNCN d0~99999 
WordRRR d0~99999 
WordSWSWSW h0~FFFF 
WordZZZ d0~99999 
WordZRZRZR h0~FFFF 
WordDDD d0~99999 

Communication Settings

Enable HMI Ethernet in [Project Settings];

 12.PLC Protocol_html_43b671f18153910d.png

Set PLC IP in [Device IP] settings;

12.PLC Protocol_html_38189fae42f6caa7.png

PLC Settings (GX Works2 )

Create a project

Set PLC IP, subnet mask and gateway;

Select [Binary Code] as communication data code;

image-20221108202109-2.png

Set PLC port number, for example 1025

12.PLC Protocol_html_8d0d1a22d388f70b.png

Save settings;

Download project into PLC device;

Restart PLC device;

Cable Wiring

12.PLC Protocol_html_2297240b57346b2a.png

QJ71C24N MELSEC

Mitsubishi QJ71C24N communication module built-in serial port;

HMI Settings

ItemsSettingsNote
ProtocolMITSUBISHI QJ71 MELSEC 
Connection422 
Baud rate9600 
Data bit8 
ParityODD 
Stop bit1 
PLC station No.1~255Need to be the same as PLC settings

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX FFFF0~1FFF 
YYY FFFF0~1FFF 
MMM DDDDD0~99999 
LLL DDDD0~8191 
FFF DDDD0~2047 
VVV DDDD0~2047 
BBB FFFF0~1FFF 
TSTSTS DDDD0~2047 
TCTCTC DDDD0~2047 
SSSSSS DDDD0~2047 
SCSCSC DDDD0~2047 
CSCSCS DDDD0~1023 
CCCCCC DDDD0~1023 
SBSBSB FFF0~7FF 
SSS D0~8191 
DXDXDX FFFF0~1FFF 
DYDYDY FFFF0~1FFF 
SM_SM_SM_ DDDD8000~9999 
SMSMSM DDDD0~2047 
WordSDSDSD DDDD0~2047 
DDD DDDDD0~12287 
WWW FFFF0~1FFF 
TNTNTN DDDD0~2047 
SNSNSN DDDD0~2047 
CNCNCN DDDD0~1023 
RRR DDDDD0~32767 
SWSWSW FFF0~7FF 
ZZZ D0~15 
ZRZRZR FFFFF0~FE7FF 

Communication Settings

image-20221109135738-1.png

image-20221109140016-3.png

Pin Definition Diagram

image-20221109140406-4.png

QJ71E71 MELSEC

Mitsubishi QJ71E71 Ethernet communication module;

HMI Settings

ItemsSettingsNote
ProtocolMITSUBISHI QJ71E71 MELSEC 
ConnectionEthernet 
Port No.4999Must be the same as the PLC setting
PLC station No.0Must be the same as the PLC setting

Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX h0~1FFF 
YYY h0~1FFF 
MMM d0~99999 
LLL d0~8191 
FFF d0~2047 
BBB h0~1FFF 
VVV d0~2047 
TSTSTS d0~2047 
TCTCTC d0~2047 
SSSSSS d0~2047 
SCSCSC d0~2047 
CSCSCS d0~1023 
CCCCCC d0~1023 
SBSBSB h0~7FF 
SSS d0~8191 
DXDXDX h0~1FFF 
DYDYDY h0~1FFF 
SMSMSM d8000~9999 
WordSDSDSD d0~2047 
DDD d0~12287 
WWW h0~1FFF 
TNTNTN d0~2047 
SNSNSN d0~2047 
CNCNCN d0~1023 
RRR d0~32767 
SWSWSW h0~7FF 
ZZZ d0~15 
ZRZRZR h0~FE7FF 

HMI Communication Settings

1) Enable HMI Ethernet in [Project Settings];

 12.PLC Protocol_html_43b671f18153910d.png

2) Set PLC IP in [Device IP] settings

;image-20221119164628-1.png

PLC Settings(GX Works2)

  • Click [Ethernet/CC IE/MELSECNET];
  • Please select [Ethernet] as network type;
  • Set station I/O number according to situation (For example, 0020 means that the module is connected to PLC CPU in first order);
  • Select [Online] as Mode;
  • image-20221119164958-2.png 12.PLC Protocol_html_acd084d845da380e.png
  • Click [Operation setting] to set IP;
  • Select [Binary Code] as [Communication Data Code];
  • image-20221119165129-3.png 12.PLC Protocol_html_a972e671d2bb9150.png
  • Click [Open setting]
  • Set protocol: TCP;
  • Set [unpassive] in [Open system];
  • Set [receive] in [Fixed buffer];
  • Set [procedure Exist] in [Fixed buffer communication];
  • Disable [Pairing open];
  • Set [No confirm] in [Existence confirmation];
  • Host station port number: 5009;
  • 12.PLC Protocol_html_f2c432006cdd2f9.png Save settings;
  • image-20221119165342-4.png
  • Download project into PLC and restart it

Cable Wiring

12.PLC Protocol_html_2297240b57346b2a.png

Q00 Series CPU

Mitsubishi Q00 series CPU communication module built-in serial port;

HMI Settings

ItemsSettingsNote
ProtocolMITSUBISHI Q00H CPU Port 
Connection232 
Baud rate9600 
Data bit8 
ParityODD 
Stop bit1 
PLC station No.1~255Need to be the same as PLC settings

 Address List

TypeDevice registersHMI registersFormatRangeNote
BitXXX h0~ffff 
YYY h0~ffff 
MMM d0~9999 
LLL d0~9999 
FFF d0~9999 
BBB h0~ffff 
DbitDbitDbit d.h

d:0~65535

h:0~15

 
TSTSTS d0~9999 
TCTCTC d0~9999 
SSSSSS d0~9999 
SCSCSC d0~9999 
CSCSCS d0~9999 
CCCCCC d0~9999 
SBSBSB h0~ffff 
SSS d0~9999 
DXDXDX h0~ffff 
DYDYDY h0~ffff 
SMSMSM d0~2047 
Word
DDD d0~99999 
WWW h0~ffff 
TNTNTN d0~99999 
SNSNSN d0~99999 
CNCNCN d0~99999 
RRR d0~99999 
SWSWSW h0~ffff 
ZZZ d0~99999 
ZRZRZR h0~ffff 

 Communication Settings

图片2.png

图片3.png

PLC Settings(GX Works2) 

Open[PLC Parameter],click [Serial Communication] then Check [Use Serial Communication] is uncheck.

Note: If you check the[Use Serial Communication] the communication method will be the same as QJ71

图片1.png

 Cable Wiring

1721788185633-200.png

Q00U Series CPU

Note: Waiting official release.

HMI Setting

ItemsSettingsNote
ProtocolMITSUBISHI Q00U CPU Port 
Connection232 
Baud rate9600 
Data bit8 
ParityODD 
Stop bit1 
PLC station No.1~255Need to be the same as PLC settings

 Address List 

TypeDevice registersHMI registersFormatRangeNote
BitXXX h0~ffff 
YYY h0~ffff 
MMM d0~9999 
LLL d0~9999 
FFF d0~9999 
BBB h0~ffff 
DbitDbitDbit d.h

d:0~65535

h:0~15

 
TSTSTS d0~9999 
TCTCTC d0~9999 
SSSSSS d0~9999 
SCSCSC d0~9999 
CSCSCS d0~9999 
CCCCCC d0~9999 
SBSBSB h0~ffff 
SSS d0~9999 
DXDXDX h0~ffff 
DYDYDY h0~ffff 
SMSMSM d0~2047 
Word
DDD d0~99999 
WWW h0~ffff 
TNTNTN d0~99999 
SNSNSN d0~99999 
CNCNCN d0~99999 
RRR d0~99999 
SWSWSW h0~ffff 
ZZZ d0~99999 
ZRZRZR h0~ffff

Communication Settings

ooG4RTeCGW.png

Bns4PuUdTk.png

 PLC Settings(GX Works2) 

Open[PLC Parameter],click [Serial Communication] then Check [Use Serial Communication] is uncheck.

图片1.png

Cable Wiring

1721788185633-200.png