LoRaWAN MODBUS MASTER - Guide utilisateur / User guide version V1.0.0
3.2. Command mode
Use a COM port terminal in order to communicate with the device. We use the HERCULES COM port soft terminal available to download for free
by clicking on the following link: https://www.hw-group.com/products/hercules/index_en.html
•
With Hercules, select the "Serial" tab, then configure the serial port with the following serial parameters:
FR
Parameters
Rate
Parity
Data
Stop Bit
EN
•
Select the serial port on which the device has been created with Windows (Name).
•
Click on the "Open" button to open the serial port.
NOTE INFORMATION :If the com port has been opened correctly, Hercules will display the message "Serial COM3 port opened".
Alternatively, "Serial port com opening error" will be displayed, meaning either that the com port is already open for another application, or it
does not exist.
You must send a specific frame in order to move the device to configuration mode.
Frame expressed in hexadecimals: 0x2B 0x2B 0x2B or « +++ ».
For Hercules, this frame must be entered in one of the 3 lines available at the bottom. The hexadecimal format must be expressed using a "$" in
this program, which gives us the following frame: $2B$2B$2B.
Send the transition frame in command mode in order to switch the device to configuration mode by clicking on the SEND button.
After a few seconds, You must see the 2 LEDs light up permanently.
On the com port terminal, you should also have «CONNECTING...» and « CM » feed-
back for Command Mode.
Sending a character on Hercules is displayed in magenta and receiving a character is
displayed in black. If you do not see sending characters, this is probably because ECHO
is not active on this program. To activate the option in the accessible menu, right click
in the viewing window.
Value
115 200 bps
None
8
1
Page
56
of 80