Frames Of Information On The Product Configuration - 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.1.02
Status byte
The status byte is broken down in the following way:
Alarm Status
Bit 7
No Error
FR
Configuration
done
Low bat
HW Error
Modbus
config error
EN
Slave read
error
Details of the fields:
Frame counter: Frame counter, it increments at each transmission and allows the user to see quickly if a frame has been lost. It counts from
0 to 7 before looping back.
HW: This bit is set to 1 when a hardware error has occurred, for example a writing problem in the EEPROM, a reading problem on the ADC,
etc. The product must be returned to the service dept.
Confg: bit at 1 if a confguration was carried out during the last downlink frame, otherwise 0. This bit returns to 0 as from the next frame
Config error : bit set to 1 to indicate that the application configuration is wrong. For example, the total number of Modbus registers is more
than 5 in the periodic setup.
Read error : bit set to 1 to indicate a Modbus read error. For example, a slave that does not respond to the master request.
E.g.:
A value of the status byte equal to 0xB1 (= 10110001 in binary) gives:
Bit 7 at 5 = 101 = 0x05 i.e. a frame counter at 5
Bit 4 at 0 = 10001 (binary) ie a read error on a slave and the validation of the configuration.

4.2.2 Frames of information on the product configuration

During the passage into operation mode (from the Park or Command Mode), the following frames (0x10 to 0x12) representing the application
configuration of the product are transmitted:
0
1
Code
Status
0x10
Cf Status
0x10
0xB2
Its size is of 10 bytes.
Description of the frame:
Byte 2 : register 300, Keep Alive frame period
Bytes 3 and 4 : register 301, periodicity of transmission (periodic mode), expressed in twenty of seconds
Byte 5 : register 306, product mode (Park, Standard (production), Test or REPLI)
Bytes 6 and 7 : register 320, data acquisition period for alarm
Byte 8 : register 321, Modbus link configuration
Byte 9 : register 322, configuration of supply time of the external load (slave) before the Modbus request
Bit 6
Bit 5
Frame Counter
0x00 to 0x07
2
3 and 4
5
PAYLOAD
S300
S301
S306
0x48
0x00B4
0x01
Bit 4
Bit 3
Read error
Config error
0
0
0
0
0
0
0
0
0
1
1
0
6 and 7
8
9
S320
S321
S322
0x00B4
0x44
0xC8
Bit 2
Bit 1
Bit 0
HW
Low Bat
Réservé
0
0
0
0
0
1
1
0
0
0
0
0
Page
x
x
x
x
x
x
62
of 77

Publicité

Table des Matières
loading

Table des Matières