Periodic Data Frame - ADEUNIS WMBUS MODBUS MASTER Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

WMBUS MODBUS MASTER - Guide utilisateur / User guide version V1.0.0

4.2.5 Periodic data frame

This frame (0x44) is transmitted at the frequency defined in register S301 and contains all the configured Modbus periodic data.
The organization of the bytes in this frame therefore depends on the configuration of the user by following the scheduling of the defined
MODBUS frames.
This frame has a maximum of 24 2-byte registers.
FR
0
1
Code
Status
0x44
Cf Status
Its size is of 50 bytes.
EN
Description of the frame :
Bytes 2 to 3 : value of the first register in the order of the configuration defined in registers 330 à 339
Bytes 4 to 5 : value of the second register in the order of the configuration defined in registers 330 à 339
...
Bytes 48 to 49 : value of the 24 register in the order of the configuration defined in registers 330 à 339
Using the configuration example in paragraph 2.2.1 as follows:
Register
S301
S322
S330
S331
The result frame is:
0
1
Code
Status
0x44
Cf Status
0x44
0xB2
In the example in grey this gives:
Bytes 2 to 3: the Modbus register 0x1518 of slave 0x01 is 0x1234
Bytes 4 to 5: the Modbus register 0x1519 of slave 0x01 is 0x5A20
Bytes 6 to 7: the Modbus register 0x0ED8 of slave 0x57 is 0x3F41
Bytes 8 to 9: the Modbus register 0x0ED9 of slave 0x01 is 0x6D72
Bytes 10 to 11: the Modbus register 0x0EDA of slave 0x01 is 0xE042
Bytes12 to 13: the Modbus register 0x0EDB of slave 0x01 is 0x0025
2 to 3
4 to 5
Modbus
Modbus
Register 1
Register 2
Value encoding
Value
Decimal
Decimal
Hexadecimal
Hexadecimal
2 to 3
4 to 5
Modbus register
Modbus register
0x1518 of slave
0x1519 of slave
0x01
0x01
0x1234
0x5A20
6 to 7
8 to 9
PAYLOAD
Modbus
Modbus
Register 3
Register 4
Result
180
Periodic mode with a period of 180x20s = 3600
seconds = 1h
200
The supply time of the external load (slave) before
the Modbus request is 200x100 = 20000ms ie 20s
0x01151802
Periodic data 1 configuration:
0x570ED814
Periodic data 2 configuration:
6 to 7
8 to 9
PAYLOAD
Modbus regis-
Modbus register
ter 0x0ED8 of
0x0ED9 of slave
slave 0x57
0x57
0x3F41
0x6D72
...
48 to 49
...
Modbus Regis-
ter 24
Slave address = 0x01
First register address = 0x1518
Modbus registers type : holding registers
Number of registers = 2
Slave address = 0x57
First register address = 0x0ED8
Modbus registers type : input registers
Number of registers = 4
10 to 11
Modbus register
Modbus register
0x0EDA of slave
0x0EDB of slave
0x57
0xE042
12 to 13
0x57
0x0025
Page
64
of 77

Publicité

Table des Matières
loading

Table des Matières