Add MELSEC

 

The system configuration when using Mitsubishi Electric FA allows for configuring a MELSEC within ICONICS Workbench. See MELSEC System Configuration for more info.

 

Note: MELSEC can only be edited when disabled. When the device is activated, settings cannot be changed until the device is disabled. See Activate and Disable.

 

To Add MELSEC

  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.

Add MELSEC via the Project Explorer in the Workbench

 

 

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

 

Add MELSEC button

 

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

MELSEC Properties (Device Settings)

 

 

 

Common Settings

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

 

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

·    Use Simulator - Click the checkbox to use simulators and enable Simulator Settings.

[Note: QCPU, LCPU, FXCPU, QSCPU do 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).

 

 

PC I/F Settings

       MELSEC I/O Settings

      

       Simulator Settings

 

      Other Settings

 Please refer to Merge Gap Details for details.

 

3. Click Apply to save your changes to the configuration and Close to return to the Workbench.

 

MELSEC Properties (Device Structures)

 

Available Structures

 

· Click here to add new item - Click to add a new device structure.

Note: If a device structure is referred by one or more tags, the structure is displayed with “(In Use)” and cannot be edited or deleted.

 

Structure Settings

 

· Name - Enter a name of the device structure in the text entry field.

· Description - Enter a description for device structure in the text entry field.

 

Structure Types

 

· Field Name - Enter a name for the structure member in the text entry field.

· Data Type *3 - Use the pulldown menu to select the tag's data type.

 

Options include:
BOOL *1, WORD, DWORD, INT, UINT, DINT, UDINT, LINT, ULINT, REAL, LREAL, STRING, WSTRING, STRUCTURE (*2)

*1 The BOOL can be used by specifying the bit position (e.g., EG0.1)
*2 The name of a device structure is displayed in the parentheses.

*3 All available the data types support the array type.

 

· Array Settings - Click the "Edit setting" icon to display the Array Configuration window. If the tag is an array type, the cell displays the shape of it (e.g., (0..2) for a single-dimensional array with 3 elements). If the tag is not an array type, the cell displays “Disabled”.

 

Please refer to Array Configuration Details for details.

 

· String Length - If the tag is a STRING or WSTRING type, the sell displays the length of the string (default: 32). The length of the string can be changed between 1 and 255. If the     

   tag is not a string type, the cell is blank.

· Move element up - Move the selected element one up. This cannot be used if the element is already on the top of the list.

· Move element down - Move the selected element one down. This cannot be used if the element is already at the bottom of the list.

 

To Add a Device Structure

 

1.        Click the Device Structures tab to show the window for structure settings.

2.        Click “Click here to add new item” to add a new device structure.

3.        Provide a valid name to the added device structure

4.        Click Apply to save the change.

 

To Add Members to a Device Structure

 

1.        Select a device structure to add a new member.

2.        Provide a valid name and select a data type for the member.

3.        Click an Edit setting… icon that appears by clicking the Array Settings cell to enable an array if needed.

            (Please refer Add Tag Group for the details of array settings)

4.        Click Apply to save the change.

 

Note: If a structure is In Use by one or more tags, it cannot be edited and deleted.

 

See Also:

MELSEC System Configuration

Network Discovery

Add Tag Group

Activate and Disable

Merge Gap Details

Array Configuration Details

How to Import