74
Version 17
Safe-E-
Stop™
User Guide
Modbus TCP Configuration
The MSD implements a Modbus TCP server that provides access to the I/O Data.
The Modbus TCP server is available on both the EtherNet/IP and PROFINET versions.
●
The server is accessible over
TCP port 502
●
Up to 8 simultaneous Modbus/TCP connections are supported
Table 25: Supported Function Codes
M
ODBUS
F
UNCTION
F
UNCTION
C
ODE
D
ESCRIPTION
Read Coils
1
Output Data Readback (discrete)
Read Discrete Inputs
2
Input Data Read (discrete)
Read Holding Registers
3
Output Data Readback (16-bit register)
Read Input Registers
4
Input Data Read (16-bit register)
Write Single Coil
5
Output Data Write (discrete)
Write Single Register
6
Output Data Write (16-bit register)
Write Multiple Coils
15
Output Data Write (discrete)
Write Multiple Registers
16
Output Data Write (16-bit register)
Mask Write Register
22
Output Data Modify (16-bit register)
Read/Write Registers
23
Output Data Write and Readback in a single operation (16-bit
register)
Table 26: Exception Codes
C
ODE
N
AME
D
ESCRIPTION
01h
Illegal function
The function code received in the query is not supported
02h
Illegal data address
The data address received in the query is outside the initialized memory area
03h
Illegal data value
A value contained in the query data field is illegal