---
title: Mitsubishi A2N Serial (Gen1)
slug: bhdo-v1/mitsubishi-a2n-serial-gen1
createdAt: 2022-05-26T20:56:06.000Z
---

Review the following information for setting up and configuring the Mitsubishi A2N Serial (Gen1) driver.&#x20;

# Belden Horizon Data Operations Compatible Series&#x20;

| Compatibility parameter        | Compatible items                                                                                                            |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------- |
| **Driver type**                | Serial                                                                                                                      |
| **Validated devices/series**   | [A Series](https://www.mitsubishielectric.com/fa/products/cnt/plca/pmerit/concept/index.html) models:<br />- A1S<br />- A2N |
| **Replaced with Gen 2 driver** | [Mitsubishi A Series Serial](docId\:txBj6FLoGxp7d9ERHZK5_)                                                                  |

To set up and configure this device in Belden Horizon Data Operations, you will need to do the following:

- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Belden Horizon Data Operations 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 when needed. ****
   **Device**: Mitsubishi A2NCPU****
   **Communication I/F**: RS232. Refer to the following figure.

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/SqMt6Ya6_dDmMX2dzVeZX_ls-xbm-serial-reference.png" size="80" width="715" height="282" caption="Mitsubishi A2N Serial reference" position="center" showCaption="true"}
2. Launch GX developer v8.103 software and connect the device with a serial cable.
3. Click **Online > Read from PLC**.

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/MLA3ZFZ2hfcagelDvbR-D_mitsubishi-a2n-serial-read.png" size="80" width="616" height="433" caption="Read from PLC option" position="center" showCaption="true"}
4. Select the PLC series.&#x20;

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/eZnK_RaZ7LsAWZIm8BepA_mitsubishi-a2n-serial-series.png" size="60" width="302" height="106" caption="PLC series drop-down list " position="center" showCaption="true"}
5. Set up communications, and then click **Communication Test**.

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/LQkmOe9yRKuJjTp0F2Ykc_mitsubishi-a2n-serial-communication.png" size="80" width="750" height="480" caption="Communication Test option " position="center" showCaption="true"}

# Step 2: Set up the PLC Device in Belden Horizon Data Operations DeviceHub

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

| Parameter              | Value                             |
| ---------------------- | --------------------------------- |
| **Type**               | Mitsubishi                        |
| **Driver**             | Mitsubishi A2N Serial (Gen1)      |
| **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\:Wpe2HMXelARLBnhWbuChY) to the connected device, refer to the following register table and tag parameters.

Refer to the following additional resources:

- [Organize Device and Tag by Using Metadata](docId\:kR5ZcBhkXWK89Qti0v1t8)
- [Tag Formula Variables](docId:9m6xLAQ9IoPW5alpru96S)

## Register Table

| **Name** | **Value Type** | **Address Format** | **Min Address** | **Max Address** | **Description** |
| -------- | -------------- | ------------------ | --------------- | --------------- | --------------- |
| X        | bit            | HHHH               | 0               | 65535           | Input Relay     |
| Y        | bit            | HHHH               | 0               | 65535           | Output Relay    |
| M        | bit            | DDDDD              | 0               | 65535           | Auxiliary Relay |
| B        | bit            | HHHH               | 0               | 65535           |                 |
| F        | bit            | DDDDD              | 0               | 65535           |                 |
| R        | word           | DDDDD              | 0               | 65535           |                 |
| W        | word           | HHHH               | 0               | 65535           |                 |
| D        | word           | DDDDD              | 0               | 65535           | Data Register   |
| CV       | word           | DDDDD              | 0               | 65535           | Counter Memory  |
| TV       | word           | DDDDD              | 0               | 65535           | Timer Memory    |

## 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. 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
  - log
  - exp
- **Only Publish on Change of Value**: Select the checkbox to customize NATS messages to be published only when the *value&#x20;*&#x70;arameter changes from a previous value to a new one. *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.
- **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. It can then be used to find, use, and reuse particular instances of data.&#x20;

