xxx_ARF31 User guide 04-09-V2-tcx

xxx_ARF31 User guide 04-09-V2-tcx
WARNING !
The following document is a user guide related to a product which
is no more sold and/or allowed to be used
Adeunis RF
283 rue Louis Néel
Parc Technologique Pré Roux
38920 Crolles - France
Tel : +33 0)4 76 92 07 77
email : [email protected]
Website : www.adeunis-rf.com
ARF31 SYSTEM USER GUIDE
PRESENTATION
3
PRODUCT POWER SUPPLY
4
SERIAL LINK WIRING
5
MODEM / DTE RS232
DCE RS232
2-wire RS485
4 -wire RS422
RADIO COMMUNICATION
Communication channels
Antenna wiring
CHOICE OF MODE
Switching to modem mode
Switching to gateway mode
5
5
6
6
7
7
8
8
7
8
MODEM MODE
9
GATEWAY MODE
9
Using gateway mode with the modemfr.exe software
Using gateway mode to address communications
TECHNICAL DATA
References for RS232modems
References for RS485/422modems
Dimensions
04-09-V2-tcx
9
14
16
16
16
16
1
DECLARATION OF CONFORMITY
according to ISO/IEC Guide 22 and EN45014
Manufacturer’s name:
ADEUNIS R.F.
Manufacturer’s address
Parc technologique PRE ROUX IV
283 rue Paul Louis NEEL
38920 CROLLES - FRANCE
declares that the product
Product Name:
Product Number(s):
ARF31
ARF6517O / ARF6517K / ARF6517G
ARF6517P / ARF6517L / ARF6517H
Product options:
conforms to the RTTE Directive 99/5/EC :
EMC
: conformity is proven by compliance to the standard EN 301489
according to the requirements of EMC Directive 89/336/EEC.
Safety
: conformity to the standard EN 60950 according to the requirements of Low
Voltage Directive 73/23/EEC.
Radio
: conformity is proven by compliance to harmonized standard
EN 300220 covering essential radio requirements of the RTTE
directive.
.
Notes
:- Conformity has been evaluated according to the procedure
described in Annex III of the RTTE directive.
- The use of the spectrum is harmonized by the fact that the product
never falls in one of the restrictions listed in appendix 3 (Annex 1,
band E) of the CEPT recommendation 70-03.
- Receiver class (if applicable) : 2.
Crolles, April 4th, 2001
VINCENT Hervé / Quality manager
04-09-V2-tcx
2
PRESENTATION
The ARF31 modem converts data from a serial link into a radio frame to be sent to a similar
piece of equipment.
Radio transmission
RS232 or RS485 serial link
The operating parameters of these modems (serial link, message management…) can be
modified via the radio channel.
There are 2 operating modes:
Simple mode or modem mode: in this case the modem doesn't interpret the data it receives on
the serial link, it transmits it according to its parameters.
Gateway mode: In this case the messages to be transmitted will be encapsulated according to
a special protocol on the serial link. This mode enables routing to be performed. By default
the modems are in this mode for 10 seconds on power-up before switching to simple mode.
The ARF31 modems exist in 2 versions - RS232 or RS485. Configuration software is
supplied with both versions.
The products are available either in card version to be integrated in an assembly or as an IP65
chip. In the latter case the products are fixed by means of the fixing lugs onto the top
(antenna) and bottom (stuffing box) of the casing (4 screws not provided).
04-09-V2-tcx
3
PRODUCT POWER SUPPLY
To perform wiring of these products, the bottom part of the housing (part with stuffing box)
has to be opened by unscrewing the two stainless steel screws on each side.
Removeles
Retirer
the
visscrews
de la partie
from
avecpart
the
presse
with étoupe
stuffing-box
+V 0V
+
DC
power
supply
The ARF31 range products are supplied from a DC voltage source. This voltage source must
be 9V minimum and must not exceed 16 VDC.
RTS
TX+
RX
RX-
TX CTS
RX+ TX-
SERVICE
+V 0V
TX RX
ON
+
04-09-V2-tcx
DC
power
supply
4
SERIAL LINK WIRING
•
MODEM / DTE RS232
This is for example the case of a modem connected to a PC
N° / SUB-D 9
NOM
+ Vcc
5
GND
7
RTS
2
RXD
3
TXD
8
CTS
SERVICE
TX RX
•
DCE RS232
This is for example the case of a modem connected to a measuring device.
N° / SUB-D 9
NOM
+ Vcc
5
GND
8
RTS
3
RXD
2
TXD
7
CTS
SERVICE
TX RX
04-09-V2-tcx
5
•
2-wire RS485
CAREFUL MAX RATE 485 = 2400 bauds for N and P versions, 9600 for J and L versions
and 19200 for F and H versions. This is a half-duplex serial link.
SW1-1 sur ON
SYNOPTIQUE MODEM
NOM
+ Vcc
GND
TX-
A
TX+
B
RXSERVICE
RX+
TX RX
•
4 -wire RS485
CAREFUL MAX RATE 485 = 2400 bauds for N and P versions, 9600 for J and L versions
and 19200 for F and H versions. This is a half-duplex serial link.
SW1-1 sur OFF
NOM
SYNOPTIQUE MODEM
+ Vcc
GND
TX-
TX+
TX+
RXRX+
RX-
TXSERVICE
RX+
TX RX
04-09-V2-tcx
6
RADIO COMMUNICATION
•
Communication channels
Before performing any operations, set all the modems
with the same radio channel. To do this, set switches 2 to
4 according to the required frequency.
SW2 à SW4
Radio channel
Version E, F, G or H: Radio datarate 38.4 kbit.s-1.
SW2 SW3 SW4 Frequency
OFF OFF OFF 869,525 MHz
Version I, J, K or L: Radio datarate 19.2 kbit.s-1.
SERVICE
TX RX
SW2 SW3 SW4 Frequency
OFF OFF OFF 869,4625 MHz
ON OFF OFF 869,5875 MHz
Version M, N, O or P: Radio datarate 4.8 kbit.s-1.
SW2
OFF
ON
OFF
OFF
OFF
•
SW3
ON
ON
OFF
ON
OFF
SW4
ON
OFF
ON
OFF
OFF
Frequency
869,425 MHz
869,475 MHz
869,525 MHz
869,575 MHz
869,625 MHz
Antenna wiring
In daughter card version, an antenna has to be added to achieve correct communication
between the products.
This antenna should be a wire with a length of ¼ wave i.e. about 8,6 cm. This length is that
which has to extend outside the housing if the latter is metallic.
This antenna can be located remotely by using a coaxial cable with its braid stripped over the
last 8,6 centimetres. This cable could be directly soldered on the PCB or a SMA connector
could be soldered on the edge.
8,6 cm
10 m max
04-09-V2-tcx
7
CHOICE OF MODE
By default, when they leave the plant, the ARF31 products offer the possibility of switching
to gateway mode within 10 seconds from power-up. This gateway mode enables the
parameters of the modem to be changed. After these 10 seconds, the product switches to
modem mode.
•
Switching to modem mode
Nothing has to be done to switch to this mode; the ARF31 product switches automatically to
modem mode 10 seconds after power-up. You therefore have to wait until this time delay has
elapsed before being able to communicate.
•
Switching to gateway mode
Connect the ARF31 to a COM port of PC. (See § 4.1 for wiring)
By default, the software is set to COM1, to change this go into File menu, then click on
Disconnect. Go again in File menu and click on Properties. (Do not change the baudrate)
Power the ARF31 up. (Take care to connect the software in File menu if disconnect)
Click on the box below within 10 seconds:
Click here to switch in gateway mode
04-09-V2-tcx
8
MODEM MODE
In this mode a modem transmits by radio the characters received on the serial link according
to the parameter settings that have been made.
GATEWAY MODE
•
Using gateway mode with the modemfr.exe software
This configuration is used to set the parameters of the different modems of the installation
(the modem connected to the PC and the remote modems). This step is compulsory, it
enables the addresses of the different modems, their configuration on the serial link etc., to be
defined.
The modem used in gateway mode must not have the same identification address for receipt
(see paragraph 8.1.2.1) as the modems with which it communicates. By default the modems
are delivered with a low group and node identification address, at least one of these two fields
therefore has to be modified on the gateway modem, putting a high address in this field, to
communicate with a modem.
A modem in Gateway mode is connected to the computer by a serial link cable.
The configuration software on the computer enables the configuration parameters of the
‘Modem’ part of the ‘Gateway Modem' (called ‘Local Modem’ in this document) and the
configuration parameters of the ‘Remote Modem’ to be accessed.
Gateway modem
modem(s)
Modem Search/ Identification:
PIN service: Click on the service PIN softkey, then click on the service key of the modem
whose parameters are to be set. When you click on this key, the identification fields should be
filled in.
To go to a modem whose address (identification for receipt) is known, fill in the address
(group and node), then click on Reach.
Local Modem: To configure the modem connected to the PC.
04-09-V2-tcx
9
Green light: Data on screen are the same than those in modem.
Red light: Data on screen are different than those in modem
The ‘Local Modem' has been acknowledged, its configuration parameters are now accessible by
opening the different tabs of the header strip.
All the configuration parameters of the Modem can be read and the fields of all the tabs of the
software be refreshed via the ‘Local Modem' box to the right of the ‘Serial number’.
The Check button makes it possible to check that the Modem that was acknowledged when the
first connection was made is still connected. It’s also checked the ability to respond to a request
from the configuration software (this function is especially justified when a radio link is made
(with a Remote Modem). No configuration parameter is read or written when this button is
activated, the Modem only responding to confirm its availability).
The button that used to be Reach the Local Modem, at the bottom left of the screen, has become a
Reach the Remote Modem button: it enables either one of the modems (Local Modem or Remote
Modem(s)) to be accessed.
04-09-V2-tcx
10
The configuration software seeks to acknowledge a ‘Remote Modem' (via the 'Gateway' and
radio-frequency link).
This Remote Modem will be acknowledged:
- after the ‘Pin Service' button of the above page has been pressed, and the ‘Pin Service' button of
the modem involved has been pressed;
or
- after the ‘Reach' button of the above page has been pressed, the ‘Group’ and ‘Node' boxes
having been filled in (and if a modem corresponding to this address is powered on and able to
respond to this request).
PIN service button
RTS
TX+
RX
RX-
TX CTS
RX+ TX-
SERVICE
+V 0V
TX RX
ON
In both these cases, if the Remote Modem is acknowledged, the different configuration parameters
are validated and the screen displays the page shown below:
A Remote Modem has been acknowledged, its configuration parameters are now accessible by
opening the different tabs of the header strip.
(The modem has been acknowledged by pressing the Pin Service (Service Pin) box, in this case the
content of the ‘Group’ and ‘Node’ boxes are not significant).
The Check button makes it possible to check that the modem that was acknowledged when the first
connection was made, is still connected and able to respond to a request from the configuration
software
04-09-V2-tcx
11
(no configuration parameter is read or written when this button is activated, the Modem only
responding to confirm its availability).
If the connected product is a Gateway (and not a Modem-Gateway), the Reach the Local Modem
button at the bottom left of the screen has no effect.
Network connection:
Connection
Click on tab Network, then Connection.
Identification for receipt: these two fields, group (1 to 255) and node (1 to 127) form the
address of the modem.
Target for transmission: enter the address (group and node) of the modem to which the
messages are to be transmitted.
Parameters
Click on tab Network, then Settings.
Service: None: In this mode each radio frame is sent once only.
Service: Acknowledged: In this mode each radio frame is sent until an acknowledgement is
received within a certain time. The acknowledge wait time before generating a repeat and the
number of repeats before going on to the next frame are to be defined in the corresponding
fields.
Service: Repeated: In this mode each radio frame is systematically sent several times at
regular time intervals. The time between repetitions and the number of repetitions before
going on to the next frame are to be defined in the corresponding fields.
Serial link
Click on tab Serial link then Features.
Characteristics: Enables the format of the characters on the serial link to be defined.
NB: The transmission rate of the radio link is independent from that of the serial link. The
data flow rate on the radio channel, without acknowledge or repeat, is 4.8 kbit/s M, N, O and
P versions, under this value flux control is not necessary, over this value it is compulsory. The
transmission rate is multiplied by 4 for the I, J, K and L versions and multiplied by 8 for E, F,
G and H versions.
Click on tab Serial link then Hardware flow control.
Hardware flux control: Tick the CTS box to control the data flow output from the modem, and
the RTS box to control the data flow input to the modem. These two boxes can be ticked at
the same time.
M odem
RTS
D a ta
C o n t r o l le r
o r T e r m in a l
M odem
CTS
D a ta
C o n t r o l le r
o r T e r m in a l
The "RTS Æ Dir. 485" box has to be ticked for RS485 use. It enables RS485 line
transmission / receipt reversal to be managed. It cannot be ticked at the same time as one of
the two 2 boxes above.
The "CTS Æ RTS" box has to be ticked to create a copy of the CTS signal of a
modem to the RTS of the remote modem.
04-09-V2-tcx
12
RTS
Modem
CTS
Modem
Click on tab Serial link then Radio frames trigger.
Radio frame transmission management according to the arrival of data on the serial link:
The "Frame size" field must be filled in. The lower its value, the more numerous the transmissions and
the slower the transmission rate. The higher its value (maximum 32 bytes), the longer the time before
transmission. It is recommended to use the timeout trigger in parallel to avoid waiting indefinitely for
the last characters to arrive to reach the transmission threshold.
The "Ending character" box triggers transmission as soon as a specified character appears.
However if the number of characters per frame is reached before this character arrives, a transmission
is generated.
The "Timeout" box must be used when transmission of the radio frame has to be performed
after a time delay without a character on the serial link has elapsed.
Parameters:
Click on tab Functioning.
‰
‰
‰
Leaves the possibility for 10 sec. of switching to gateway m ode
Always starts in gateway m ode
Always starts in m odem m ode
It is possible to start directly in modem mode or to remain in gateway mode.
To remain in gateway mode tick the "Start in Gateway mode" box. On subsequent power-ups, the
product will remain in gateway mode without any action within 10 seconds being necessary.
To start directly in modem mode, tick the "Start in Modem mode" box The product will then be
functional a few milliseconds after power-up.
If all the ARF31 products of an installation are configured in 'Start in modem' mode, one of them then
has to be unlocked to obtain a gateway again. Unlocking is performed according to the following
procedure.
+V 0V
RTS
TX+
RX
RX-
TX CTS
RX+ TX-
SERVICE
1 – With the modem powered off, loop the RTS and CTS signals:
2 – Launch modemrf.exe on the PC
3 – Power the modem on.
4 – Within 10 seconds click on a button of the Identification page.
5 – Tick the Start in … box according to the required mode in the
'Operation' (Functioning) tab.
6 – Switch the modem off then power it back on.
ON
to PC
(modemrf)
The option that consists in not refreshing the fields clears automatic filling-in of all the fields as soon
as the modem has been identified (Pin Service or Reach the on the Identification page).
04-09-V2-tcx
TX RX
13
•
Using gateway mode to address communications
Addressed mode enables a gateway to communicate with one or more modems using a
protocol (exchanges formatted in ‘frames’): these frames concern the data transmitted and
received by the gateway, the modems only seeing the ‘Data’ part of these frames on their
serial links.
Frame : length
address
‘abcdef’
control
‘abcdef’
Gateway modem
modem(s)
Formatting of the transmitted and received frames makes use of the LonWorks message exchange
functions in order to take advantage of the powerful possibilities offered by this protocol.
The transmission frame to be supplied to the gateway via the serial link has been simplified,
formatting being completed by the application (by the Neurone); the receipt frame (supplied by the
serial link) is delivered raw by the gateway. The useful data represent a few bytes, the rest of the frame
being able to be ignored.
For master slave use. Each modem connected to a slave must have an identification address.
In this case it is imperative to address the gateway using the protocol below.
P : ARF17 configured in gateway m ode
M : AR F1 7 configured in m odem m ode
Slave
M
As required
(Id: 1-1)
(Cb: 5-5)
Encapsulated
data
9600, 8, N , 1
According to
protocol
Slave
M aster
M
P
As required
(Id: 2-2)
(Cb: 5-5)
(Id: 5-5)
(Cb: x-x)
Slave
M
As required
(Id: 3-3)
(Cb: 5-5)
Protocol on transmission:
Communication is in ASCII (LSB first) at 9600 bit/s 8 bits no parity 1 stop.
Leng Fixe
th
d
..
14
Servi Address
ce
Group
Node
00
Fixe
d
Data (32 max.)
CRC
40
Length: Total number of bytes including length and CRC
Service: Acknowledged (00), Repeated (01) or none (02)
Address: Group and Node filled in the "identification for receipt" field
Data: maximum 32 bytes which will be restored on the serial link of the addressed modem only.
CRC 2 bytes: the first byte is an exclusive or of all the preceding bytes, the second byte is the opposite
Example: Transmission acknowledged of "Bonjour" to modem 3, 3 gives the following hexadecimal
frame: 0F 14 00 03 03 40 42 6F 6E 6A 6F 75 72 1A E5
04-09-V2-tcx
14
Receipt:
Receipt Frame Format:
Frame length
Code ‘0’
‘0’ function
‘Message’ code
Service
Authentication 1 byte
Address (Transmitter)
Length
Data
LSB check
MSB check
1 byte 20..xx decimal (14..xx hexadecimal)
1 byte 0, 1 or 2
1 byte 0, 1, 2 or 3
1 byte 64 decimal (40 hexadecimal)
1 byte 2
0
10 bytes
…(see below)
1 byte 1..xx (decimal)
1..xx bytes
...
1 byte x
1 byte not (x)
‘Transmitter address’ Chain:
XX
:
1 byte
GG
:
1 byte Group
NN
:
1 byte Node : CAREFUL: bit 7 (MSB) must be ignored
XX
:
1 byte
XX
:
1 byte
XX
:
1 byte
XX
:
1 byte
XX
:
1 byte
XX
:
1 byte
XX
:
1 byte
Response from gateway to system:
When a terminal communicates with a modem in gateway mode, for each frame sent in the
above format, the modem sends back an acknowledgement:
In normal mode, repeated or in case of acknowledgement received:
05 01 00 04 FB
In case of acknowledgement not received:
05 01 01 05 FA
04-09-V2-tcx
15
TECHNICAL DATA
Operating temperature:
Power supply:
Multichannel:
Power:
Sensitivity:
Consumption RX/TX:
•
-20°C to + 70°C
9 to 16 VDC
869.425 to 869.625 MHz.
+27 dBm / 50 Ω.
-106 dBm
80 mA / 550 mA.
RS232 modems References
Radio flow: 4,8 kbit.s-1 ; 5 channels
Radio flow: 19,2 kbit.s-1 ; 2 channels
Radio flow: 38,4 kbit.s-1 ; 1 channel
•
In IP65 enclosure
ARF6517O
ARF6517K
ARF6517G
RS485 modems References
Radio flow: 4,8 kbit.s-1 ; 5 channels
Radio flow: 19,2 kbit.s-1 ; 2 channels
Radio flow: 38,4 kbit.s-1 ; 1 channel
•
Board to be
integrated
ARF6517M
ARF6517I
ARF6517E
Board to be
integrated
ARF6517N
ARF6517J
ARF6517F
In IP65 enclosure
ARF6517P
ARF6517L
ARF6517H
Dimensions
Cards:
IP65 chip:
04-09-V2-tcx
65 x 90 x 25 mm
104 x 300 x 35 mm
16
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement