Error check calculating – Flintec FT-16D V.1.21 User Manual

Page 27

Advertising
background image

Error Check Calculating:

CSUM = 0 – (Slave_Add + Function + … + Last_data)
(STX and CSUM are neglected while calculating CSUM)

Tool for counting:

0 1 2 3 4 5 6 7 8 9 A B C D E F


Example:
@|01|10|0008|0001|02||0006|DE|<Cr>

To get the check sum (here FA) you have to sum following numbers first:
01+10+00+08+00+01+02+00+06 = 22

Now you have to subtracte 22 from 00:
00 - 22 = DE

(Calculation examples: 00 – 10 = F0 ; 00 – 11 = EF)

Command

Function

(Read /

Write)

Address

register

Quantity
Address

register

Quantity

Data

register

Data Definition

Display value

03 (R)

0000

0002

--

-----

Current display value; gross or net
Transfer the replied status data (hex, 4 digits)
into binary (up to 16 digits) and compare the
binary digits with the following table.
Digit Definition
D0

Busy

1 – System Busy

D1

Data ok

1 – Data ok // 0 – Error

D2 Motion

1 – Weight is not
stable

D3

Net Mode

1 – Net mode

D4 0
D5 0
D6 0
D7 0
D8 0
D9 0
D10 0
D11 0
D12 0

NA

0 No

Errors

1

ADC out of range

2

ADC over range

3

ADC under range

4 System

fault

Status 03

(R)

0002

0001

--

-----

D13
D14
D15

Error Code;
transfer
D13, D14,
D15
(binary) to
decimal and
compare to
code

5

FT not in
weighing mode

Tare weight

03 (R)

0003

0002

--

----

Current tare weight

Gross Weight

03 (R)

0005

0002

--

----

Current gross weight

---- None

0001 Zero
0002 Tare
0003 Clear
0004 Print
0005 NA
0006 NA
0007 NA
0008 NA

Control 10

(W)

0008

0001

02

0009 NA



Examples:

The commands will be used for an indicator which instrument address is set to 1.


Reading weight data:

@010300000002FA<Cr>

Reading status data:

@0103000200019F<Cr>

Reading Tare data:

@010300030002F7<Cr>

Taring:

@011000080001020002E2<Cr>


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

Page 27 of 32

Advertising
This manual is related to the following products: