Periodic Data Frame - ADEUNIS sigfox MODBUS MASTER Guide Utilisateur

Masquer les pouces Voir aussi pour sigfox MODBUS MASTER:
Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

sigfox MODBUS MASTER - Guide utilisateur / User guide version V1.0.0
Response frame (0x31) from the product:
0
1
Code
PAYLOAD
0x31
Status
In this example: CONFID1 is a 2-byte register, CONFID2 a 1-byte register and CONFID3 a 2-byte register.
FR
If an error is detected in the request, the returned 0x31 frame will be empty.

4.1.6 Periodic data frame

This frame (0x46) 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.
EN
This frame has a maximum of 5 2-byte registers.
0
Code
PAYLOAD
0x44
Cf Status
Its size is of 12 bytes.
Description of the frame :
Bytes 2 to 3 : value of the first register in the order of the configuration defined in registers 330 to 334
Bytes 4 to 5 : value of the second register in the order of the configuration defined in registers 330 to 334
...
Bytes 10 to 11 : value of the fifth register in the order of the configuration defined in registers 330 to 334
Using the configuration example in paragraph 2.2.1 as follows:
Register
S301
S322
S330
S331
The result frame is:
0
Code
0x44
0x44
2
3
VALUE1
VALUE1
1
2 to 3
4 to 5
Modbus
Modbus
register 1
register 2
Value encoding
Decimal
Decimal
Hexadecimal
Hexadecimal
1
2 to 3
Status
Cf Status
Modbus register
0x1518 of slave
0x01
0xB1
0x1234
4
5
...
PAYLOAD
VALUE2
VALUE3
VALUE3
6 to 7
8 to 9
PAYLOAD
Modbus
Modbus
register 3
register 4
Value
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:
Slave address = 0x01
First register address = 0x1518
Modbus registers type : holding registers
Number of registers = 2
0x570ED814
Periodic data 2 configuration:
Slave address = 0x57
First register address = 0x0ED8
Modbus registers type : input registers
Number of registers = 4
4 to 5
6 to 7
PAYLOAD
Modbus register
Modbus register
0x1519 of slave
0x0ED8 of slave
0x01
0x57
0x5A20
0x3F41
11
X
10 à 11
Modbus
register 5
8 to 9
Modbus register
Modbus register
0x0ED9 of slave
0x0EDA of slave
0x57
0x57
0x6D72
0xE042
10 to 11
Page
64
of 80

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arf8240ca

Table des Matières