Valid MBP_MSTR Function Codes

Using the MBP_MSTR block, network communication operations can be triggered via the network. As shown in the following table, each operation has a function code assigned to it. The availability of specific operations depends on both the type of network and the type of module you are using.

Function Code

Operation

Modbus Plus

TCP/IP Ethernet

SY/MAX Ethernet

CIP Ethernet

1

Write data

X

X

X

-

2

Read data

X

X

X

-

3

Get local statistics

X

X

-

-

4

Clear local statistics

X

X

-

-

5

Write global data, peer cop

X

-

-

-

6

Read global data, peer cop

X

-

-

-

7

Get remote statistics

X

X

-

-

8

Clear remote statistics

X

X

-

-

9

Peer cop health status

X

-

-

-

10

Reset optional module

-

X

X

-

11

Read CTE (Config extension)

-

X

X

-

12

Write CTE (Config extension)

-

X

X

-

13

Send E-mail

-

X

-

-

14

CIP Explicit message

-

-

-

X

15

Send Modbus Request

-

X

-

-

16

Close Connection Request

-

X

-

-

17

Change Modbus Plus Address

X

-

-

-

23

Read / write data

-

X

-

-

65520 (dec) FFF0 (hex)

Enable / disable HTTP or FTP/TFTP

-

X

-

-

where:

  • X indicates Yes

  • - indicates No