---
title: Mitsubishi FX2N-10GM/20GM Serial (Gen1.3)
slug: manufacturing-connect-edge/mitsubishi-fx2n-10gm20gm-serial-gen13
docTags: 
createdAt: 2022-05-26T20:56:06.000Z
---

Review the following information for setting up and configuring the Mitsubishi FX2N-10GM/20GM Serial (Gen1.3) driver.&#x20;

# Manufacturing Connect Edge Compatible Series&#x20;

| Compatibility parameter      | Compatible items                                                                       |
| ---------------------------- | -------------------------------------------------------------------------------------- |
| **Driver type**              | Serial                                                                                 |
| **Validated devices/series** | [MELSEC-F](https://www.mitsubishielectric.com/fa/products/cnt/plc_fx/items/index.html) |

To set up and configure this device in Manufacturing Connect Edge, you will need to do the following:

- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub
- Step 3: Configure the List of Registers

# Step 1: Set up and Configure the PLC Device

Record the serial communication parameters for the device. Otherwise, follow the steps below.&#x20;

**To configure your device:**

1. Note down the following information and refer to it as needed. ****
   **Device**: Mitsubishi FX2n-10GM****
   **Communication I/F**: Serial. Refer to the following figure.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/WubzK4HSWY0Ersg2jwWVw_mitsubishi-fx2n-10-20gm-serialreference.png" size="80" width="627" height="872" caption="Reference image of device" position="center" darkWidth="627" darkHeight="872" showCaption="true" indent="2"}

2. Use FX PCS-VPS/WIN-E software to configure the device for Ethernet device.&#x20;

# Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub

Configure the following parameters when you [Connect a Device](docId\:RFVIJdxz7DBAd8mwbismA) with this driver. Update default values to the specific set up of your device.&#x20;

| Parameter              | Value                                     |
| ---------------------- | ----------------------------------------- |
| **Type**               | Mitsubishi                                |
| **Driver**             | Mitsubishi FX2N-10GM/20GM Serial (Gen1.3) |
| **Communication Port** | Local Serial connection file path         |
| **Data Bits**          | 8                                         |
| **Baud Rate**          | 9600                                      |
| **Parity**             | Even, Odd, None                           |
| **Stop Bits**          | 1                                         |

# Step 3: Configure the List of Registers

When you [Add Tags](docId\:iOaNZd2AwqnkuppgeE3Eh) to the connected device, refer to the following register table and tag parameters.

Refer to the following additional resources:

- [Device and Tag Metadata Use Case](docId\:f-B720niVlLBer44RfyHN)
- [Tag Formula Variables](docId\:PWd-7P-kZjXkt_pYAwAOw)

## Register Table

| **Name** | **Value Type** | **Address Format** | **Min Address** | **Max Address** | **Description**         |
| -------- | -------------- | ------------------ | --------------- | --------------- | ----------------------- |
| X        | bit            | OOO                | 0               | 67              | Input Relay             |
| Y        | bit            | OOO                | 0               | 67              | Output Relay            |
| M        | bit            | DDD                | 0               | 511             | Auxiliary Relay         |
| SM       | bit            | DDDD               | 9000            | 9175            | Special Auxiliary Relay |
| X\_W     | word           | OOO                | 0               | 67              |                         |
| Y\_W     | bit            | OOO                | 0               | 67              |                         |
| M\_W     | bit            | DDD                | 0               | 511             |                         |
| SM\_W    | bit            | DDDD               | 9000            | 9175            |                         |
| D        | word           | DDDD               | 0               | 6999            | Data Register           |
| SD       | word           | DDDD               | 9000            | 9599            | Special Data Register   |
| V        | word           | D                  | 0               | 7               | Index Register          |
| Z        | word           | D                  | 0               | 7               | Index Register          |

## Tag Parameters

- **Name**: Select a register name from the drop-down list. The available options depend on the names in the register table.&#x20;
- **Value Type**: Select a data type from the drop-down list. The available options depend on the register name selected.&#x20;
- **Polling Interval**: Enter a value in seconds. This determines how often the tag should poll the register for data.
- **Tag Name**: Enter a name for the tag.
- **Description** (Optional): Enter a description for the tag. &#x20;
- **Address**: Enter a tag address. The value must in the decimal format, within the allowed min/max range. Omit the leading zeros. The device might use the decimal (D), hexadecimal (H), or octal (O) address format. See the Register Table at the bottom of the dialog box. For Bit tags, append the bit address without the bit separator. The lowercase letters in the address format indicate how many digits you should enter in the Bit address.
- **Tag Formula**: Enter a formula for the tag to process the generated data. Two variables are permitted: `value` (current tag value) and `timestamp` (current tag UNIX time in milliseconds). The following math functions are available:
  - sin
  - cos
  - sqrt
  - tan
  - power: power(`x`) performs the operation `10^x`.
  - log: log(`x`) is the natural logarithm (the logarithm is in base `e`).&#x20;
  - exp: exp(`x`) performs the operation `e^x`.
- **Only Publish on Change of Value**: Select the checkbox to only publish NATS messages when the *value&#x20;*&#x70;arameter changes to a new value. *Change of Value* only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics will not be affected by *Change of Value* settings. These topics will still only see a single message.&#x20;
- **Meta Data**: Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. Metadata can then be used to find, use, and reuse particular instances of data.&#x20;

:::hint{type="info"}
**Note**: If you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload. This can cause two key names to be combined into one. For example, configuring the key names a\*\*b and a&\&b will cause only one key name to be created (a\_\_b).&#x20;
:::

