The QJ71E71 Ethernet module allows data access software, such as Fernhill SCADA, to monitor and control a Mitsubishi Q-Series PLC Device.
The information in this guide applies to a range of Mitsubishi Melsec Q-Series Ethernet modules:
Module | Interface |
---|---|
QJ71E71-100 | 10Base-T and 100Base-Tx |
QJ71E71-B2 | 10Base-2 |
QJ71E71-B5 | 10Base-5 |
The rest of this article uses the name QJ71E71 to refer to any of the above modules.
This guide shows you how to set up a QJ71E71 Ethernet module to use MC Protocol over UDP.
To connect Fernhill SCADA to a QJ71E71 Ethernet module you will need to configure the QJ71E71 module to accept requests from Fernhill SCADA. As a minimum you will need to configure the Operational Settings of the module. The QJ71E71 Ethernet module is configured by writing values to the buffer memory of the module.
Recommended Operational Settings:
Setting Name | Buffer Memory Address | Recommended Value |
---|---|---|
Communication Data Code | 31 bit 1 | 0 - Binary |
TCP Existence Confirmation | 31 bit 4 | 1 - Use KeepAlive |
Send frame setting | 31 bit 5 | 0 - Ethernet V2.0 |
Allow controls in run mode | 31 bit 6 | 1 - Enable |
Initial Timing | 31 bit 8 | 1 - Always wait for OPEN |
IP Address | 0 to 1 | Your IP Address |
By default the QJ71E71 Ethernet module opens UDP port 5000 (1388h). Without any further configuration to the module, Fernhill SCADA can communicate with the QJ71E71 Ethernet module using port 5000 (1388h).
If you want to use a different port, you will need to configure additional Open Settings. For communication with Fernhill SCADA, these settings are recommended:
Setting Name | Buffer Memory Address | Recommended Value |
---|---|---|
Fixed buffer | 32 to 39 bit 0 | 1 - Receive |
Existence confirmation | 32 to 39 bit 1 | 0 - No Confirm |
Pairing open | 32 to 39 bit 7 | 0 - No pairs |
Protocol | 32 to 39 bit 8 | 1 - UDP |
Fixed buffer communication | 32 to 39 bit 9 | 0 - Procedure (MC) |
Open system | 32 to 39 bits 14-15 | 00 - Not applicable to UDP |
Local station port no. | 40, 47, 54, 61, 68, 75, 82, 89 | Your Port Number |
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 |
You can configure the QJ71E71 Ethernet module directly from GX Developer, or using a PLC program. Both methods configure the QJ71E71 Ethernet module by writing to the buffer memory of the module.
Example configuration for setting up Connection 1 for Fernhill SCADA to access the PLC via port 21633 (5481h):
Buffer Memory Address | Value | Comment |
---|---|---|
32 | 501h | Receive buffer, No confirm, No pairs, UDP, Procedure, Active Open |
40 | 5481h | PLC Port Number |
41-42 | FFFFFFFFh | Fernhill SCADA IP Address (any) |
43 | FFFFh | Fernhill SCADA Port Number (any) |
For more information refer to the QJ71E71 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.
To learn about Mitsubishi Melsec UDP communication channels.
Mitsubishi Melsec TCP Autodetect Wizard
To learn about automatically detecting Mitsubishi PLC Devices using TCP/IP.
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.