11.15 MODBUS TCP Slave (All function)

Supported series: MODBUS TCP controller

HMI works as MODBUS TCP MASTER coonecting with TCP SLAVE

HMI Setting

Items

Settings

Note

Protocol

MODBUS TCP Slave (All function)

Connection

Ethernet

Port No.

502

PLC station No.

1

Address list

Type

Register

Function code & Description

Word

3

04 (read input register: read current binary value in one or more input registers)

06 (write single register: write a binary value to a holding register)

10 (write values to multiple addresses )

4

03 (read holding register: read current binary value in one or more holding registers)

06 (write single register: write a binary value to a holding register)

10 (write values to multiple addresses )

W6

03 (read holding register: read current binary value in one or more holding registers)

06 (write single register: write a binary value to a holding register)

10 (write values to multiple addresses )

W16

03 (read holding register: read current binary value in one or more holding registers)

10 (write values to multiple addresses )

Bit

0

01 (Read coil state)

05 (Force a single coil to force the on/off state of a logic coil)

0F (Write multiple bits, ie write continuously)

1

02 (Read the input state)

05 (Force a single coil to force the on/off state of a logic coil)

0F (Write multiple bits)

W5

01 (Read coil state to obtain the current state of a set of logic coils)

05 (Force a single coil to force the on/off state of a logic coil)

0F (Write multiple bits)

W15

01 (Read coil state to obtain the current state of a set of logic coils)

0F (Write multiple bits)

Communication settings

1) Enable HMI Ethernet in [Project Settings];

2) Set PLC IP in [Device IP] settings;

Communication cable

Last updated