Read hold registers (0x03), Preset multiple registers (0x10), Ppendix – Flintec FT-12 Manual User Manual
Page 36: Tructure
FT-12 Technical Manual, Rev. 1.35 November 2010
Page 36 of 44
A
PPENDIX
3: 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 : Function code is not supported
2 : Out of starting and ending address range
3 : Invalid value entry
4 : Operation error
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 Add
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 : Function code is not supported
2 : Out of starting and ending address range
3 : Invalid value entry or wrong byte number
4 : Operation error