airLINK network
Application Note
7 of 13
3.3
Addressing other devices of airLINK network.
Valid sensor/actuator addresses are numbers ranging from 16 to 127. Each of these devices has a 8-
setting dip-switch that uses binary logic: switch “1” corresponds to the least significant bit; the “ON”
position corresponds to a value of 1 (see Fig. 3-2)
Address = 17
1 2 3 4 5 6 7 8
Weight 1 2 4 8 16 32 64 128
ON
Fig. 3-2. Sensor / Actuator DIP switches set
The DIP Switches are read only when switching the circuit board ON. A modification in the
Dipswitch’s position is taken into consideration only after the device has been reset. In order
to reset the device, remove the battery from the device, press the pushbutton so that to make
the residual energy in the circuit run out, and then re-install the battery.
Be careful when assigning the addresses. Two devices with the same address would “pour”
their data into the same GATEWAY register and this would generate ambiguity which would
be difficult to identify in subsequent network operations.
4
CREATING THE NETWORK
Network creation can only be performed by the Gateway. In fact Gateway is used to create the wireless
network to which all devices will be subsequently annexed.
Network creation can only be performed if the Gateway is not already part of a network.
The network creation operation is performed by pressing the push-button on the Gateway or by using the
Modbus protocol to send the Gateway the suitable special command.
After the network creation, the Gateway stores the parameters describing the network in its non volatile
memory, so that, when the Gateway is turned OFF, subsequent operation is not compromised and, when
it is turned ON again, it will resume functioning on the previously formed network.
Creating the network is the first operation to be completed when forming an “airLINK” network and the
airGATEWAY is the only device which can complete this operation.
To create the network it is necessary to determine the parameters that completely describe the network;
they are the channel (ranging from 11 to 26), the PAN ID (ranging from 0 to 32767) and the Extended
PAN ID (number on 8 bytes). (PAN stands for Personal Area Network)
Create the network at the moment of the first installation of the airGATEWAY; the network parameters
found during the process remain indefinitely in the device’s non-volatile memory, as long as the device is
not voluntarily disassociated. This process can be activated only if the device does not already have
network parameters (non-joined device).
There are two ways of creating a network on a Gateway which is not on the network:
a) Activation by pressing the airGATEWAY push button
b) Activation by sending the appropriate command password to airGATEWAY
Activation by pressing the push button causes automatic network creation; this means the airGATEWAY
scans all available channels to find the one with the least interference.
When the most suitable channel has been chosen, the airGATEWAY generates randomly PAN ID and
extended PAN ID parameters (ensuring that there are no other networks with the same value).
After the parameters have been chosen, the network creation takes place.
Содержание airLINK
Страница 1: ...Instructions for the creation of the network airLINK Application Note M98253901 03 14A...
Страница 2: ......
Страница 4: ...airGATEWAY 4 o 13 Application Note...