Commands supported by the module, Command entry formats, 2 commands supported by the module – ProSoft Technology 5201-MNET-ASCII User Manual

Page 25: 3 command entry formats

Advertising
background image

MNET ♦ ProLinx Gateway

Modbus TCP/IP Protocol Configuration

Modbus TCP/IP Interface Module

Driver Manual

ProSoft Technology, Inc.

Page 25 of 78

September 1, 2010

2.5.2 Commands Supported by the Module

The format of each command in the list depends on the Modbus Function Code
being executed.

The following table lists the functions supported by the module.

Function Code

Definition

Supported in Client

Supported in Server

1

Read Coil Status

X

X

2

Read Input Status

X

X

3

Read Holding Registers

X

X

4

Read Input Registers

X

X

5

Set Single Coil

X

X

6

Single Register Write

X

X

7

Read Exception Status

X

8

Diagnostics

X

15

Multiple Coil Write

X

X

16

Multiple Register Write

X

X

22

Mask Write 4X

X

23

Read/Write

X

Each command list record has the same general format. The first part of the
record contains the information relating to the communication module and the
second part contains information required to interface to the Modbus TCP/IP
Server device.

2.5.3 Command Entry Formats

The following table shows the structure of the configuration data necessary for
each of the supported commands.

1

2

3

4

5

6

7

8

9

10

Enable

Code

Internal

Address

Poll Interval

Time

Count Swap

Code

IP Address Serv

Port

Slave

Node

Function Code

Device Modbus

Address

Code

Register

(bit)

1/10th Seconds Bit

Count

0

IP Address Port # Address

Read Coil (0x)

Register

Code

Register

(bit)

1/10th Seconds Bit

Count

0

IP Address Port # Address

Read Input (1x)

Register

Code

Register 1/10th Seconds Word

Count

Code

IP Address Port # Address

Read Holding

Registers (4x)

Register

Code

Register 1/10th Seconds Word

Count

0

IP Address Port # Address

Read Input Registers

(3x)

Register

Code

1 bit

1/10th Seconds Bit

Count

0

IP Address Port # Address

Force (Write) Single

Coil (0x)

Register

Code

1 bit

1/10th Seconds Word

Count

0

IP Address Port # Address

Preset (Write) Single

Register (4x)

Register

Code

Register

(bit)

1/10th Seconds Bit

Count

0

IP Address Port # Address

Force (Write) Multiple

Coil (0x)

Register

Code

Register 1/10th Seconds Word

Count

0

IP Address Port # Address

Preset (Write) Multiple

Register (4x)

Register

Advertising