Modbus; Modbus Functions For Modbus Tcp Server And Modbus Rtu Slave; Exception Responses For Modbus Tcp Server And Modbus Rtu Slave - Siemens SICAM Q100 System Manual

Class a power quality instrument and power monitoring device
Hide thumbs Also See for SICAM Q100:
Table of Contents

Advertisement

Communication

2.2 Modbus

2.2
Modbus
2.2.1

Modbus Functions for Modbus TCP Server and Modbus RTU Slave

NOTE
The Modbus functions are the same for Modbus TCP (Ethernet) and Modbus RTU (serial).
The Modbus TCP server of SICAM Q100 supports the following Modbus functions:
Table 2-1
Function
Number
03
(03H)
06
(06H)
16
(10H)
2.2.2

Exception Responses for Modbus TCP Server and Modbus RTU Slave

NOTE
The exception responses for Modbus TCP (Ethernet) and Modbus RTU (serial) are the same.
The Modbus server performs a series of consistency checks of the Modbus client requests, and if errors (for
example request to read a nonexistent register) are detected, it generates Modbus exception codes which are
signaled to the Modbus client in exception responses messages.
The messages contain the following codes:
Exception Code 01
ILLEGAL_FUNCTION
The Modbus client uses a function that is not supported by the Modbus server of the SICAM Q100. The
supported Modbus functions are listed in chapter .
Exception Code 02
ILLEGAL_DATA_ADDRESS
An attempt is made to read out or write to a nonexistent Modbus register (see chapter 2.2.7, Modbus
mapping for valid registers).
An attempt is made to read out or write to too many registers. A Modbus message enables reading out
125 holding registers and writing to 123 holding registers maximum.
The Modbus client tries to write to a register in the Modbus server for which only read access is allowed
according to the Modbus mapping (see chapter 2.2.7).
18
Supported Modbus TCP Server Functions
Function
Description
Name
Read Holding
Reading one or more holding registers from the Modbus server
Registers
Up to 125 registers can be read with one message.
Write Single
Writing a holding register
Register
Function 16 is used for writing multiple holding register using one Modbus
message.
Write Multiple
Writing one or more holding registers
Registers
Up to 123 registers can be written with one message.
SICAM Q100, 7KG95xx, System Manual
E50417-C1040-C522-A8, Edition 09.2020

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents