ATIM LoRaWAN ACW/LW8-DIN-RSM User Manual

Modbus plc connector din-rsm / rs485

Advertisement

Quick Links

ATIM Cloud Wireless
Modbus PLC connector
DIN-RSM / RS485
User Guide
Concerned models:
ACW/LW8-DIN-RSM
(Modbus master)
ACW/SF8-DIN-RSM
(Modbus master)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LoRaWAN ACW/LW8-DIN-RSM and is the answer not in the manual?

Questions and answers

Summary of Contents for ATIM LoRaWAN ACW/LW8-DIN-RSM

  • Page 1 ATIM Cloud Wireless Modbus PLC connector DIN-RSM / RS485 User Guide Concerned models: ACW/LW8-DIN-RSM (Modbus master) ACW/SF8-DIN-RSM (Modbus master)
  • Page 2: Table Of Contents

    ABLE ONTENTS Document version history ........................2 Disclaimer ..............................2 Trademarks and copyright ........................2 Declaration of compliance ........................3 Environmental recommendations ......................3 Environment ............................... 3 Radio ................................4 Technical specifications ........................... 5 Installation ............................... 6 Positioning ..............................6 Connecting the modem ..........................
  • Page 3: Document Version History

    3.2.0 UG_FR_V2.3 Disclaimer The information contained in this document is subject to change without warning and does not represent a commitment on the part of ATIM. Trademarks and copyright ® ® ATIM, ACW ATIM Cloud Wireless and ARM Advanced Radio Modem are registered trademarks of ATIM SARL in France.
  • Page 4: Declaration Of Compliance

    Declaration of compliance ® All ACW Atim Cloud Wireless products comply with the regulatory requirements of the R&TTE Directive (1999/5/EC), article 3: 1 SAFETY (Article 3.1a of the 1999/5/EC Directive) NF EN60950-1 Ed. 2006/A1:2010/A11:2009/A12:2011 (health) EN62479: 2010 (power <20mW) or EN62311:2008 (power > 20mW) 2 Electromagnetic Compatibility (Article 3.1b of the 1999/5/EC Directive)
  • Page 5: Radio

    General hazard – Failure to follow the instructions presents a risk of equipment damage. Electrical hazard – Failure to follow the instructions presents a risk of electrocution and physical injury. WARNING: do not install this equipment near any source of heat or any source of humidity. WARNING: for your safety, it is essential that this equipment be switched off and disconnected from mains power before carrying out any technical operation on it.
  • Page 6: Technical Specifications

    Technical specifications Dimensions 90 x 57 x 17.9 mm Antenna External via SMA connector -20°C to +55°C (operation) Temperature -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) Sigfox: 100 bps...
  • Page 7: Installation

    This version was designed for installation in an electrical box made of PVC or metal. If the box is made of insulating 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, preferably pointing upward.
  • Page 8: Connecting The Modem

    (ref. ATIM ANT868-12FSC) or an external antenna — ¼ wave (ref. ATIM ANT868- 14S4.0) with a metallic ground plane or ½ wave (ref. ATIM ANT868-12S3.8) — or a roof antenna with a low-loss cable (ref. ATIM ANT868-BZ or ANT868-08).
  • Page 9: Interpreting The Indicator Lights

    d. Interpreting the indicator lights The indicator lights are used to display the state of operation of the DINRSM. In general, a green light indicates correct operation, while a light indicates an error. Success or failure of an operation Behaviour: green flashes rapidly for about ½...
  • Page 10 Type of serial link: ⚫ Only RS485 Serial link baud rate: ⚫ 1200 bps ⚫ 2400 bps ⚫ 4800 bps ⚫ 9600 bps ⚫ 19200 bps (default) ⚫ 38400 bps ⚫ 57600 bps ⚫ 115200 bps Serial link parity: ⚫ No parity (default): N ⚫...
  • Page 11 To ensure compliance with radio standards, it is essential that you select an appropriate interval time for the number of radio frames that will be broadcast. This comes to 15 radio frames 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.
  • Page 12 Therefore, you must configure the following parameters: Modbus function code The following function codes are available: Function code Name 0x01 Read Coils 0x02 Read Discrete Inputs 0x03 Read Holding Registers 0x04 Read Input Registers Concatenation with previous frame This parameter provides the option to not create a new radio frame and to include the result of the Modbus frame with the result of the previous Modbus/radio frame.
  • Page 13: Configuration Via Usb

    V4.5.9 or later Download and install the configuration tool ‘setupACW.exe’ at: http://www.atim.com/en/support-2/downloading/ 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 configuration tool window changes to give you access to parameter settings for your device.
  • Page 14 Product reference Apply settings ACW-DIN RSM Radio module firmware Reload settings Network ID Restore factory settings firmware version version radio module Four major sections can be distinguished here. The ‘Serial parameters’ section is at the top left, ‘Other parameters’ at the centre left, the Modbus configuration section at the right and the debugging area at the bottom.
  • Page 15 When adding or editing a Modbus frame, a window like the one below will appear. Use this window to configure all the parameters for your Modbus frame. Note : To edit the Radio (Network) header, you will have to edit the first Modbus frame. The number of Modbus and radio (network) frames is limited.
  • Page 16 In the example above, 3 tests have been performed on the same frame. The first two have failed and the last one has succeeded. In this way, you can adjust the timeout period and the parameters for your frames. With RS485, if ‘00’ appears after the timeout when testing a Modbus frame, this probably means that the RS485 termination resistor is not activated.
  • Page 17 Configuration example In this example, we have 3 radio frames with headers of 40, 41 and 90 plus 7 Modbus frames. Radio frame 40 contains 4 Modbus frames; radio frame 41 contains 2 Modbus frames; and radio frame 90 contains 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...
  • Page 18: Transmitting Information On Iot Networks (Sigfox/Lorawan)

    Transmitting information on IoT networks (Sigfox/LoRaWAN): a. Keep-alive frame This frame is sent to the network instead of the periodic frames if no Modbus frame is configured. Frame format: Byte Data 0x01 Power supply voltage of radio core Power supply voltage of radio core 0x64 on standby (millivolts –...
  • Page 19 0x00 Reserved, not used 0x01 Illegal function: The Modbus server does not support the specified function code; it may not be configured or implemented. 0x02 Illegal data address: One or more register or bit addresses are not permissible. This is due to a register or bit address outside of the slave’s addressable range.
  • Page 20: Receiving Information From Iot Networks (Sigfox/Lorawan)

    The document ‘ATIM_ACW-DLConfig_UG_FR_Vx.x.pdf’ explains how exchange frames work for this function. This document is available for download at www.atim.com. You can also ask your technical support team for a copy. Important note: When you send the command to request the ACW configuration, several uplink frames will be sent.
  • Page 21 ⚫ 0x40 = 19200bps (default) ⚫ 0x50 = 38400 bps ⚫ 0x60 = 57600 bps ⚫ 0x70 = 115200 bps Serial link parity – Byte 3 – bits 0 to 1: The possible values in byte 3 for these bits are: ⚫...
  • Page 22 Modbus frame parameters (Code 30 to 61): These parameters are ‘buffered’ parameters: one or more parts of the configuration can be applied/accessed. Refer to the document ‘ATIM_ACW-DLConfig_UG_FR_vx.pdf’ for more details. The buffer for this parameter consists of 6 bytes, as follows: Octet 1 Octet 2 Octet 3...
  • Page 23: Commands

    @Reg/bit – Byte 3 and Byte 4: This parameter corresponds to the address of the 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 –...
  • Page 24 The ACW will return the information in the following format: Description and Value Octet 1 Response to command frames: 0x07 Octet 2 ‘About’ command: 0x02 Octet 3 Type of ACW: DIN RS – 0x06 Octet 4 ACW version (LSB) Octet 5 ACW version (MSB) Octet 6 Radio type:...
  • Page 25 Octet 3, n The parameters contained in the configuration frames. Obtain 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: Octet 1...
  • Page 26 ⚫ 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 octets representing the number of registers/bits to force.
  • Page 27 Values of bits/Registers to force - Octet 9 .. 12: Values exclusively to inquire for function codes 0x0F, Force WriteCoils and 0x10, Write Holding Registers. In case of other requests, these octets must not be included in the command to send. L’ACW retournera une réponse à...
  • Page 28 Answer: 0x07 0x7F 0xYYYY 0xYYYY With 0xYYYY : value of register z (coded on 2 octets) ⚫ Writing request of bits on the slave from bit Request: 0xc1 0x08 0x7F 0x02 0x0F 0x08 0x02 0x0F 0b0X With X : value of the bit y to write Answer: 0x07 0x7F 0x0F ⚫...
  • Page 29: Troubleshooting

    • Check whether the power supply is correctly connected to the modem • Configure the modem using the USB configuration tool Technical support Contact our technical support team by email with any questions or technical problems you may have: www.atim.com/en/support-2/technical-support/ ATIM_ACW-DINRSM_UG_EN_V2.8...

This manual is also suitable for:

Lorawan acw/sf8-din-rsm

Table of Contents