background image

25 

ATIM_ACW-DINRSM_UG_EN_V2.8 

The ACW will return the version number in the following format:  

 

Modbus request 

To achieve a Modbus request, you would need to send the below command: 

 

Size - Byte 2 

Frame size from Byte n°3.  

 

In case of requests: 

 

0x01 = Function code 0x01, Read Coils. 

 

0x02 = Function code 0x02, Read Discrete Inputs. 

 

0x03 = Function code 0x03, Read Holding Registers. 

 

0x04 = Function code 0x04, Read Input Registers 
 

The size must match to the value of 6, because Bytes 9..12 are not necessary in case of reading requests;  and the 
global size of the command must not exceed 8 Bytes, in order to allow its emission through a Sigfox downlink. 

 

In case of requests: 

 

0x0F = Function code 0x0F, Write Coils (Exclusively available on LoRaWAN version) 

 

0x10 = Function code 0x10, Write Holding Registers (Exclusively available on LoRaWAN version) 

 
The size includes, in addition, the number of extra Bytes representing the number of registers/bits to force. It can 
therefore vary from 7 to 10. 

As the global size will necessarily exceed 8 Bytes (from 9 to 12 Bytes), these two writing requests will not be 
available on Sigfox versions. 

 

@Modbus slave - Byte 2 

This parameter deals with the Modbus ID or the Modbus slave address. 

 

Description and value

 

Byte 1 

Response to command frames: 0x07  

Byte 2

 

‘Protocol version’ command: 0x07

 

Byte 3

 

Protocol version (LSB) 

Byte 4

 

Protocol version (MSB) 

Byte 1 

Byte 2 

Byte 3

 

Byte 4

 

Byte 5

 

Byte 6

 

Byte 7

 

Byte 8

 

Byte 9 .. 12

 

0xC1

 

Size 

0x7F 

@Modbus 

Slave 

Function 

code 

@Reg/

bit 

LSB 

@Reg/b

it 

MSB 

Number of 

registers/bit

Value of 

bits/Register 

to force 

Содержание ACW/LW8-DINRSM

Страница 1: ...iocommunications Chemin des Guillets 38250 Villard de Lans France www atim com contact atim com Concerned models ACW LW8 DINRSM ACW SF8 DINRSM ATIM Cloud Wireless Modbus PLC connector DINRSM RS485 Use...

Страница 2: ...al start up behavior 9 Parameter settings and configuration 9 a Parameter settings 9 b Configuration via USB 12 Transmitting information on IoT networks Sigfox LoRaWAN 17 a Keep alive frame 17 b Perio...

Страница 3: ...Translation corrections YM 3 2 0 2 4 30 03 2018 Correction of values for configuring the number of bits of serial link AM 3 2 0 2 7 23 05 19 Connections board corrections SC 3 2 3 2 8 25 02 2020 Down...

Страница 4: ...3 1b of the 1999 5 EC Directive EN 301489 3 v1 4 1 EN 301489 1 V1 9 2 3 Efficient use of the radio frequency spectrum Art 3 2 of the 1999 5 EC Directive ETSI EN300 220 2 v2 4 1 and EN300 220 1 v2 4 1...

Страница 5: ...service or the business from which you purchased the product b Radio Modems in the ACW line are radio communication modems that use the ISM industrial scientific and medical bands which may be used f...

Страница 6: ...Temperature 20 C to 55 C operation 40 C to 70 C storage Mounts to DIN rail Power supply 1x power supply 10 30 V DC Frequency 865 870 MHz Power 25 mW 14 dBm Transfer rate Sigfox 100 bps LoRaWAN 300 bit...

Страница 7: ...lating material PVC ABS fibreglass you can also simply use a small wave whip antenna Ref ATIM ANT868 12FSC This antenna must be firmly screwed onto the SMA connector and positioned vertically preferab...

Страница 8: ...C power supply between 10 V and 30 V that can provide a minimum current of 100 mA RS485 top terminal block The maximum cable length will depend on the type of serial link and the baud rate in use A ma...

Страница 9: ...an error Success or failure of an operation Behaviour The RED or GREEN flashes rapidly for about second A RED light indicates failure while a GREEN light indicates success Event When switching on the...

Страница 10: ...lace Parameter settings and configuration a Parameter settings Serial link parameters The RS serial link can be configured with different parameters Not all parameter settings are compatible with one...

Страница 11: ...ames for LoRaWAN and 6 radio frames for Sigfox every hour Modbus timeout During Modbus communication if a slave does not respond during the specified time an error will be reported This period is set...

Страница 12: ...ou must choose the correct value in order to identify what data are included in the frame When concatenation is used only the header of the first frame will be used Number of registers or bits to read...

Страница 13: ...tation CONFIGURATEUR ACW configurateur acw exe Connect the ACW DINRSM to your computer with a micro USB cable then start the ACW configuration tool When you connect the ACW DINRSM the ACW configuratio...

Страница 14: ...t described You can also access these actions more quickly by using the keyboard shortcuts shown on the right side of the context menu When adding or editing a Modbus frame a window like the one below...

Страница 15: ...s T or select from the context menu A Modbus frame is created and sent to the debugging terminal at the bottom of the main window which automatically switches to Modbus mode If any errors occur the re...

Страница 16: ...s just one Modbus frame The figure below shows the radio frames that will be sent out if the Modbus slaves respond Radio frame 40 Byte 1 2 3 17 18 23 24 31 32 33 Data 0x03 40 Values of the 120 bits fr...

Страница 17: ...16 ATIM_ACW DINRSM_UG_EN_V2 8 Radio frame 90 Byte 1 2 3 36 Data 0x03 90 Values of the 17 registers from frame 7...

Страница 18: ...regular configurable interval the statement period Frame format Byte 1 2 3 4 Data 0x03 Header Values of Modbus registers and or bits read from the slave s The header is a configurable parameter and m...

Страница 19: ...as not received a response within the specified time period This occurs when the timeout value is too small or if the slave device is not present on the serial link 0xFB CRC error The Modbus CRC retur...

Страница 20: ...d will be lost a Parameters The following is a description of all the accessible parameters Serial link parameter setting Code 10 Size and Code Byte 1 Value Bytes 2 and 3 0x40 10 0x4a 0xYYYY The value...

Страница 21: ...hese bits are 0x00 7 bits of data 0x10 8 bits of data default Number of stop bits for serial link Byte 3 bits 6 to 7 The possible values in byte 3 for these bits are 0x40 1 stop bit default 0x80 2 sto...

Страница 22: ...fer for this parameter consists of 6 bytes as follows Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Function code Concatenation Slave Reg bit LSB Reg bit MSB Header Number of registers bits NOTE By defaul...

Страница 23: ...he register or bit where the read operation should start Byte 3 corresponds to the low order byte of the value and byte 4 corresponds to the high order byte of the value Header Byte 5 This parameter c...

Страница 24: ...x02 The ACW will return the information in the following format NOTE In LoRaWAN the four high order bytes are replaced by 0 Description and Value Byte 1 Response to command frames 0x07 Byte 2 About co...

Страница 25: ...the protocol version in use To obtain information about the version of the ATIM Downlink protocol implemented in the ACW DIN RSM you must send it the following command Byte 1 Byte 2 0x01 0x07 Descrip...

Страница 26: ...e 0x0F Write Coils Exclusively available on LoRaWAN version 0x10 Function code 0x10 Write Holding Registers Exclusively available on LoRaWAN version The size includes in addition the number of extra B...

Страница 27: ...Byte 7 deals with the most significant byte of the value Number of registers bits Byte 8 This parameter deals with the number of registers or bits to read or write In case of function codes 0x0F Writ...

Страница 28: ...er of multiples of 8 from the number of requested bits plus 1 Eg If the reading of 7 bits is requested the answer will only hold one Byte grouping all 7 bits If 9 bits are requested the answer will ho...

Страница 29: ...0x01 0x03 0x0F 0x00 0x02 Answer 0x07 0x7F 0xYYYY15 0xYYYY16 With 0xYYYYz value of register z coded on 2 Bytes Writing request of 15 bits on the slave 2 from bit 520 Request 0xc1 0x08 0x7F 0x02 0x0F 0x...

Страница 30: ...Also make sure that you have an up to date version of the configuration tool File menu Update Replace the USB cable If you receive an Error writing configuration unplug the USB cable and plug it back...

Страница 31: ...30 ATIM_ACW DINRSM_UG_EN_V2 8 Technical support For any further information or technical question you can open a ticket on our technical support dedicated webpage...

Отзывы: