
15
3 Functions
The following functions are available to the instrument:
3.1 Read n words
This function reads n words, starting from a defined address.
Data request
Response
Example
Read the 2 setpoints of the controller
Word address = 0x1053 (setpoint W1)
Data request:
Response:
Function number
Function
0x03/0x04
Read n words
0x06
Write 1 word
0x10
Write n words
Slave
address
Function
0x03 or 0x04
Address of
first word
No. of words
(max. 127)
Checksum
CRC16
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Slave
address
Function
0x03 or 0x04
Number of
bytes read
Word
value(s)
Checksum
CRC16
1 byte
1 byte
1 byte
x byte(s)
2 bytes
07
03
10
53
00
04
B0BE
07 03 08
0000
41C8
0000
4120
5416
Setpoint 1
(25.0)
Setpoint 2
(10.0)
Summary of Contents for DICON 400
Page 2: ......
Page 18: ...3 Functions 18...
Page 20: ...4 Data flow 20...
Page 38: ...5 Address tables 38...
Page 42: ...6 Sample program 42...
Page 43: ......