### Micro/Premium/Twido/Quantum/Momentum Series

#### Device Address Specification

Device | Bit Address | Word Address | 32 bits | Notes
--- | --- | --- | --- | ---
Coil | 000001 - 065536 | 000001 - 065521 | or *1 |
Discrete Input | 100001 - 165536 | 100001 - 165521 | *2
Input Register | ----- | 300001 - 365536 | *2
Holding Register | 400001,00 - 465536,15 | 400001 - 465536 |

*1You can set the data storing order in 32-bit data word units and 64-bit data double-word units in the Device Setting dialog box.

*2Write disable

#### Supported Function Code

Below is the list of Supported Function Code.

Function Code (Hex) | Description
--- | ---
FC01 (0x01) | Reads the ON/OFF status of coils (0X references) in the slave.
FC02 (0x02) | Reads the ON/OFF status of discrete inputs (1X references) in the slave.
FC03 (0x03) | Reads the binary content of holding registers (4X references) in the slave.
FC04 (0x04) | Reads the binary content of input registers (3X references) in the slave.
FC05 (0x05) | Forces a single coil (0X references) to either ON or OFF
FC06 (0x06) | Presets a value into a single holding register (4X references).
FC15 (0x0F) | Forces each coil (0X references) in a sequence of coils to either ON or OFF.
FC16 (0x10) | Presets values into a sequence of holding registers (4X references).

NOTE

- FC15 / FC16 will be used for writing. In case if the connected controller do not support these function codes, then FC05 / FC06 will be used.

#### IEC61131 address syntax

The following table gives the equivalences between the Modbus syntax and the IEC61131 syntax.

Device | Modbus address syntax | IEC61131syntax
--- | --- | ---
Format | 0-based | 1-based
Format | Range | First element | Range | First element | Range | First element
Coil | 000001+i | i=0 to 65535 | 000001 | %Mi | i=0 to 65535 | %M0 | i=1 to 65536 | %M1
Discrete Input | 100001+i | i=0 to 65535 | 100001 | - | - | - | - | -
Input register (word) | 300001+i | i=0 to 65535 | 300001 | - | - | - | - | -
Input register (word bit) | 300001+i,j | i=0 to 65535 j=0 to15 | 300001,00 | - | - | - | - | -
Holding register (word) | 400001+i | i=0 to 65535 | 400001 | %MWi | i=0 to 65535 | %MW0 | i=1 to 65536 | %MW1
Holding register (word bit) | 400001+i,j | i=0 to 65535 j=0 to15 | 400001,00 | %MWi:Xj | i=0 to 65535 j=0 to 15 | %MW0:X0 | i=1 to 65535 j=0 to15 | %MW1:X0

NOTE

- The two areas 100000 and 300000 are not accessible with the IEC syntax.
- Once you change the project which you have setup Discrete Input Register to IEC 61131 Syntax, the address will be invalid.
- When the [Base Address] check box is selected for a 8-bit data type array or structure, and a %MW or %KW address is specified as the device address, the bottom byte and top byte of consecutive addresses is allocated to each element.
  Example: BYTE type array Var1
  Var1[0]...%MW1:X0
  Var1[1]...%MW1:X8
  Var1[2]...%MW2:X0
- Please refer to the precautions on manual notation for icons in the table.

Supported Devices Symbol and Terms

#### IEC61131 Syntax Address Mapping

Address mapping in BLUE is as follows. %MD and %MF use two sequential words form the specified address. The %KW, %KD, and %KF are mapped similarly.