Rice Lake SCT-10 User Manual

Page 53

Advertising
background image

Operation 49

Example 2

Command for multiple writing of registers (hexadecimal command 16, h10):
Assuming that we wish to write the two setpoint values on the instrument, at

2000 and 3000 respectively, the string must be sent:

h01 h10 h00 h10 h00 h04 h08 h00 h00 h07 hD0 h00 h00 h0B hB8
hB0 hA2

The instrument will respond with the string:

h01 h10 h00 h10 h00 h04 hC0 h0F

Query Field Name

Hex

Response Field Name

Hex

Instrument Address

h01

Instrument Address

h01

Function h10

Function

h10

Address of the first register H

h00

Address of the first register H

h00

Address of the first register L

h10

Address of the first register L

h10

Number of registers to send H h00

Number of registers H

h00

Number of registers to send L h04

Number of registers L

h04

Byte Count

h08

CRC16 H

hC0

Datum 1 H

h00 CRC16

L

h0F

Datum 1 L

h00

Datum 2 H

h07

Datum 2 L

hD0

Datum 3 H

h00

Datum 3 L

h00

Datum 4 H

h0B

Datum 4 L

hB8

CRC16 H

hB0

CRC16 L

hA2

Advertising