HER090 - RS-485 ADD - ON BOARD
P RELIMINARY U SER M ANUAL REV 0.1
WWW. MAESTRO - WIRELESS . COM
E MAIL : CONTACT @ MAESTRO - WIRELESS . COM
T EL : 852 2869 0688
FAX : 852 2525 4701
A DDRESS : R OOM 3603-3609, 36/F, 118 C ONNAUGHT R OAD W EST, S HEUNG WAN , H ONG KONG
Revision history
Rev.
0.1
Date
26 August 2011
Details
First issue
Originated by
Pierre-Emmanuel Surga
This manual is written without any warranty.
Maestro Wireless Solutions Ltd. reserves the right to modify or improve the product and its accessories
which can also be withdrawn without prior notice.
Besides, our company stresses the fact that the performance of the product as well as accessories depends
not only on the proper conditions of use, but also on the environment around the places of use.
Maestro Wireless Solutions Ltd. assumes no liability for damage incurred directly or indirectly from errors,
omissions or discrepancies between the modem and the manual.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
1
Contents
1 Description
1.1 Overview of the HER090
4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
1.2 Interfaces specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
1.2.1 Enclosure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
1.2.2 Digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
1.2.3 Digital outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
1.2.4 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
1.2.5 RS485 serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
2 Interfacing the HER090
7
2.1 Reading the analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
2.2 Using the digital inputs and outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
3 Installation
9
3.1 Remove the dust cover on Main Unit (HER010) . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
3.2 Plug in the add-on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
3.3 Fasten screws . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
3.4 Fasten screws (when using DIN Rail Clip) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
3.5 Connect the add-on board I/O interfaces
12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
2
Safety precautions
General precautions
– The modem generates radio frequency (RF) power. When using the modem care must be taken on
safety issues related to RF interference as well as regulations of RF equipment.
– Do not use your phone in aircraft, hospitals, petrol stations or in places where using GSM products is
prohibited.
– Be sure that the modem will not be interfering with nearby equipment. For example: pacemakers or
medical equipment. The antenna of the modem should be away from computers, office equipment,
home appliance, etc.
– An external antenna must be connected to the modem for proper operation. Only used approved antennas with the modem. Please contact authorized dealer on finding an approved antenna.
– Always keep the antenna with minimum safety distance of 26.6 cm or more
Protecting your modem
– To ensure error-free usage, please install and operate your modem with care. Do remember the following:
– Do not expose the modem to extreme conditions such as high humidity/rain, high temperatures, direct
sunlight, caustic/harsh chemicals, dust, or water.
– Do not try to disassemble or modify the modem. There is no user serviceable part inside and the
warranty would be void.
– Do not drop, hit or shake the modem. Do not use the modem under extreme vibrating condition.
– Do not pull the antenna or power supply cable. Attach/ detach by holding the connector.
– Connect the modem only according to the instruction manual. Failure to do it will void the warranty.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
3
Chapter 1
Description
The HER090 is an optional add-on board to the Maestro Heritage Main Unit (ordering code HER010), that
adds various inputs and outputs interfaces dedicated for remote metering and data acquisition applications,
as well as an isolated RS-485 serial port.
The RS-485 serial interface allows the Heritage modem to be directly connected to all kinds of industrial serial
equipments, and is isolated. This is perfect for industrial automation projects, automated meter reading and
remote monitoring of facilities.
The HER090 also features four isolated digital inputs, four isolated digital outputs and one 0-10V analog input.
This document is intended to provide support to software developpers and installers. For more details about
software that support this add-on board and how to use it, please refer to the user manual of that software.
1.1
Overview of the HER090
– A: Expansion connector (to HER010 Heritage Main Unit)
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
4
– B: I/O terminal blocks
– C: I/O terminal blocks
– D: I/O terminal blocks, RS485 interface, DIP switches
1.2
Interfaces specifications
1.2.1
Enclosure
The HER090 is made of PC/ABS plastic, rated to UL-94V0 flammability.
It features several mounting holes, two of these being designed to securely mate the add-on board and the
Heritage main units. Additional holes can be used to mount the wireless gateway in an electrical cabinet, etc.
Note: The assembly of HER010 and HER090 can be fit with the Heritage DIN clip, for mounting
on a 35mm industrial rail.
1.2.2
Digital inputs
There are four digital inputs on the HER090. Each digital input can either work as regular opto-isolated digital
input that are similar to the digital input of the other Heritage add-on boards (voltage mode), to directly interface
with voltage signals.
The digital input reads a low level when a voltage of 0V is applied at the input, and a high level when a voltage
of 5V to 32V is applied. 32V is the maximum absolute rating of the digital input.
1.2.3
Digital outputs
The four digital outputs of the HER090 are opto-isolated open-collector type. Each digital output is fit with a
rectifier diode so that it can be used to directly drive external relays.
The digital outputs support a voltage of 60V DC and have a rated current of 100mA.
Being open-collector type, the digital outputs do not issue any voltage information, but rather a change in the
output status will result in a change of the impedance of the output. This can be converted to a voltage signal
using an external voltage source and an external pull-up / pull-down resistor. This gives more flexibility to the
installer of the modem.
1.2.4
Analog input
The HER090 is fit with one analog input. It can directly interface with analog sensors with a 0-10V voltage
output. Standard 0-20mA or 4-20mA current sensors can be read if the appropriate external resistor is added.
The analog input is not differencial, and has a 10 bits resolution (the HER090 uses the Sierra Q26 internal
ADC). This interface has a 50kOhm input impedance.
The analog input does not provide a power source to power an external sensor. An external power source is
required.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
5
1.2.5
RS485 serial interface
The main function of the HER090 is this isolated RS485 interface for connecting to industrial machines. This
serial interface is connected to the Sierra Q26 UART2 port.
The RS485 communication channel is half-duplex. The transmission direction (sender or receiver) is set
automatically by the hardware, so that there is no need for the software developper to take care of this. It is
however necessary to switch off the hardware flow control on UART2 (AT+IFC=0,0 or by using openAT).
ESD Protection: ±8kV air discharge RS485 isolation: 1500Vrms, short-circuit and overvoltage protected.
DIP switches are used to enable or disable termination, pull-up and pull-down resistors, so that the RS485
interface can be tweaked for all kind of industrial environments:
– TERMINATION : enables or disables a 120ohm shunt resistor between the two leads of the RS485
interface.
– PULL UP RES : enables or disables a 560ohm resistor to pull-up RS485+ signal to 5V. This 5V voltage
and is defined by reference to the pull-down voltage.
– PULL DOWN RES : enables or disables a 560ohm resistor to pull-down RS485- signal to 0V. This 0V
voltage is isolated and is defined by reference to the pull-up voltage.
The DIP switch is closed (meaning that the associated resistor is enabled) when it is in upward position. When
in downward position, the switch is opened and the associated resistor is disabled.
A VCC OUT pin gives an external access to this isolated 5V voltage. It is recommended not to use this
interface for anything else than RS485 bus polarization. This is not a power source.
A GND pin gives access to the isolated ground of the RS485 interface.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
6
Chapter 2
Interfacing the HER090
2.1
Reading the analog input
The analog input is read directly from the Q26 ADC signal. Thanks to an internal resistor bridge, a 10V signal
at the connectors of the HER090 will be seen as a 2V signal on the ADC (respectively, 0V will be seen at 0V).
2.2
Using the digital inputs and outputs
The digital inputs of the HER090 are directly mapped to GPIO1, GPIO2, GPIO4 and GPIO5 signals of the
HER010 microcontroller as described in the following table:
Microcontroller signal
GPIO5
GPIO4
GPIO2
GPIO1
Digital input
1
2
3
4
The digital outputs of the HER090 are directly mapped to GPIO35, GPIO34, GPIO30 and GPIO31 signals of
the HER010 microcontroller as described in the following table:
Microcontroller signal
GPIO35
GPIO34
GPIO30
GPIO31
Digital output
1
2
3
4
The GPIO signals must first be set as inputs or outputs:
AT+WIOM= 1 , " GPIO35 " , 0
AT+WIOM= 1 , " GPIO34 " , 0
AT+WIOM= 1 , " GPIO30 " , 0
AT+WIOM= 1 , " GPIO31 " , 0
AT+WIOM= 1 , "GPIO5 " , 1
AT+WIOM= 1 , "GPIO4 " , 1
AT+WIOM= 1 , "GPIO2 " , 1
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
7
AT+WIOM= 1 , "GPIO1 " , 1
Then you can set the outputs with the following commands:
AT+WIOW="GPIO35 " , 0
set output 1 to 0
AT+WIOW="GPIO35 " , 1
set output 1 to 1
AT+WIOW="GPIO34 " , 0
set output 2 to 0
AT+WIOW="GPIO34 " , 1
set output 2 to 1
AT+WIOW="GPIO30 " , 0
set output 3 to 0
AT+WIOW="GPIO30 " , 1
set output 3 to 1
AT+WIOW="GPIO31 " , 0
set output 4 to 0
AT+WIOW="GPIO31 " , 1
set output 4 to 1
And read the inputs with the following commands:
AT+WIOR="GPIO5 "
Read input 1
AT+WIOR="GPIO4 "
Read input 2
AT+WIOR="GPIO2 "
Read input 3
AT+WIOR="GPIO1 "
Read input 4
The digital inputs and outputs can be driven from an openAT application in a similar manner.
Maestro Wireless Solutions provides several ready-to-use solutions to handle the digital inputs and outputs of
the modem remotely, please contact us for details.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
8
Chapter 3
Installation
Note: This chapter does not cover the installation of the HER010 main unit itself. Please refer
to the HER010 user manual for details.
3.1
Remove the dust cover on Main Unit (HER010)
This will expose the mounting slot; the connector pins can be seen inside the slot.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
9
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
10
3.2
Plug in the add-on
Align the connector end of HER090 and slide it into the mounting slot. The ribs on the connector end guide
the sliding action. Push until the connector goes all the way in. The action is normally very smooth.
3.3
Fasten screws
Use the 2 screws sized M2x6 and 2 spring washers, supplied together with HER070, to secure the two units
in position.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
11
3.4
Fasten screws (when using DIN Rail Clip)
Use the 2 screws sized M2x10 and 2 spring washers, supplied together with DIN Rail Clip, to secure the two
units in position. The screw threads are to go through 2 mounting holes on the Clip before fastening the two
units.
3.5
Connect the add-on board I/O interfaces
Use a screwdriver to secure the wires to the terminal blocks. Make sure you follow the correct pin out assignment:
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
12
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
3603-9, 36/F., 118 Connaught Road West, Sheung Wan, Hong Kong
contact@maestro-wireless.com
13