User's Manual

Table Of Contents
Document : WCAMODHEL.sxw
5. COMMUNICATION MODES
The purpose of this part is to explain the methods of use of each four modes of communication, the format of
the commands Request/response, and their corresponding parameters.
5.1- 'Frame Exchange’ Mode
This type of radio exchange allows to send a request, then to await a response of the distant equipment.
Remark : following the transmission of the radio frame, the WaveCard remains in radio reception, during a
time given by the parameter RADIO_USER_TIMEOUT, so as to receive the response of the distant
module.
During this phase, the RS232 serial connection is not managed. This command is more specifically
intended for the reading of CORONIS SYSTEMS telemetry equipment (temperaturemeasurement,
moisture, flow, level, management of difital states ...)
5.1.1 - Configuration of the parameters relating to the 'Frame Exchange' mode
The parameters are accessible by commands REQ_READ_RADIO_PARAM, and REQ_WRITE_RADIO_PARAM
(all the parameters are developed in appendix 3).
NUM DESCRIPTION VALUE
SIZE
(in
bytes)
0x04
RADIO_ACKNOWLEDGE : indicates if
the radio frames must be
acknowledged by the receiver.
0 : no acknowledge (default value)
1 : acknowledge used
1
0x06
RELAY_ROUTE_STATUS : Parameter
relative to Relay route transmission in
each relayed frame received
0x00 : Relay route transmisson
deactivated
0x01 : Relay route transmission activated
by default, Relay route transmisson
1
0x07
RELAY_ROUTE : Table containing the
radio addresses for successive
repeaters to use to reach the final
equipment.
BYTE 1 : number of repeaters in the route
Maximum repeater number = 3
If BYTE 1 != 0
BYTES 2 à 7 : First repeater radio
address
…, and so on.
1 à 19
0x0C
RADIO_USER_TIMEOUT : time-out used
for the reception of a response frame
Value in multiples of 100ms
default value = 0x14 (2 seconds)
1
0x0
E
EXCHANGE_STATUS : parameter
relative to the error or status frame
management activation.
0 : status and error frame deactivated,
1 : error frame activated,
2 : status frame activated,
3 : both status and error frames activated,
by default, RECEPT_ERROR_STATUS =
0x00.
1
WCAMODHEL Handbook page 38 of 74