10 communication examples – Rice Lake SCT-10 User Manual

Page 52

Advertising
background image

48 SCT Weight Transmitter Operator’s Manual

3.10 Communication Examples

The numerical data below are expressed in hexadecimal notation with prefix h.

Example 1

Command for multiple writing of registers (hexadecimal command 16, h10):
Assuming that we wish to write the value 0 to the register 40017 and the value

2000 to the register 40018, the string to generate must be:

h01 h10 h00 h10 h00 h02 h04 h00 h00 h07 hD0 hF1 h0F

The instrument will respond with the string:

h01 h10 h00 h10 h00 h02 h40 h0D

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 h02

Number of registers L

h02

Byte Count

h04

CRC16 H

h40

Datum 1 H

h00 CRC16

L

h0D

Datum 1 L

h00

Datum 2 H

h07

Datum 2 L

hD0

CRC16 H

hF1

CRC16 L

h0F

Advertising