background image

 

m2m Germany GmbH | Am Kappengraben 18-20 | 61273 Wehrheim | 06081 5873860 

 
 

Read Coil

 

Read Discrete Input

 

Read Holding Registers

 

Read Input Registers

 

Write Single Coil

 

Write Single Holding Register

 

Write Multiple Coils

 

Write Multiple Holding Registers

 

Parity

:

 

set the Modbus frame parity.

 

Note:

 

when saving these parameters, the system asks if you want to save only or to save and load the Modbus configuration file.

 

4.2.2 Registers  map configuration

 

Basic configuration is made through an .XLS file containing, for every row, the parameters of the register(s) to be read or write.

 

Template file can be downloaded here:

 

File can be uploaded via USB or sent with LoRaWAN® dowlinks.

 

Due to the radio regulation, the amount of data that the interface can send during a period of time can vary, and depends also from duty cycle, spreading factor and 
data rate.

 

For example, with EU868 band, the MCF-LW06485 can send from 1KB (SF = 12) to 30KB (SF = 7) every hour. In case of periodic transmission, you have to set the  
reading period related to the amount of data you have to send for every reading from the slaves.

 

4.2.3 Configuration file format

 

Label:

 

mnemonic label of the register.

 

Modbus address:

 

slave address (expressed as decimal value)

 

Modbus function: 

Function Code Register Type

 

1

 

2

 

3

 

4

 

5

 

6

 

15

 

16

 

Dec address:

 

register starting address (expressed as decimal value), without offset.

 

Note:

 

please check

 

Modbus length:

 

lenght (in word) of the register to be read or write.

 

Attention:in case of 

“W

rite Single 

Coil”, 

length must be  1, and data 00 (disable) or 01 (enable).

 

In case of 

“W

rite Multiple 

Coils”, 

Length is the number of coils, and data must be n byte long, with n = ( 7) / 8.

 

Data:

 

in case of write command, data to be write, hexadecimal values formatted as string.  

Always use 

‘ 

(single quote) before the digits).

 

Baudrate (bps):

 

serial line baudrate,only  needed if different from the settings in LoRaWEB. 
Allowed values: 1200, 2400, 4800, 9600, 19200. 38400, 57600, 115200.

 

Parity/stop:

 

serial line parity/stop,only  needed if different from the settings in LoRaWEB. 
Allowed values: 8-n-1, 8-n-2, 8-e-1, 8- o -1 for none, even or odd

 

Examples:

 

reading a 2 byte holding register, starting from address 10001 of slave 1

 

Label

   

Input status 1

 

3

 

10001

 

1

 

writing a 2 byte holding register (with value 1000h), starting from address 53 of slave 2:

 

Label 

Modbus address Modbus function Dec address Modbus length Data Baudrate (bps) Parity/stop

 

Analog output 1 2

 

4.2.4 Configuration with downlinks

 

Modbus address Modbus function Dec address Modbus length Data Baudrate (bps) Parity/stop

 

6

 

53

 

1

 

1000

 

Содержание enginko MCF-LW06485

Страница 1: ...EE and pursuant to and in accordance with Article 20 of the Directive 2013 56 EU of the European Parliament on batteries and accumulators and waste batteries Thebarred symbol of the rubbish bin shown...

Страница 2: ...chargeable battery Class CLoRaWAN stack EU868 AS923 AU915 US915 ModbusRTU RS485 Integrated termination and polarization resistors USB On The Go IoTnode setup ad firmware upgrade via USB interface Powe...

Страница 3: ...sitive power supply range 10 36Vdc J2 2GND Negative power supply Floor consumption included termination and polarization resistors 425mW Note add 600mW for aduration of 2 seconds for every LoRaWANtran...

Страница 4: ...antenna connector in place as inthe picture 3 2 Configuration To deploy the sensor use LoRaWEB online tool to setup LoRaWAN credentials and other preferences only available for Windows iot mcf88 cloud...

Страница 5: ...tart the update andwaiting for the end message 4 Setup 4 1Period Period isthe interval in minutes between one measure and the next one The sensor sends one measures for every transmission Value can be...

Страница 6: ...ster Modbus address slave address expressed as decimal value Modbus function Function CodeRegister Type 1 2 3 4 5 6 15 16 Decaddress registerstarting address expressed as decimal value without offset...

Страница 7: ...ding of one Modbus register and the one default 0 DST setto change DST default none Timesync uplink setto disable time synchronization request default enabled Normallysensor asks for atime sync at eve...

Страница 8: ...graben 18 20 61273 Wehrheim 06081 5873860 Press Check to verify the correct communication betweet the LoRaWAN interface and the slave s 6 LoRaWAN network The sensor iscompliant with LoRaWAN specificat...

Страница 9: ...ey AppSkey DevAddr The device exits factory activated with NONE mode On request devices can be shipped aleady activated Note in OTAAAppKey iswrite only in reading the field will always be empty even i...

Страница 10: ...e ask to enginko This isvery useful especially in case of multiple devices configuration With Save button an XML file with the actual configuration of the sensor will be generated This isuseful to sto...

Страница 11: ...ommands please refer to this document 11 Modbus overview 11 1 Modbus RTU basics ModbusRTU isbased on an RS485 bus TIA EIA 485 RS 485 isasingle differential balanced line half duplex Itprovides arobust...

Страница 12: ...des odd parity no parity may also be used In order to ensure amaximum compatibility with other products itisrecommended to support also No parity mode The default parity mode must be even parity Remar...

Страница 13: ...f the FCC Rules Operation issubject to the following two conditions 1 This device may not cause harmful interference and 2 this device must accept any interference received including interference that...

Страница 14: ...m2m Germany GmbH Am Kappengraben 18 20 61273 Wehrheim 06081 5873860 E info enginko com PEC enginkosrl legalmail it W enginko com rev 1...

Отзывы: