
IE-SNC-T43(4)11-02
11
-----------------------------------------------------------------------------------------------------
FUNCTION
Function
code
0x90
-----------------------------------------------------------------------------------------------------
DATA
Code of exception
0x??
-----------------------------------------------------------------------------------------------------
Writing to transducer registers procedure:
•
transducer address is stored at Modbus address 0x2001 as binary number
•
code of communication speed is stored at Modbus address 0x2002
Communication
speed [Bd]
Code of
communication
speed [hex]
110 94F2
300 369D
600 1B4F
1200 0DA7
2400 06D4
4800 036A
9600 01B5
14400 0123
19200 00DA
38400 006D
56000 004B
57600 0049
115200 0024
1.
Close jumper located next to connection terminals of the transducer.
2.
Read entire area 0x2001 to 0x2040 to master device. Check sum of entire area is stored at
address 0x2040. It is calculated as sum of 16bit values from addresses 0x2001 to 0x2039.
Stored are lowest 16 bits of this sum – it enables to check correct reading of the area.
3.
Modify content corresponding to addresses 0x2001 and 0x2002 in master device as
required.
Setting of other values should not be changed!
4.
Calculate new check sum of entire area, i.e. sum of 16bit values corresponding to values at
addresses from 0x2001 to 0x2039 and store lowest 16 bits to position corresponding to
address 0x2040.
5.
Write such modified area together from master device to addresses from 0x2001 to 0x2040.
6.
Open jumper.
Example:
Transducer with address 0x01, communication speed 9600Bd, to change to address 0x9F
and 115200Bd
For
reading area
is sent via link:
01 03 20 00 00 40 4F FA
01 transducer
address
03
command for reading of 16-bit registers
20 00 initial address (sent address is indexed from zero, during Modbus request for
reading of address 0x2001 physically is sent 0x2000 via link)
00 40 read 64 registers (0x40), i.e. 128 Byte
4F FA CRC of Modbus