Write Single Input Register Command (0X06) - 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
Field Name
Start address of coils to write (high)
Start address of coils to write (low)
Number of coils to write (high)
Number of coils to write (low)
Byte count
Data to write coils 20 - 27
Data to write coils 28 – 29
Error Check (CRC) byte 1
Error Check (CRC) byte 2
Response Details
Table 3-29
Write Multiple Coils Response (RX) from Master
Field Name
Slave Address
Function
Start address of coils to write (high)
Start address of coils to write (low)
Number of coils to write (high)
Number of coils to write (LOW)
Error Check (CRC) byte 1
Error Check (CRC) byte 2
3.5.4

Write Single Input Register Command (0x06)

Description
The "write input register" command allows the Modbus master to write a value to a specified
input register in the drive.
Example
A sample of a "write input register" request to write a value to register 40067 and the associated
response, in hexadecimal, is given below.
Write Input Register Command
TX (Request)
RX (Response)
The meaning of the sample request and associated response is detailed in the following table.
68
Value (in Hex)
0x00
0x13
0x00
0x0A
0x02
0xCD
0x00
Value (in Hex)
0x01
0x0F
0x00
0x13
0x00
0x0A
Description
Start address is coil number 20
Write 10 coils starting from coil 20
2 bytes total
Byte 1 of CRC for this message
Byte 2 of CRC for this message
Description
0x01 = 1 decimal
Write multiple coils command
Start address is coil number 20
Write 10 coils starting from coil 20
Byte 1 of CRC for this message
Byte 2 of CRC for this message
01 06 00 42 00 64 -- --
01 06 00 42 00 64 -- --
Function Manual, AB, A5E33486415A
NXGpro Communication

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents