Write Multiple Input Registers Command (0X10) - Siemens SINAMICS PERFECT HARMONY GH180 Function Manual

Nxgpro communication medium-voltage variable frequency drive
Hide thumbs Also See for SINAMICS PERFECT HARMONY GH180:
Table of Contents

Advertisement

Modbus Communication
3.5 Functions
3.5.6

Write Multiple Input Registers Command (0x10)

Description
The "write multiple input registers" command allows the Modbus master to write up to 64 values
(in a single command) to multiple input registers in the drive.
Example
A sample of a "write multiple input registers" command to write to 2 registers and the
associated response, in hexadecimal, is given below.
Write Multiple Input Registers Command
TX (Request)
RX (Response)
The meaning of the sample request and associated response is detailed in the following tables.
Request Details
Table 3-31
Write Multiple Input Registers Request (TX) from Master
Field Name
Slave Address
Function
Starting Address (high)
Starting Address (low)
Number of Registers (high)
Number of Registers (low)
Byte Count
Preset Data 1 (high)
Preset Data 1 (low)
Preset Data 2 (high)
Preset Data 2 (low)
Error Check (CRC) byte 1
Error Check (CRC) byte 2
Response Details
Table 3-32
Write Multiple Input Registers Response (RX) from Drive
Field Name
Slave Address
Function
70
01 10 00 43 00 02 04 00 64 24 E3 -- --
01 10 00 43 00 02 -- --
Value (in Hex)
0x01
0x10
0x00
0x43
0x00
0x02
0x04
0x00
0x64
0x24
0xE3
Value (in Hex)
0x01
0x10
Description
0x01 = 1 decimal
Write multiple input registers command
Register number 40068
Write to 0x0002 (2) registers
4 bytes total
Value = 0x0064 (100 decimal)
Value = 0x24E3 (9443 decimal)
Byte 1 of CRC for this message
Byte 2 of CRC for this message
Description
0x01 = 1 decimal
Write multiple input registers command
NXGpro Communication
Function Manual, AB, A5E33486415A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents