Error check calculating, Page 40 of 52 – Flintec FT-11D User Manual

Page 40

Advertising
background image

FT-11(D) Technical Manual, Rev. 1.35 November 2010

Page 40 of 52

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

NA

D5 Output

1

D6 Output

2

D7 Output

3

1 – Output active

D8 Input

1

D9 Input

2

D10 Input

3

1 – Input active

D11 0

NA

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 is 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

Use Preset Tare (Buffer: Adr. Reg. 0009)*

0006

Download setpoints to indicator (Buffer Add.
Reg. 000B, 000D, 000F )

0007

Upload setpoints to buffer (Buffer Add. Reg.
000B, 000D, 000F )

0008 Start

Control 10

(W)

0008

0001

02

0009 Reset

Set Point 1

03(R) / 10(W)

000B

0002

04

xxxx xxxx

Buffer memory; Data = used value in hex

Set Point 2

03(R) / 10(W)

000D

0002

04

xxxx xxxx

Buffer memory; Data = used value in hex

Set Point 3

03(R) / 10(W)

000F

0002

04

xxxx xxxx

Buffer memory; Data = used value in hex

Advertising
This manual is related to the following products: