Modbus TCP Master

Modbus TCP Master

Modbus TCP Master(Client)

Β 

Supported devices and requirements

Β 

Description

Notes

Distributor

MODICON

Β 

Device

MODBUS TCP supported devices

Β 

Comm. Module

Β 

Β 

Comm. Type

Ethernet

Β 

Protocol

MODBUS TCP

Β 

Communication Driver

MODICON Modbus TCP(New)

Β 

Communication Settings

COM BLOCK

Β 

Data Type : Select one of the following types: Coil Status (Digital) / Input Status (Digital) / Holding Register (Analog) / Input Register (Analog)

Data Type

Type

R/W

Identifier

No. of data

Function code

Coil Status

Digital

Read/Write

0

2000

1(5)

Input Status

Digital

Read Only

1

2000

2

Input Register

Analog

Read Only

3

125

4

Holding Register

Analog

Read/Write

4

125

3(6)

Identifier means that the tag’s address in UltimateAccess Web must start with it. For example, using Coil Status and its address 102 means that the address is 00102.

Function code means the MODBUS protocol’s command code used to read the corresponding data type in this I/O driver. The code in the brackets are used to write the corresponding data type.

Β 

  • Address : After deciding the identifier, designate the starting address of the block. It must be within the range of 1 to 65536.

  • No. of data : Sets the number of data to read, starting from the address assigned to Address. For digital types, the number of data is always in bits. For analog types, the number of data is always in words.

Address Format

Address format (Analog, Digital)

Identifier

Address

Address format (Bit data from Analog)

Identifier

Address

.

Bit number

  • Identifier : All the MODBUS addresses should start with the identifier. If the user tries to read bit data from an analog address, the identifier must be either 3 or 4, and it’s read-only.

  • Address : Enter the starting address of the data to read from. It can range from 1 to 65536. In case of using hexadecimal number to indicate the address, add 'h' at the end of the address. (Example : 100FFh = 255th Input Status)

  • Bit number : Enter a value that ranges from β€˜0’ to β€˜F’. Only hexadecimal value is allowed.

  • Example 1 : β€œ10009” = 9th address of Coil Status

  • Example 2 : β€œ41001.F” = 16th bit in 1001st address of Holding Register