4�3�3�- WRITE COMMANDS
ReadWatt
supports the integer type write functions:
0x10
.
The device's
MODBUS
variables are specified in
.
Example:
Changing the
MODBUS
address of peripheral 01 to the address
0x000A
.
We will send the following
MODBUS
frame:
Address
Function
Initial
Register
Register no�
No� bytes
Data
CRC
01
10
0008
0001
02
000A
CRC
The device will respond to us with the next frame:
Address
Function
Initial
Register
Register no�
CRC
01
10
0008
0001
CRC
Note:
The values are shown in hexadecimal.
The number of logs to write must be the same as the size of the variable that is being accessed.
It is possible to write several consecutive addresses, if the request meets the correct format.
4�3�4�- MODBUS VARIABLES
Table 6: Readwatt MODBUS variables�
Description
Address
(Hexadecimal)
Size
Read/Write
Default value
Modbus Address
0x0008
16 bits
Read/Write
10
Transmission speed
(Baudrate)
0x010C
16 bits
Read/Write
0:
9600
1:
19200
2:
38400
0:
9600
Serial no.
0x0060
32-bit
Read
-
firmware version
0x0050
3 x16 bits
Read
-
Maximum width of impulses in ms
0x0106
16 bits
Read/Write
250 ms
Minimum width of impulses in ms
0x0107
16 bits
Read/Write
2 ms
Weight count value per output impulse
0x0108
16 bits
Read/Write
10
Relationship between optical impulses
and counting register
0x0109
16 bits
Read/Write
1000
Transformation ratio
(1)
0x010A
16 bits
Read/Write
1
Output impulse width in ms
0x010B
16 bits
Read/Write
100 ms
Instantaneous values
Impulse register
0x0600
64 bits
Read
-
Counting register
0x0604
64 bits
Read
-
Counting register
0x07D0
64 bits
Read/Write
-
15
Instruction Manual
ReadWatt
Содержание ReadWatt
Страница 1: ...INSTRUCTION MANUAL M018B01 03 22A Impulse sensor ReadWatt...
Страница 2: ...2 ReadWatt Instruction Manual...
Страница 19: ...32 15 25 6 Figure 10 ReadWatt dimensions 19 Instruction Manual ReadWatt...
Страница 21: ...8 CE CERTIFICATE 21 Instruction Manual ReadWatt...
Страница 22: ...22 ReadWatt Instruction Manual...
Страница 23: ...23 Instruction Manual ReadWatt...