Frames Of Information On The Product Configuration - 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
4.1.1.02
Status byte
The status byte is broken down in the following way:
Alarm Status
No Error
FR
Configuration
done
HW Error
Modbus
config error
Slave read
EN
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.1.2 Frames of information on the product configuration

Following reception of a downlink frame with the code 0x01 or on switching to the operating mode (from the Park or Command Mode), the
next frame (0x10) representing the application confguration of the product is transmitted:
0
1
Code
Status
0x10
Cf Status
0x10
0xB1
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 7
Bit 6
Frame Counter
0x00 to 0x07
2
3 and 4
S300
S301
0x48
0x00B4
Bit 5
Bit 4
Read error
Config error
0
0
0
0
1
5
6 and 7
PAYLOAD
S306
S320
S321
0x01
0x00B4
0x44
Bit 3
Bit 2
HW
Reserved
0
0
0
0
0
1
1
0
0
0
8
9
S322
0xC8
Bit 1
Bit 0
Config
X
0
X
1
X
0
X
0
X
0
Page
62
of 80

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arf8240ca

Table des Matières