Flintec FT-16D V.1.21 User Manual

Page 29

Advertising
background image

Terminal [hex] - Examples:
Performing direct read and write operations with the instrument address set to “01”. Empty spaces in the
example commands are only for a good pattern recognition; Use the commands without spaces.

Reading weight data

: 01, 03, 00,00, 00,02, C4,0B

Reading status data : 01, 03, 00,02, 00,01, 25,CA
Reading tare data : 01, 03, 00,03, 00,02, 34,0B
Activating tare

: 01, 10, 00,08, 00,01, 02, 00,02, 26,D9


- Details of an example: Loading setpoint 1 with value “1500”; STEP1: loading value to buffer memory

01 10 00,08

00,01 02

00,02

26,D9

FT

address

Write

function

Register

address

No. of

registers

Data byte

count

Data bytes:

CRC

checksum

Activating tare



Calculate check sums:

1. Load a 16–bit register with FFFF hex (all 1’s). Call this the CRC register.
2. Exclusive OR the first 8–bit byte of the message with the low–order byte of the 16–bit CRC register, putting the result in
the CRC register.
3. Shift the CRC register one bit to the right (toward the LSB), fill a zero into the MSB. Extract and examine the LSB.
4. (If the LSB was 0): Repeat Step 3 (another shift). (If the LSB was 1): Exclusive OR the CRC register with the polynominal
value A001 hex (1010 0000 0000 0001).
5. Repeat Steps 3 and 4 until 8 shifts have been performed. When this is done, a complete 8–bit byte will have been
processed.
6. Repeat Steps 2 through 5 for the next 8–bit byte of the message. Continue doing this until all bytes have been processed.
7. The final contents of the CRC register is the CRC value.
8. When the CRC is placed into the message, its upper and lower bytes must be swapped as described below.


Attention:

For hardware connection details please refer to the related hardware descriptions within this manual

For more Modbus information please refer to the web site

http://www.modbus.org


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

Page 29 of 32

Advertising
This manual is related to the following products: