ATIM LoRaWAN ACW/LW8-DIN-RSM User manual

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

ATIM_ACW-DINRSM_UG_EN_V2.8
1
TABLE OF CONTENTS
Document version history........................................................................................................................2
Disclaimer.................................................................................................................................................2
Trademarks and copyright .......................................................................................................................2
Declaration of compliance.......................................................................................................................3
Environmental recommendations ...........................................................................................................3
a. Environment ...............................................................................................................................................3
b. Radio...........................................................................................................................................................4
Technical specifications ...........................................................................................................................5
Installation ...............................................................................................................................................6
a. Positioning ..................................................................................................................................................6
b. Connecting the modem ..............................................................................................................................7
c. Push button ................................................................................................................................................7
d. Interpreting the indicator lights..................................................................................................................8
Normal start-up behaviour ......................................................................................................................8
Parameter settings and configuration .....................................................................................................8
a. Parameter settings......................................................................................................................................8
b. Configuration via USB ...............................................................................................................................12
Transmitting information on IoT networks (Sigfox/LoRaWAN):............................................................17
a. Keep-alive frame.......................................................................................................................................17
b. Periodic frame (or triggered by pressing button) .....................................................................................17
c. Error frame ...............................................................................................................................................17
Receiving information from IoT networks (Sigfox/LoRaWAN) ..............................................................19
a. Parameters................................................................................................................................................19
b. Commands................................................................................................................................................22
Troubleshooting.....................................................................................................................................28
a. The modem cannot be configured via USB or the configuration tool page does not refresh..................28
b. Radio data not received............................................................................................................................28
c. Modem LED is not flashing .......................................................................................................................28
Technical support...................................................................................................................................28

ATIM_ACW-DINRSM_UG_EN_V2.8
2
Document version history
Document
version
Date
Description
Author
Affects software
version
2.8
25/02/2020
- Downlink command addition for
Modbus writing/reading
- Increase of the number of Modbus
requests from 32 to 49.
YL
3.3.5
2.7
23/05/2019
Connections board corrections
SC
3.2.3
2.6
21/05/2019
Version DIN-RSM and orthograph
corrections
Restriction of use in RS485
Graphics updated
ER
MD
3.2.3
2.4
30/03/2018
Correction of values for configuring the
number of bits of serial link.
AM
3.2.0
2.3
09/02/2018
First English version based on
UG_FR_V2.3
YM
3.2.0
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. The other trademarks mentioned in this document are the property of their respective
owners.

ATIM_ACW-DINRSM_UG_EN_V2.8
3
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)
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
Environmental recommendations
a. Environment
Respect the temperature ranges for storage and operation of all products. Failing to respect these guidelines
could disrupt device operation or damage the equipment.
Follow the instructions and warnings provided below to ensure your own safety and that of the environment
and to protect your device from any potential damage.

ATIM_ACW-DINRSM_UG_EN_V2.8
4
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.
WARNING: the safe operation of this product is ensured only when it is operated in accordance with its
intended use. Maintenance may only be performed by qualified personnel.
Waste disposal by users in private households within the European Union. This symbol appears on a product or
its packaging to indicate that the product may not be discarded with other household waste. Rather, it is your
responsibility to dispose of this product by bringing it to a designated collection point for the recycling of
electrical and electronic devices. Collection and recycling waste separately at the time you dispose of it helps to
conserve natural resources and ensure a recycling process that respects human health and the environment.
For more information on the recycling center closest to your home, contact your closest local government office,
your local waste management 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 freely (at no cost and with no authorization required) for industrial,
scientific and medical applications.

ATIM_ACW-DINRSM_UG_EN_V2.8
5
Technical specifications
Dimensions
90 x 57 x 17.9 mm
Antenna
External via SMA connector
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/s to 10 kbit/s
Current draw (24 V)
Sigfox:
LoRaWAN:
Tx mode (max)
40 mA
25 mA
Rx mode (max)
30 mA
10 mA

ATIM_ACW-DINRSM_UG_EN_V2.8
6
Space requirements and mounting
Dimensions indicated in mm.
‘Circuit-breaker’-style ACW DIN modems are mounted on a DIN rail.
Installation
a. Positioning
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.
➔If a metal box is used, the antenna must be positioned outside the box in order to ensure good radio
performance and avoid the ‘Faraday cage’ effect.
For optimal results, we recommend that the antenna be positioned high up and at least 1 metre away from
all metallic objects.

ATIM_ACW-DINRSM_UG_EN_V2.8
7
b. Connecting the modem
Terminal blocks:
Antenna (SMA):
Before connecting the product to mains power, connect the antenna: either a ½ wave whip
antenna (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).
Power supply (bottom terminal block):
The ACW-DINRSM must be supplied with a DC 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 maximum length
of 1 metre is appropriate for all use cases.
For an RS485 connection, you have the option to activate the 120Ω termination resistor:
•up (SMA side): resistor activated
•down (USB side): resistor deactivated
USB:
The USB connector allows you to configure the ACW with a PC and a USB cable. See section « Configuration
via USB » for more details.
To configure the device, it must be connected to power at 10/30 V DC.
c. Push button
The push button located on the front panel of the housing can be used to initiate a
Modbus/Radio cycle. This lets you test the Modbus configuration and radio connectivity. If no Modbus frame
is configured, a ‘keep-alive’ frame will be sent.
Name
Description
In / Out
GND
Earth/Ground (Gnd)
Earth
10/30V
Power supply between 10 V and 30 V
Input (power supply)
NC
Not connected
/
Tx/BZ
RS485 BZ
Bidirectional/differential
Rx/AY
RS485 AY
Bidirectional/differential
NC
Not connected
/

ATIM_ACW-DINRSM_UG_EN_V2.8
8
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 red light indicates 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 device (after a brief delay) to indicate it has started up correctly.
⚫After a Modbus frame if the response fails (red light).
USB connection or radio activity
When a radio message is sent over the network, the green light flashes every half-second
while it is being sent. This may last for up to one minute. This light flashes in a similar manner when the
product is connected via USB.
Modbus communication
During Modbus communication, the green light remains on throughout the entire process. If a Modbus error
is detected, the red light will flash rapidly.
Normal start-up behaviour
When the device is switched on, after a brief delay, the green light flashes rapidly for about
½ second to indicate that the device has started up correctly. The periodic frame is then sent out, based on
the statement period specified in the settings. If a USB cable is connected to the DINRSM, the green light will
flash as long as that connection is in place.
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 another.
The configurable parameters are as follows: 8N1, 8N2, 8E1, 8O1, 7N2, 7O1, 7O2, 7E1, 7E2.

ATIM_ACW-DINRSM_UG_EN_V2.8
9
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
⚫Even: E
⚫Odd: O
Number of bits for the serial link:
⚫7 bits
⚫8 bits (default)
Number of stop bits for the serial link:
⚫1 bit (default)
⚫2 bits
Frame period:
A complete radio cycle is composed of two phases: 1/ sending requests to one or several Modbus slave(s),
2/ broadcasting retrieved Modbus data via radio communication.
During requesting phase, up to 32 Modbus request frames are sent through serial link to slave Modbus
equipment, which return data requested by the ACW-DINRSM.
During radio emission phase, Modbus registers or bits retrieved by ACW-DINRSM are broadcast under one
or several frames according to the configuration.
The interval for this cycle is once per hour by default but can be configured for intervals ranging from 10
minutes to 28 days, in increments of 1 minute.

ATIM_ACW-DINRSM_UG_EN_V2.8
10
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. This period is set to 1 second by default and can be set to values from 100 milliseconds
to 65 seconds, in increments of 100 milliseconds.
Keep-alive frame parameter:
A keep-alive frame can be transmitted periodically. On a Sigfox network, this frame is also
used to request the transmission of a downlink frame, thus providing the ability to reconfigure the ACW
remotely via radio.
The following periods are available:
⚫Deactivated (no keep-alive frame is transmitted).
⚫Every hour.
⚫Every two hours.
⚫Every four hours.
⚫Every eight hours.
⚫Every day.
⚫Every two days.
⚫Every three days.
⚫Every four days. (default)
⚫Once a week (every 7 days).
⚫Once a month (every 30 days).
Parameter settings for Modbus and radio frames:
You can configure up to 49 Modbus frames and a certain number of radio frames, depending
on your statement period. A radio frame is defined by the parameters from the Modbus frames.

ATIM_ACW-DINRSM_UG_EN_V2.8
11
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.
Slave address
Indicates the address of the Modbus slave device.
Register or bit address
Indicates the address of the first register or bit to be read.
Radio header
The radio header is a value that is used to identify the type of radio frame. You 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
A frame is considered as unused if this value is equal to 0. Depending on the function code
you have selected and the number of frame concatenations, you can indicate the number of registers or bits
that you want to read. Keep in mind that a Sigfox radio frame cannot contain more than 10 bytes of data,
i.e. 5 Modbus registers. A LoRaWAN radio frame cannot contain more than 34 bytes of data, i.e. 17 Modbus
registers.
For more details, see the section on ‘Modbus frame parameters (Code 30 to 61)’

ATIM_ACW-DINRSM_UG_EN_V2.8
12
b. Configuration via USB
What version of the ACW configuration tool should you use?
For a DIN-RSM with application software version:
Use ACW configuration tool version:
V3.0 or earlier
3.7.15 or later
V3.2 or later
V4.4.0 or later
V3.3.5 or later
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. The current configuration of the connected ACW-
DINRSM device is automatically retrieved and displayed. A window appears, similar to the one below:

ATIM_ACW-DINRSM_UG_EN_V2.8
13
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.
Parameter settings for Radio and Modbus frames
In the Modbus section at the right, you can add radio (network) and Modbus frames, add a
Modbus frame to a radio (network) frame, edit a Modbus frame as well as delete and test Modbus frames.
Right-clicking in this area will open a context menu (shown below) that lists the various actions just
described. You can also access these actions more quickly by using the keyboard shortcuts shown on the
right side of the context menu.
ACW-DIN RSM
firmware version
Radio module firmware
version
radio module
Network ID
Product reference
Restore factory settings
Reload settings
Apply settings

ATIM_ACW-DINRSM_UG_EN_V2.8
14
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. Just above the frame
configuration area in the main window, you will see a summary of the number of frames that you have used
and the total number that you can use.
In Sigfox, you can configure one frame every ten minutes for a maximum of 6 frames every
hour. +
In LoRaWAN, you can configure one frame every four minutes for a maximum of 15 frames
every hour.
Testing Modbus frames
Before testing a Modbus frame, you must connect the ACW-RSM to your Modbus slave
device. Next, configure the parameters for the serial link and click ‘Apply’ to apply the serial parameters.
Create a Modbus frame by pressing ‘A’, clicking the ‘Add’ button or by right-clicking and
selecting from the context menu. The Modbus configuration window appears. Enter the parameters you
want to test, then confirm by clicking ‘OK’. Select the newly created frame and press ‘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 relevant sections of the
affected frames will be highlighted in red.

ATIM_ACW-DINRSM_UG_EN_V2.8
15
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.
Therefore, you should activate it by flipping the switch on the front of the device.

ATIM_ACW-DINRSM_UG_EN_V2.8
16
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
1
2
3, ..., 17
18, 23
24, .., 31
32, 33
Data
0x03
40
Values of the
120 bits from
frame 1
Values of the
43 bits from
frame 2
Values of the 4
registers from
frame 3
Values of the
register from
frame 4
Radio frame 41:
Byte
1
2
3, ..., 10
11, ..., 14
Data
0x03
41
Values of the 4
registers from frame 5
Values of the 2
registers from frame 6
Radio frame 90:
Byte
1
2
3, ..., 36
Data
0x03
90
Values of the 17 registers
from frame 7

ATIM_ACW-DINRSM_UG_EN_V2.8
17
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
1
2
3
4
5
6
Data
0x01
Power supply voltage of radio core
on standby (millivolts –typically
3300 mV)
Power supply voltage of radio core
when transmitting (millivolts –
typically 3300 mV)
0x64
b. Periodic frame (or triggered by pressing button)
This frame is sent to the network at a 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 must be set correctly in order to decode the
frame. Modbus registers are sent in a 2-byte format in MSB order.
c. Error frame
This frame is sent to the network when a Modbus or internal error occurs. Internal errors
may arise due to an incorrect Modbus configuration.
Note: This frame replaces a faulty radio frame. If the data in the radio frame were valid, they will be lost.
Frame format:
Byte
1
2
3
4
5
6
7
8
9
Data
0x83
Parameter
Radio
header
Error code
@Slave
Function
code
@Register
MSB
@Register
LSB
Number of
registers
The parameters of the Modbus frame are sent back to identify which frame failed. An error code is also
included to tell you which error occurred, so that you can correct your configuration if necessary. The error
codes are explained below:
Error code
Description

ATIM_ACW-DINRSM_UG_EN_V2.8
18
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. This can occur
if the specified number of registers or bits is too large and extends outside of the
authorised range of registers or bits.
0x03
Illegal data value: One or more values in the Modbus frame are not permissible.
0x04
Server failure: A non-recoverable error has occurred on the slave device.
0x05 - 0xF9
Reserved, not used
0xFA
Timeout: the Modbus frame has 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 returned by the slave is incorrect. This may be caused by a
bad connection between the devices.
0xFC
Modbus frame error: A communication error has occurred. The Modbus frame is ill-
formed and cannot be decoded. This may be caused by a bad connection between the
devices or by incorrect parameter settings for the serial link. Other factors can also cause
this error.
0xFD
Modbus buffer too small: The memory buffer for Modbus communication is full. This
occurs when the number of registers or bits to be read is too large. To resolve this error,
you must reduce the number of registers or bits read into the Modbus frame. This error
can also be caused by incorrect parameter settings for the serial link.
0xFE
Radio buffer too small: The memory buffer for radio communication is full. This occurs
when the number of radio frames is too large. To resolve this error, you must reduce the
number of register or bits read into one or more Modbus frames, and/or reduce the
number of radio frames.
0xFF
Internal error: An unspecified internal error has occurred. This can result from a number
of different causes.
Note: The codes in blue are returned directly by the Modbus server and the codes in green are specific to
the ACW-DINRSM.

ATIM_ACW-DINRSM_UG_EN_V2.8
19
Receiving information from IoT networks (Sigfox/LoRaWAN)
You can use this feature if your product includes a compatible radio version.
Sigfox radio firmware: Version 5931 or later
LoRaWAN radio firmware: Version 2.3.3 or later
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. During this process, ANY DOWNLINK FRAME you send will not be processed and 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 (0xYYYY) is broken down into several parts to contain the entire serial configuration. Note: the low
byte / LSB is first.
The default configuration is 0x5041. This corresponds to a serial link of type RS485, 19200 bps, no parity, 8
bits of data and one stop bit (8N1).
Type of serial link –Byte 2 –bits 0 to 1:
The possible values in byte 2 for these bits are:
⚫0x01 = RS485 (default)
Serial link speed –Byte 2 –bits 4 to 7:
The possible values in byte 2 for these bits are:
⚫0x00 = 1200 bps
⚫0x10 = 2400 bps
⚫0x20 = 4800 bps
⚫0x30 = 9600 bps
This manual suits for next models
1
Table of contents
Popular Cables And Connectors manuals by other brands

PCB Piezotronics
PCB Piezotronics 010T20 Installation and operating manual

PCB Piezotronics
PCB Piezotronics 018C03 Installation and operating manual

Chamberlain
Chamberlain 6610CD manual

Monoprice
Monoprice 10321 user manual

Mission Air
Mission Air MA ICE-20 instructions

TE Connectivity
TE Connectivity M12 Application Specification