Appendix 2: host mode data structure, Read hold registers (0x03), Preset multiple registers (0x10) – Flintec FT-16D V.1.21 User Manual

Page 26: Ppendix, Tructure

Advertising
background image

A

PPENDIX

2: H

OST

M

ODE

D

ATA

S

TRUCTURE

If related parameters are adjusted for host communication, the weight indicator will be connected to your system
in Host Mode. Functions “0x03” and “0x10” are supported.

Read Hold Registers (0x03)

This function code is being used to read the information in the register addresses which have been permitted to
be read from holding registers. The reading operation will be performed by transmitting the information about
the registry to be read as given in the “Request Table”. The indicator will evaluate the received data and will
respond the info in the format as stated in the “Reply Table” or “Error Table”.

Request:

Field Name

Host-Bus

ASCII Code

STX @

64

Slave address

X X

X,X

Function 0

3

48,51

Address registers high

X X

X,X

Address registers low

X X

X,X

No. of addr. registers high

X X

X,X

No. of addr. registers low

X X

X,X

Error check

X X (csum)

X,X

EOP Cr

13

Reply

:

Field Name

Host-Bus

ASCII Code

STX @

64

Slave address

X X

X,X

Function 0

3

48,51

No. of data registers

X X

X,X

Data high

X X

X,X

… X

X

X,X

Data low

X X

X,X

Error check

X X (csum)

X,X

EOP Cr

13

Error:

Field Name

Host-Bus

ASCII Code

STX @

64

Slave address

X X

X,X

Function 8

3

56,51

Exception code

X X

X,X

Error check

X X (csum)

X,X

EOP Cr

13

Exception Codes:

1 : Funktionscode wird nicht unterstützt
2 : Außerhalb des Adressbereiches
3 : Ungültiger Eingabewert
4 : Ausführungsfehler

Preset Multiple Registers (0x10)

This function code is used to edit the information in the register addresses of the holding registers which are
allowed to be overwritten. The write operation will be performed by transmitting the information about the
registry to be changed as stated in the “Request Table”. The indicator will evaluate the received data and will
respond the info in the format as stated in the “Reply Table” or “Error Table”.

Request:

Field Name

Host-Bus

ASCII Code

STX @

64

Slave address

X X

X, X

Function

1 0

49, 48

Address registers high

X X

X, X

Address registers low

X X

X, X

No. of addr. registers high

X X

X, X

No. of addr. registers low

X X

X, X

No. of data registers

X X

X, X

Data high

X X

X, X

Data low

X X

X, X

Error check

X X (csum)

X, X

EOP Cr

13

Reply :

Field Name

Host-Bus

ASCII Code

STX @

64

Slave address

X X

X, X

Function

1 0

49, 48

Address registers high

X X

X, X

Address registers low

X X

X, X

No. of addr. registers high

X X

X, X

No. of addr. registers low

X X

X, X

Error check

X X (csum)

X, X

EOP Cr

13

Error :

Field Name

Host-Bus

ASCII Code

STX @

64

Slave address

X X

X, X

Function

9 0

57, 48

Exception code

X X

X, X

Error check

X X (csum)

X, X

EOP Cr

13

Exception Codes:

1 : Funktionscode wird nicht unterstützt
2 : Außerhalb des Adressbereiches
3 : Ungültiger Eingabewert oder falsche Byte-
Nr.
4 : Ausführungsfehler



FT-16(D) Technical Manual, Rev. 1.21 December 2008

Page 26 of 32

Advertising
This manual is related to the following products: