Siemens SINAMICS S150 NEMA Operating Instructions Manual page 426

Converter cabinet units
Hide thumbs Also See for SINAMICS S150 NEMA:
Table of Contents

Advertisement

Operation
6.12 Communication via MODBUS TCP
Structure of a read request via Modbus function code 03 (FC 03)
Any valid register address is permitted as the start address.
Via FC 03, the control can address more than one register with one request. The number of
addressed registers is contained in bytes 10 and 11 of the read request.
Table 6- 60
Value
MBAP header
03 h
00 h
6D h
00 h
02 h
The response returns the corresponding data set:
Table 6- 61
Value
MBAP header
03 h
04 h
11 h
22 h
33 h
44 h
Table 6- 62
Read request
Invalid register address
Read a write-only register
Read a reserved register
Controller addresses more than 125 registers
The start address and the number of registers of an
address are located outside of a defined register block
Structure of a write request via Modbus function code 06 (FC 06)
Start address is the holding register address.
Via FC 06, with one request, only precisely one register can be addressed. The value, which
is written to the addressed register, is contained in bytes 10 and 11 of the write request.
424
Structure of a read request for device number 17, example
Byte
Description
7
8
Register start address "High" (register 40110)
9
Register start address "Low"
10
Number of registers "High" (2 registers: 40110; 40111)
11
number of registers "Low"
Device response to the read request, example
Byte
Description
7
8
Number of bytes (4 bytes are returned)
9
Data first register "High"
10
Data first register "Low"
11
Data second register "High"
12
Data second register "Low"
Invalid read request
Inverter response
Exception code 02 (invalid data address)
Telegram in which all values are set to 0.
Exception code 03 (invalid data value)
Exception code 02 (invalid data address)
Operating Instructions, 12/2018, A5E36652151A
Enclosed Drives

Advertisement

Table of Contents
loading

Table of Contents