Add MELSEC

The system configuration when using Mitsubishi Electric FA allows for configuring a MELSEC device within the Workbench. See MELSEC System Configuration for more info. The displayed items vary depending on the selected device and communication path.

MELSEC devices can only be edited when disabled. When the device is activated, settings cannot be changed until the device is disabled. See How to Activate a Mitsubishi Device.

To Add a MELSEC device

  1. In the Workbench, expand your project in the Project Explorer, and then expand the Data Connectivity node. Right-click the Mitsubishi Electric FA node and click on Add MELSEC as shown below.

    -OR-

    Select the Mitsubishi Electric FA node in the Project Explorer in the Workbench and then click on the Add MELSEC button shown below in the Edit section of the Home ribbon.

  2. This opens the MELSEC Properties shown below in the central section of the Workbench. Enter a name for the MELSEC device in the Name text entry field.

    Common Settings

    • (Click to test the communication) - Click this link to connect to the actual device for test.

    • Description - Enter a description for the MELSEC device in the text entry field.

    • CPU Series - Use the drop-down list to select the CPU series. Selectable CPU Series are as follows: RCPU, RSafety, LHCPU, FX5CPU, QCPU, LCPU, FXCPU, QSCPU.

      See MELSEC System Configuration for additional compatible system-related details

    • CPU Type  - Use the drop-down list to select a CPU type which is based on the selected CPU Series above.

      See MELSEC System Configuration for additional compatible system-related details

      If RCPU CPU Series Selected: R00, R01, R02, R04, R08, R16, R32, R120, R04EN, R08EN, R16EN, R32EN, R120EN, R08P, R16P, R32P, R120P, R08PSF, R16PSF, R32PSF, R120PSF  

      If RSafety CPU Series Selected: R08SF, R16SF, R32SF, R120SF

      If LHCPU CPU Series Selected: L04H, L08H, L16H

      If FX5CPU CPU Series Selected: FX5U/FX5UC, FX5UJ, FX5S

      If QCPU CPU Series Selected: Q00UJ, Q00U, Q01U, Q02U, Q03UD, Q03UDE, Q03UDV, Q04UDH, Q04UDEH, Q04UDV, Q04UDPV, Q06UDH, Q06UDEH, Q06UDV, Q06UDPV, Q10UDH, Q10UDEH, Q12PRH, Q13UDH, Q13UDEH, Q13UDV, Q13UDPV, Q20UDH, Q20UDEH, Q25PRH, Q26UDH, Q26UDEH, Q26UDV, Q26UDPV, Q50UDEH, Q100UDEH   

      If LCPU CPU Series Selected: L02S/L02S-P, L02/L02-P, L06/L06-P. L26/L26-P, L26-BT/L26-PBT

      If FXCPU CPU Series Selected: FX3S, FX3G/FX3GC, FX3U/FX3UC/FX3UC-32MT-LT-2

      If QSCPU CPU Series Selected: QS001

    • Connection Channel - Select the connection channel from the drop-down list. Based on the CPU Series and CPU type, the available connection channels are displayed.

    • Select Connection Channel Button - Display the "Select Connection Channel Dialog". Please refer to Connection Channel Details for details.
    • Use Simulator - Click the checkbox to use simulators and enable Simulator Settings.

      QSCPU does not support the use of simulator and this option is grayed out when one of these PLC series is selected

    • Timeout - Enter a timeout in seconds in the text entry field (or use the “up/down” arrow buttons) to cease communication attempts upon error.

    • Retry - Enter a number of communication retries in the text entry field (or use the “up/down” arrow buttons).

    • The system image of the selected Connection Channel - Displays the configuration diagram of the server and device based on the selected CPU series, CPU type, and Connection Channel.

    PC I/F Settings

    • PC I/F -The PC I/F (interface function) related to the connection channel selected in the Connection Channel is displayed

      See System Configuration for additional compatible system-related details.]

    • IP Address - Enter the IP address for the PC I/F (interface function) in the text entry field.

    • COM Port Number - Enter a COM port number for the PC I/F (interface function) in the text entry field (or use the "up/down" arrow buttons).

    • Source Network Number - Enter a source network number (default 1, upper bound is 239) in the text entry field (or use the "up/down" arrow buttons).

    • Source Station Number - Enter a source station number (default 1, upper bound is 120) in the text entry field (or use the "up/down" arrow buttons).

    • Board Number - Use the drop-down list to select from the 1st Module to the 4th Module for CC-Link IE Control Board.

    MELSEC I/F Settings

    • MELSEC I/F - The MELSEC I/F (interface function) related to the connection channel selected in the Connection Channel is displayed. Note that some of the settings in the remainder of this section may be active or inactive based on the selection of the specific CPU Series, CPU Type, and PC I/F combinations.

      See MELSEC System Configuration for additional compatible system-related details.

    • Protocol Type - Use the drop-down list to select from either TCP or UDP.

    • Network Number - Enter a network number in the text entry field (or use the "up/down" arrow buttons).

    • Station Number - Enter a station number in the text entry field (or use the "up/down" arrow buttons).

    • IP Address -Enter an IP address for the MELSEC I/F in the text entry field.

    • Baudrate - Use the drop-down list to select a baudrate from 9600, 19200, 38400, 57600, or 115200.

    • Control - Use the drop-down list to select from DTR Control, RTS Control, DTR and RTS Control, or DTR or RTS Control.

    Connection I/F Settings

    • Connection I/F – The Connection I/F related to the connection channel selected in the Connection Channel is displayed.

    • Network Number - Enter a network number in the text entry field (or use the "up/down" arrow buttons).

    • Station Number - Enter a station number in the text entry field (or use the "up/down" arrow buttons).

    Target System Settings

    • Target System – Use the drop-down list to select from either Single CPU or Multiple CPU.

      When "Redundant CPU" is specified, GENESIS can connect to the CPU configured in the redundant system. Furthermore, GENESIS will automatically link to the "System Switching" of the redundant system and maintain the connection.

      Please refer to the chapter 26.2 "System Switching" in the MELSEC iQ-R Process CPU Module User's Manual in Mitsubishi Electric FA Web page:

      The configuration conditions corresponding to the CPU configured in the redundant system are as follows.

      CPU Series

      CPU Type

      Connection Channel

      RCPU

      R08P, R08PSF, R16P, R16PSF, R32P, R32PSF, R120P, R120PSF

      Ethernet Access, Ethernet Module Access, CC-Link IE Control Module Access

      QCPU

      Q12PRH, Q25PRH

      Ethernet Module Access, CC-Link IE Control Module Access

    • Target PLC - Use the drop-down list to select a PLC type which is based on the selected Target System above.

      If Single CPU Selected: Not Specified

      If Multiple CPU Selected: PLC No.1、PLC No.2、PLC No.3、PLC No.4

      If Redundant CPU Selected: Control System

      Redundant CPU is not supported by multiple networks. If multiple networks is selected in "Connection Channel", "Redundant CPU" is not displayed.

      For details on the Control System, please refer to the following document in Mitsubishi Electric FA Web page:

      MELSEC iQ-R Process CPU Module User's Manual

    Simulator Settings

    • System Number - Enter a number between 1 and 4 in the text entry field (or use the "up/down" arrow buttons) for the number of simulators to connect when using RCPU, RSafety, FX5CPU and LHCPU.

      This option is grayed out when the "Use Simulator" checkbox is OFF.

    • PLC Number - Use the drop-down list to select the PLC number between 1 and 4 to connect when using RCPU, RSafety, FX5CPU and LHCPU.

      This option is grayed out when the "Use Simulator" checkbox is OFF or when the CPU series is LHCPU or FX5CPU.

    Other Settings

    • Merge Gap - Enter the value that indicates the number of non-contiuguous registers that can be read n a batch in a single communication between Mitsubishi Electric FA and MELSEC devices. This value should be larger than the number of registers between the tags being monitored. If the value is too small, multiple communications will be required to read the data. This setting is for adjustment purposes and is usually recommended to leave it at its default value of 64. Please refer to Merge Gap Details for details.

    • Encoding - Use the drop-down menu to select an encoding from Not Specified, Unicode (UTF-16), Shift_JIS, GB18030, Big5, or KS X 1001. This setting applies for all tags in the STRING data type under a selected device, reading and writing to a PLC with the specified encoding. Please refer to Encoding Details for details.

  1. Click Apply to save your changes to the configuration and Close to return to the Workbench. If necessary, configure the Structures in the Device Structures tab. For more details, refer to How to add a Structure to your device.

 

See Also:

MELSEC System Configuration

Network Discovery

Add Tag Group

Activate and Disable

Merge Gap Details

Array Configuration Details

GX Works3 Global Labels and Structures Import