Mitsubishi

Version 85.1 by Joe on 2024/04/29 16:24

FX3U,3G,3GA Serial 

Supported Series: Mitsubishi FX3U, FX3G, FX3GA series

V-BOX Settings

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

三菱 FX3U 串口协议配置.png

Address List

TypeDevice registersFormatRangeNote
BitXX o0~303237 
YY o0~303237 
MM d0~99999 
TT d0~99999 
CC d0~99999 
SS d0~99999 
SMSM d8000~9999 
WordXX o0~303237 
YY o0~303237 
MM d0~99999 
TT d0~99999 
CC d0~199 
DD d0~7999 
SS d0~99999 
SDSD d8000~9999 

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].

GX2.png

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

[PLC]→[Write to PLC]→[Online operation]→[Param+program]→[Execute]→[OK]

FX3U串口下载.png

Cable Wiring

RS422

image-20220825103421-5.png

image-20220825100845-4.png

FX NOPROTOCOL

Mitsubishi FX3G-RS232-BD

V-Box Settings

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

三菱 FN盒子通讯配置.png

Address List

TypeDevice registersFormatRangeNote
BitXX o0~303237 
YY o0~303237 
MM d0~99999 
TT d0~99999 
CC d0~99999 
SS d0~99999 
SMSM d8000~9999 
LampLamp d0~0 
WordXX o0~303237 
YY o0~303237 
MM d0~99999 
TT d0~99999 
CC d0~199 
DD d0~7999 
SS d0~99999 
SDSD d8000~9999 

Cable Wiring

xwiki_PIStudio_12.PLC+protocols_WebHome_1717efe8d969a43c.png

FX3U Ethernet 

Supported Modules: FX3U-ENET-ADP, FX3U-ENET-L

V-BOX Settings

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

三菱 FX3U 以太网协议配置.png

Address List

TypeDevice registersFormatRangeNote
BitXX OOO0~377 
YY OOO0~377 
MM DDDD0~7679 
SMSM DDDD8000~8511 
SS DDDD0~4095 
TSTS DDD0~511 
CSCS DDD0~255 
WordCNCN DDD0~199 
TNTN DDD0~511 
DD DDDD0~7999 
SDSD DDDD8000~8511 
RR 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-20221116105850-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.

894qM2hnau.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-20221116110802-1.png

Note: If you can't communicate PLC to box normally, changing ''No confirm" to "confirm"

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.

xzZboZHffh.png

ivWMdrv1Gh.png

qoQNWSBoEQ.png

PLC Settings (GX Works 2)

Create a blank FX5U project

Find Current Connection in the navigation

image-20221116111427-1.png

Select Connection Channel List

Select Ethernet board communication

image-20221116111451-2.png

Select Ethernet Module
 Set the IP address of the PLC

image-20221116111509-3.png

Read or write PLC data, in this document is read

image-20221116111651-4.png

image-20221116111727-5.png

FX5U Serial 

Mitsubishi FX5U series PLC

V-BOX Settings

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

三菱 FX5U 串口协议配置.png

Address List

TypeDevice registersFormatRangeNote
BitXX o0~303237 
YY o0~303237 
MM d0~99999 
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 

Create a blank FX5U project

Open GX Works3, create a new PLC project or open the project that has been created. Create new project: [Project]→[New]→[Series] FX5CPU→[Type] FX5U→[OK].

GX3.png

FX5U 串口选型号.png

PLC Default Parameters: 
[Navigation]→[Parameter]→[FX5UCPU]→[Module Parameter]→[485 Serial Port]:[Basic Settings] →[ Communication Protocol Type] MC Protocol→[Advanced Settings]:[Baud rate]9600Kbps, [Data Length]7, [Stop bit]1,[Parity]Odd.

FX5U plc串口参数配置.png

[Navigation]→[Parameter]→[FX5UCPU]→[Module Parameter]→[485 Serial Port]: [fixed Setting] →[Station No.]0→[Message Pattern] Pattern 1 (X,Y OCT)→[Apply]

Information

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

FX5U plc串口参数.png

Cable Wiring

RS422

image-20220825105105-2.png

image-20220825105533-3.png

FX5U Ethernet 

Mitsubishi FX5U series PLC

V-BOX Settings

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

三菱 FX5U 以太网协议配置.png

Address List

TypeDevice registersFormatRangeNote
BitXX o0~303237 
YY o0~303237 
MM d0~99999 
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 

Open GX Works3, create a new PLC project or open the project that has been created.

Create new project: [Project]→[New]→[Series] FX5CPU→[Type] FX5U→[OK].

GX3.png

FX5U 串口选型号.png

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.

FX5U 以太网配置.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

PC and PLC connection

[Online]→[Current Connection Destination]→[Direct Coupled Setting]→[Ethernet]→[Adapter] Realtek PCIe GBE Family Controller→[Communication Test]: Successfully connected with the FX5UCPU.

FX5U 以太网连接PLC.png

Downloading PLC project
[Online]→[Write to PLC]→[Online Data operation]→[Param+program]→[Execute]→[Yes] →[Yes to all]

FX5U以太网下载.png

Cable Wiring

12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png

L02 Serial 

Mitsubishi L02 series CPU built-in serial port.

V-BOX Settings

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

三菱 L02串口协议配置.png

Address List

TypeDevice registersFormatRangeNote
Bit
 
XX h0~FFFF 
YY h0~FFFF 
MM d0~9999 
LL d0~9999 
FF d0~9999 
BB h0~FFFF 
VV d0~2047 
TCTC d0~9999 
SSSS d0~9999 
SCSC d0~9999 
CSCS d0~9999 
CCCC d0~9999 
SBSB h0~FFFF 
SMSM d0~2047 
STSSTS d0~1023 
SS d0~9999 
DXDX h0~FFFF 
DYDY h0~FFFF 
TSTS d0~9999 
DbitDbit d.d0~99999.0~15 
Word
 
WW h0~FFFF 
TNTN d0~99999 
SNSN d0~99999 
CNCN d0~99999 
RR d0~99999 
SWSW h0~FFFF 
ZZ d0~99999 
ZRZR h0~FFFF 
DD d0~99999 

Cable Wiring

RS422

image-20220825161612-8.png

image-20220825160820-4.png

L02 Ethernet 

Mitsubishi L series CPU built-in Ethernet port.

V-BOX Settings

ItemsSettingsNote
ProtocolMIT 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

三菱 L02以太网协议配置1.png

PLC Settings (GX Works2 )

Create a project

Set PLC IP, subnet mask and gateway;

Select [Binary Code] as communication data code;

12.PLC Protocol_html_776e17505f3fc6c0.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

Q12H Serial 

This Demo shows V-BOX communicate with Q12H PLC by Q02H serial Protocol

Download link

QJ71E71 Ethernet 

Mitsubishi QJ71E71 Ethernet communication module;

V-BOX Settings

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

三菱 QJ71 以太网协议配置.png

Address List

TypeDevice registersFormatRangeNote
BitXX h0~1FFF 
YY h0~1FFF 
MM d0~99999 
LL d0~8191 
FF d0~2047 
BB h0~1FFF 
VV d0~2047 
TSTS d0~2047 
TCTC d0~2047 
SSSS d0~2047 
SCSC d0~2047 
CSCS d0~1023 
CCCC d0~1023 
SBSB h0~7FF 
SS d0~8191 
DXDX h0~1FFF 
DYDY h0~1FFF 
SMSM d8000~9999 
WordSDSD d0~2047 
DD d0~12287 
WW h0~1FFF 
TNTN d0~2047 
SNSN d0~2047 
CNCN d0~1023 
RR d0~32767 
SWSW h0~7FF 
ZZ d0~15 
ZRZR h0~FE7FF 

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-20221119171343-2.png
  • Click [Operation setting] to set IP;
  • Select [Binary Code] as [Communication Data Code];
  • image-20221119171436-3.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;
  • Save settings;
  • image-20221119171611-4.png
  • Download project into PLC and restart it

Cable Wiring

12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png

Q03UDV

Mitsubishi Q03UDV

V-BOX Settings

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

1709779590561-640.png

Address List

TypeDevice registersFormatRangeNote
BitXX h0~1fff 
YY h0~1fff 
SMSM d0~2047 
MM d0~99999 
LL d0~8191 
FF d0~2047 
VV d0~2047 
BB h0~1fff 
TSTS d0~2047 
TCTC d0~2047 
SSSS d0~2047 
SCSC d0~2047 
CSCS d0~1023 
CCCC d0~1023 
SBSB h0~7ff 
SS d0~8191 
DXDX h0~1fff 
DYDY h0~1fff 
WordSDSD d0~2047 
DD d0~12287 
WW h0~1fff 
TNTN d0~2047 
SNSN d0~2047 
CNCN d0~1023 
SWSW h0~7ff 
ZZ d0~15 
RR d0~32767 
ZRZR h0~fe7ff 

PLC Settings(GX Works2)

PC and PLC connection:

  • Online→Read from PLC

1.png

  • choose PLC Series→OK 

StqCG53paq.png

  • serial USB→OK

Y7H80eq2Eb.png

  • Choose Parameter、Global Device Comment and Device Memory→Execute 

6PAsdFz58I.png

  • OK→wait loading successfully→Close

0GBGUNn4hQ.png

  •  Navigation→Parameter→PLC Parameter→IP Address Setting→Built-in Ethernet Port Setting→Host Station(Same as the port on  V-box)→End

Ypyl4SUHcf.png

  • Debug→Start/ Stop Simulation→wait loading successfully→Close

ZmUzFbS39y.png

ehoO3C6bry.png

Cable Wiring

12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png