The FX3U-ENET Ethernet module allows software, such as Fernhill SCADA, to monitor and control a Mitsubishi FX3U PLC Device.
This guide shows you how to set up a FX3U-ENET Ethernet module to use MC Protocol over UDP.
The FX3U-ENET Ethernet module must be configured before it can accept connections from external software. The aim of this article is to guide you through the configuration process.
You can use either of these methods to configure the FX3U-ENET module:
Once you have configured the FX3U-ENET module you can then Configure Fernhill SCADA.
Set the following parameters:
Set link 1 to use these parameters:
Set link 2 to use these parameters:
If the Connection interface is not correct, click Transfer setup to configure the correct communication path to the PLC.
Click OK to close the Completed dialog.
If you do not have access to FX Configurator-EN you can configure the FX3U-ENET module using a ladder program.
The FX3U-ENET configuration is stored in the buffer memory (BFM) of the FX3U-ENET. You can write the configuration to the buffer memory of the module (BFM) using a ladder program.
As a minimum you will need to configure both the Operational Settings and the Open Settings.
Recommended Operational Settings:
Setting Name | BFM Number | Recommended Value |
---|---|---|
Communication Data Code | 24 bit 1 | 0 - Binary |
TCP Existence Confirmation | 24 bit 4 | 1 - Use KeepAlive |
Send frame setting | 24 bit 5 | 0 - Ethernet V2.0 |
Initial Timing | 24 bit 8 | 1 - Always wait for OPEN |
IP Address | 0 to 1 |
Recommended Open Settings:
Setting Name | BFM Number | Recommended Value |
---|---|---|
Fixed buffer | 32 to 39 bit 0 | 1 - Receive |
Existence confirmation | 32 to 39 bit 1 | 0 - No Confirm |
Protocol | 32 to 39 bit 8 | 1 - UDP |
Pairing open | 32 to 39 bit 7 | 0 - No pairs |
Fixed buffer communication | 32 to 39 bits 9-10 | 10 - Procedure (MC) |
Existence confirmation | 32 to 39 bit 1 | 0 - No Confirm |
Local station port no. | 40, 47, 54, 61, 68, 75, 82, 89 | 5000 (1388h) |
Destination IP address | 41-42, 48-49, 55-56, 62-63, 69-70, 76-77, 83-84, 90-91 | 4294967295 (FFFFFFFFh) - 255.255.255.255 |
Destination port no. | 43, 50, 57, 64, 71, 78, 85, 92 | 65535 (FFFFh) - Any |
This example shows how to configure the FX3U-ENET module using an FX3U PLC program.
| | | M8002 *<IP Addr 192.168.1.26 | +--| |----+--------------[DMOV H0C0A8011A U0\G0]--+ | | | | +--------------------[MOV H110 U0\G24]--+ | | | | | *<1:Melsoft Connection | | +------------------[MOV H0A002 U0\G32]--+ | | | | | *<2:Fernhill SCADA Connection | | +--------------------[MOV H501 U0\G33]--+ | | | | +-------------------[MOV H1388 U0\G47]--+ | | | | +-------------[DMOV H0FFFFFFFF U0\G48]--+ | | | | +------------------[MOV H0FFFF U0\G50]--+ | | | | | *<Write to flash ROM | | +-------------------[MOV H9872 U0\G25]--+ | | +------------------------------------------[END]--+
Program notes:
For more information refer to FX3U-ENET User Manual.
The easiest way to configure Fernhill SCADA is to use the Mitsubishi Melsec UDP Autodetect Wizard. Based on the options you select the wizard will try different IP Addresses and Port numbers until the module is found. If a module is found you will be given an option to automatically create the correct configuration to communicate with the module.
If the autodetect wizard is not suitable you can configure Fernhill SCADA manually:
To communicate with the FX3U-ENET Ethernet module configured as in the previous example:
Set these property values:
Property | Value | Comment |
---|---|---|
Host | 192.168.1.26 | The IP address of the FX3U-ENETEthernet module |
Port | 5000 | The port number of link 2 in the FX3U-ENET Ethernet module |
To learn about Mitsubishi Melsec UDP communication channels.
Mitsubishi Melsec UDP Autodetect Wizard
To learn about automatically detecting Mitsubishi PLC Devices using UDP.
For information about the Mitsubishi Melsec Driver.
For the meaning of terms used in Fernhill SCADA.