beautypg.com

5 06h write single register, 6 10h write multiple register – NORD Drivesystems BU0050 User Manual

Page 66

background image

NORD USS and Modbus RTU Manual

66

Subject to technical amendments

BU 0050 GB-3111

2.5.5

06h Write Single Register

Enables writing of a single 16Bit parameter.

Master

Slave

Slave

Master

Function Code

1 Byte

0x06

Function Code

1 Byte

0x06

Address

2 Byte

0x0000 to 0xFFFF

Address

2 Byte

0x0000 to 0xFFFF

Parameter Value

2 Byte

0x0000 to 0xFFFF

Parameter Value

2 Byte

0x0000 to 0xFFFF

Example:

Parameter P102, parameter set 2 is written with the value 0x0123 (see also the item "Parameter access" in
Section 2.8 Description of parameters).

Query (Master

Slave)

Response (Slave

Master)

Address

0x08

Address

0x08

Function Code

0x06

Function Code

0x06

Address High

0x19

Address High

0x19

Address Low

0x81

Address Low

0x81

Parameter value High

0x01

Parameter value High

0x01

Parameter value Low

0x23

Parameter value Low

0x23

CRC High

0x9E

CRC High

0x9E

CRC Low

0x6E

CRC Low

0x6E

2.5.6

10h Write Multiple Register

This command enables several parameters to be written consecutively, and for parameters with a data length
of 32Bit.

In the process data area, all process data of the P050 parameter array can be written simultaneously.

If parameters are written with this access, only a single parameter can be written with a telegram. This access
is used to write 32Bit parameters.

NOTE

The parameter (P050) "Process data IN" and (P051) "Process data OUT" are executed in the
background and are not visible to the user. From a structural point of view, these are array
parameters ([-

01 … -04]). Assignment of the setpoints in parameter (P050) is carried out via

the parameters (P546 (… P548)). The return of the actual values in parameter (P051) is
assigned in parameters (P543 (… P545)).

Master

Slave

Slave

Master

Function Code

1 Byte

0x10

Function Code

1 Byte

0x10

Start address

2 Byte

0x0000 to 0xFFFF

Start address

2 Byte

0x0000 to 0xFFFF

Number of
parameters

2 Byte

0x0001 to 0x0004

Number of parameters

2 Byte

0x0001 to 0x0004

Number of bytes

1 Byte

0x01 to 0x08

Parameter Value

N*2 Byte