B&B Electronics SPECTRE User manual

SPECTRE Router
USER MANUAL
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
International Headquarters
B&B Electronics Mfg. Co. Inc.
707 Dayton Road
Ottawa, IL 61350 USA
Phone (815) 433-5100 -- General Fax (815) 433-5105
Website: www.bb-elec.com
European Headquarters
B&B Electronics Ltd.
Westlink Commercial Park
Oranmore, Co. Galway, Ireland
Phone +353 91-792444 -- Fax +353 91-792445
Website: www.bb-europe.com
Doc: 710-10001-01 Rev 1.0 – October 2012
2012 B&B Electronics Mfg. Co. Inc. No part of this publication may be reproduced or transmitted in any form or
by any means, electronic or mechanical, including photography, recording, or any information storage and
retrieval system without written consent. Information in this manual is subject to change without notice, and does
not represent a commitment on the part of B&B Electronics Mfg. Co. Inc.
B&B Electronics Mfg. Co. Inc. shall not be liable for incidental or consequential damages resulting from the
furnishing, performance, or use of this manual.
All brand names used in this manual are the registered trademarks of their respective owners. The use of
trademarks or other designations in this publication is for reference purposes only and does not constitute an
endorsement by the trademark holder.
2
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Used symbols
Danger – Information regarding user safety or potential damage to the router.
Attention – Problems that can arise in specific situations.
Useful tips or information of special interest.
GPL license
Source codes under GPL license are available free of charge by sending an email to support@bbelec.com.
Router version
The properties and settings associated with the cellular network connection are not available in noncellular SPECTRE RT routers.
PPPoE configuration is only available on SPECTRE RT routers. It is used to set the PPPoE
connection over Ethernet.
Declared quality system
ISO 9001
B&B Electronics
3
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Contents
1.
Safety Instructions
1.1
Compliance
1.2
Product disposal instructions
2. Router Description
2.1
Description
2.2
Examples of possible applications:
2.3
Package Contents
2.4
Model Numbers
2.5
Dimensions
3. Mounting Recommendations
4. User Interfaces
4.1
Connectors
4.2
Status Indicators
4.2.1 Auxiliary Port Status Indicators
4.2.1.1 Ethernet Ports
4.2.1.2 RS-232 Ports
4.2.1.3 I/O Ports
4.2.1.4 RS-485/422 Ports
4.3
Power Connector
4.4
Antenna Connector
4.5
SIM Card Reader
4.6
Ethernet Port
4.7
Auxiliary Port Connectors
4.7.1 RS-232 Ports
4.7.2 RS-485/422 Ports
4.7.3 I/O Port
4.7.3.1 Analog Inputs
4.7.3.2 Binary Input
4.7.3.3 Counter Inputs
4.7.3.4 Binary Output
4.7.3.5 Selecting the Binary Input Current
4.7.3.6 Input/Output Connector
4.8
USB Port
4.9
I/O Port
5. Resetting or Rebooting the Router
6. Initial Setup
6.1
Starting the Router
6.2
Configuring the Router
6.2.1 Configuration using a Web browser
6.2.2 Configuration over Telnet
6.3
Technical Parameters
7. Troubleshooting
7.1
FAQ
8. Customer Support
7
7
7
8
8
8
9
10
11
12
15
15
16
17
17
17
17
17
18
19
20
21
22
22
24
29
29
29
29
29
30
31
38
40
42
43
44
44
44
44
45
47
47
49
4
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Figure List
Fig. 1: Contents of package.................................................................................................................. 9
Fig. 2: Basic dimensions, metal box ................................................................................................. 11
Fig. 3: Recommended clearance around antennas ......................................................................... 12
Fig. 4: Cable routing ............................................................................................................................ 13
Fig. 5: Space in front connectors ...................................................................................................... 14
Fig. 6: Front panel SPECTRE 3G ....................................................................................................... 15
Fig. 7: Power connector ...................................................................................................................... 18
Fig. 8: Connection of power supply connector ................................................................................ 18
Fig. 9: Connection of power supply .................................................................................................. 18
Fig. 10: External antenna .................................................................................................................... 19
Fig. 11: Connecting the antenna ........................................................................................................ 19
Fig. 12: Ejected SIM card holder ........................................................................................................ 20
Fig. 13: Ethernet connector ................................................................................................................ 21
Fig. 14: Ethernet Cable Connection ................................................................................................... 21
Fig. 15: Example of router connection .............................................................................................. 22
Fig. 16: RS232 port connector............................................................................................................ 23
Fig. 17: Meter connection to router ................................................................................................... 23
Fig. 18: PC connection to router ........................................................................................................ 24
Fig. 19: RS-232 equipment connection to router ............................................................................. 24
Fig. 20: Jumper Position for external supply ................................................................................... 25
Fig. 21: Jumper Position for RS-485 .................................................................................................. 25
Fig. 22: Jumper Position for internal supply .................................................................................... 25
Fig. 23: Jumper Position for RS-422 .................................................................................................. 25
Fig. 24: RS485/422 connector............................................................................................................. 26
Fig. 25: Connection to the router with data cable length less than 10 m ...................................... 26
Fig. 26: Connection to the router with data cable length more than 10 m .................................... 27
Fig. 27: Connection to the router with data cable length less than 10 m ...................................... 28
Fig. 28: Connection to the router with data cable length more than 10 m .................................... 28
Fig. 29: Connection of the I/O Port circuitry ..................................................................................... 32
Fig. 30: USB connector ....................................................................................................................... 38
Fig. 31: Connecting a PLC to the router ............................................................................................ 39
Fig. 32: Connecting USB memory stick to the router ...................................................................... 39
Fig. 33: I/O connection ........................................................................................................................ 40
Fig. 34: Connection I/O cable ............................................................................................................. 40
Fig. 35: Connection of binary input and output of router ............................................................... 41
Fig. 36: Router reset ............................................................................................................................ 42
Fig. 37: Router connections ............................................................................................................... 43
5
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Table list
Table 1: Auxiliary port possibilities ................................................................................................... 10
Table 2: Model numbers ..................................................................................................................... 10
Table 3: Front panel description ........................................................................................................ 15
Table 4: Router status indication ....................................................................................................... 16
Table 5: Ethernet LED status indication ........................................................................................... 17
Table 6: RS-232 LED status indication .............................................................................................. 17
Table 7: I/O Port LED status indication ............................................................................................. 17
Table 8: RS-485/422 LED status indication ....................................................................................... 17
Table 9: Connection of power connector .......................................................................................... 18
Table 10: Ethernet connector ............................................................................................................. 21
Table 11: RS232 connector Pinout .................................................................................................... 23
Table 12: Connector Pinout in RS-485 Mode .................................................................................... 26
Table 13: Connector Pinout in RS-422 Mode .................................................................................... 27
Table 14: Input/Output Connector Pinout ......................................................................................... 31
Table 15: MODBUS Input/Output Address space ............................................................................ 37
Table 16: Connection of USB connector ........................................................................................... 38
Table 17: I/O port Connection ............................................................................................................ 40
Table 18: Ways to reset or restart the router .................................................................................... 42
Table 19: Specifications...................................................................................................................... 45
Table 20: Cellular Module Specifications .......................................................................................... 45
Table 21: Processor Specifications ................................................................................................... 46
Table 22: I/O Port Specifications ....................................................................................................... 46
6
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
1. Safety Instructions
1.1
Compliance
Please observe the following instructions:
The router must be used in compliance with all applicable international and national laws
and in compliance with any special restrictions regulating the use of the router in
prescribed applications and environments.
To prevent possible injury and damage to appliances and to ensure compliance with all
relevant provisions, use only the original accessories. Unauthorized modifications or the
use of unapproved accessories may result in damage to the router and a breach of
applicable regulations. Unauthorized modifications or use of unapproved accessories
may void the warranty.
Caution! The SIM card could be swallowed by small children.
Input voltage must not exceed 30V DC max.
Do not expose the router to extreme ambient conditions. Protect the router against dust,
moisture and high temperature.
The router should not be used in locations where flammable and explosive materials are
present, including gas stations, chemical plants, or locations in which explosives are
used.
Switch off the router when travelling by plane. Use of the router in a plane may endanger
the operation of the plane or interfere with the mobile telephone network, and may be
unlawful.
When using the router in the close proximity of personal medical devices, such as cardiac
pacemakers or hearing aids, proceed with heightened caution.
The router may cause interference when in the close proximity of TV sets, radio receivers
or personal computers.
It is recommended that you create a backup copy of all the important settings stored in the
router’s memory.
1.2
Product disposal instructions
The WEEE (Waste Electrical and Electronic Equipment: 2002/96/EC) directive has been
introduced to ensure that electrical/electronic products are recycled using the best available
recovery techniques to minimize the impact on the environment. This product contains high
quality materials and components which can be recycled. At the end of its life this product
MUST NOT be mixed with other commercial waste for disposal. Check the terms and
conditions of your supplier for disposal information.
7
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
2. Router Description
2.1
Description
The SPECTRE industrial router series is used to connect Ethernet equipment and devices to
the Internet or intranet. The SPECTRE 3G cellular router adds wireless connectivity. Thanks
to the high data transfer speed of up to 14.4 Mbit/s (download) and 5.7 Mbit/s (upload),
SPECTRE 3G router is an ideal wireless solution for traffic and security camera systems,
individual computers, LAN networks, automatic teller machines (ATM) and other self-service
terminals.
The standard configuration includes one 10/100 Ethernet port, one USB Host port, one
binary Input/output (I/O) port and dual SIM card holders. Network redundancy is provided by
the second SIM card holder. It also contains 2 auxiliary ports for connecting to other types of
networks such as RS-232, RS-485/422, Digital/Analog I/O, or they can be configured to
provide additional switched Ethernet ports. The function of each port is dependent upon the
specific router model.
Configuration of the router may be done via a password-protected Web interface. The router
supports the creation of VPN tunnels using IPsec, OpenVPN and L2TP to ensure safe
communication. The Web interface provides detailed statistics about the router’s activities,
signal strength, etc. The router supports DHCP, NAT, NAT-T, DynDNS, NTP, VRRP, control
by SMS, and many other functions.
The router provides diagnostic functions which include automatically monitoring the PPP
connection, automatic restart in case of connection losses, and a hardware watchdog that
monitors the router status. The user may insert Linux scripts to control various router
functions and create up to four different configurations for the same router. These
configuration files can include different SMS functionality and binary input configurations.
You may switch between different configurations whenever necessary. The router can
automatically upgrade its configuration and firmware from your central server. This allows for
mass reconfiguration of numerous routers at the same time. Additional software like
SmartCluster VPN Server and R-SeeNet for router monitoring are also supported.
2.2
Examples of possible applications:
Mobile office
Fleet management
Security system
Telematics
Telemetrics
Remote monitoring
Vending and dispatcher machines
8
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
2.3
SPECTRE User Manual
Package Contents
The basic router package includes:
Router
Power supply (3G models only)
Crossover Ethernet cable
External antenna (3G models only)
DIN rail adapter
Installation CD
Quick Start Guide
Fig. 1: Contents of package
9
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
2.4
SPECTRE User Manual
Model Numbers
Standard Features on Spectre Routers: 10/100 Ethernet, USB Host Port, Binary I/O Port, Dual SIM
Card slots
Auxiliary Port Functions (Model Dependent):
The router can be connected as follows.
PORT 1
RS232, RS485/422, ETHERNET, CNT, XC-SW (in combination with PORT 2)
PORT 2
RS232, RS485/422, XC-SW (together with PORT 1)
Table 1: Auxiliary port possibilities
Spectre 3G Wireless Routers
Model No.
RT3G-300
RT3G-302
RT3G-310
RT3G-311
RT3G-322
RT3G-324
RT3G-330
Auxiliary Ports
Port 1
No connect
No connect
Ethernet
Ethernet
RS-232
RS-232
12-bit I/O (AI, DI, DO)
Port 2
No connect
RS-232
No connect
Ethernet
RS-232
RS-422/485
No connect
Spectre RT Wired Routers
Model No.
ERT311
ERT312
Auxiliary Ports
Port 1
Ethernet
Ethernet
Port 2
Ethernet
RS-232
Table 2: Model numbers
Note: On routers with 2 auxiliary Ethernet ports (RT3G-311, ERT311), Ports 1 and 2 are
internally bridged together.
10
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
2.5
SPECTRE User Manual
Dimensions
Fig. 2: Basic dimensions, metal box
11
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
3. Mounting Recommendations
For best performance, please consider the following:
The router should be mounted on a flat solid work surface.
The DIN rail adapter is included for DIN rail mounting.
Whip antennas should be kept at least 6 cm from cables and metal surfaces on all
sides. When using an external antenna in an exposed area, a lightning surge
suppressor should be used.
An external antenna should be used when mounting the router on a metal surface or
inside a metal enclosure.
Fig. 3: Recommended clearance around antennas
12
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
The cables should be bundled together and kept as far away from the antennas as
possible.
1. Length: The combination of power supply and data cables can be a maximum of 1.5
meters.
2. If the length of the data cables exceeds 1.5 meters, overvoltage protectors (surge
suppressors) should be used.
3. Do not bundle the data cables with the 120/230 VAC power cable.
4. All wiring to sensors should use shielded twisted pairs.
Fig. 4: Cable routing
Leave enough space around the connectors for the cable wiring.
13
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Fig. 5: Space in front connectors
The router must be securely grounded to earth ground for proper operation.
14
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
4. User Interfaces
4.1
Connectors
FRONT PANEL
Label
Connector
Description
PWR
2-pin
Power supply.
ETH
RJ45
Connection to the local computer network.
PORT 1
RJ45
RS-232/422/485, ETHERNET, or I/O
PORT 2
RJ45
RS-232/422/485 or ETHERNET
ANT*
SMA
Main antenna
DIV*
SMA
Diversity antenna
USB
USB-A Host
I/O
3-pin
SIM1*
-
SIM card holder 1
SIM2*
-
SIM card holder 2
USB connector.
Binary input and output.
* 3G models only
Table 3: Front panel description
Fig. 6: Front panel SPECTRE 3G
15
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.2
SPECTRE User Manual
Status Indicators
Label
Color
State
PWR
Green
Blinking
On
Router is ready
Router is initializing.
WAN*
Red
Blinking
Communication in progress
Flashing
DAT*
Yellow
1 x flash per
second
2 x flash per
second
3x flash per
second
Description
PPP connection established
Signal strength is from –50 dBm to –69 dBm
Signal strength is from –70 dBm to –89 dBm or the
difference between neighboring cells is exactly 3 dBm
Signal strength is from –90 dBm to –113 dBm or the
difference between neighboring cells is smaller than
3 dBm
USR
Yellow
Function selected by user
OUT
Green
On
Binary output active
IN
Green
On
Binary input active
ETH
Green
On
Off
Selected 100 Mbit/s
Selected 10 Mbit/s
ETH
Yellow
On
Blinking
Off
The network cable is connected
Data transmission
The network cable is not connected
PORT
Green
LED functions for different router configurations appear in the charts
below.
PORT
Yellow
LED functions for different router configurations appear in the charts
below.
SIM1*
Yellow
On
SIM card 1 is active
SIM2*
Yellow
On
SIM card 2 is active
* 3G models only
Table 4: Router status indication
Note: The State indication of the PPP LED is updated every 10 seconds.
16
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
4.2.1 Auxiliary Port Status Indicators
4.2.1.1
Ethernet Ports
LED port indicator
Green LED
On ...................... selected 100 Mbit/s
Off ...................... selected 10 Mbit/s
On........................ the network cable is connected
Yellow LED
Blinking ……….... data transmission
Off ....................... the network cable is not connected
Table 5: Ethernet LED status indication
4.2.1.2
RS-232 Ports
LED port indicator
Green LED
Yellow LED
4.2.1.3
Blinks on Receive data
Blinks on Transmit data
Table 6: RS-232 LED status indication
I/O Ports
LED port indicator
Green LED
Yellow LED
Indicates binary input 0
Indicates binary input 1
Table 7: I/O Port LED status indication
4.2.1.4
RS-485/422 Ports
LED port indicator
Green LED
Blinks on Receive data
Yellow LED
Blinks on Transmit data
Table 8: RS-485/422 LED status indication
17
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.3
SPECTRE User Manual
Power Connector
.
2-PIN PANEL SOCKET
Pin
number
1
2
Signal
mark
VCC (+)
GND (-)
Description
Positive input of DC supply voltage (+10 to +30 VDC)
Negative input of DC supply voltage
Table 9: Connection of power connector
Fig. 7: Power connector
The router requires a +10 V to +30 V DC supply. Protection against reversed polarity is built
into the router.
The power consumption during receiving is 1W. The peak power consumption during data
sending is 5.5W. For correct operation, the power source must be able to supply a peak
current of 600mA.
The power cable connects to the router via locking screws. (See Fig. 8)
Fig. 8: Connection of power supply connector
Circuit example:
Fig. 9: Connection of power supply
The positive VCC input is marked by a red socket on the power.
18
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.4
SPECTRE User Manual
Antenna Connector
The antenna is connected to the router using the SMA connector on the front panel.
The router cannot operate without the main antenna. (The port is labeled as ANT.)
The ANT connector is used to connect the main antenna router. To connect the second
antenna for diversity, use the connector labeled DIV.
Example of antenna:
Fig. 10: External antenna
Connect the antenna’s SMA connector to the router’s SMA connector. (See figure below).
Fig. 11: Connecting the antenna
The diversity antenna improves the wireless features of the router in areas with weak signal
strength.
19
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.5
SPECTRE User Manual
SIM Card Reader
The SIM card reader supports 3 V and 1.8 V SIM cards. It is located on the front panel
of the router. The router will not operate on UMTS networks unless an activated SIM card with
an unblocked PIN is in the reader. The SIM cards may use different access point names
(APN).
Changing the SIM card:
Press the small yellow button on the right hand side of the SIM reader slot to eject the SIM
card holder. Insert the SIM card into the holder and slide it in the reader. (See Fig. 12)
Fig. 12: Ejected SIM card holder
20
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.6
SPECTRE User Manual
Ethernet Port
PANEL SOCKET RJ45
Pin
number
Signal mark
1
TXD+
Transmit Data – positive pole
Input/Output
2
TXD-
Transmit Data – negative pole
Input/Output
3
RXD+
Receive Data – positive pole
Input/Output
4
---
---
5
---
---
6
RXD-
7
---
---
8
---
---
Description
Receive Data – negative pole
Data flow direction
Input/Output
Table 10: Ethernet connector
Fig. 13: Ethernet connector
ATTENTION! The Ethernet port is not POE (Power over Ethernet) compatible!
Ethernet cable plugs into the RJ45 connector labeled as ETH. (See Fig 14)
Fig. 14: Ethernet Cable Connection
21
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
The Ethernet router connection:
Fig. 15: Example of router connection
4.7
Auxiliary Port Connectors
Port 1
Port One may configured for Ethernet, serial communications (RS-232/485/422), or (I/O –
CNT) based on the router model number. Port Two may be configured for serial
communications (RS-232/485/422), or (I/O – CNT). Either port can be fitted with internal
switch XC-SW.
Port 2
Port 2 may be configured for serial communications (RS-232/485/422), or (I/O – CNT). Either
port can be fitted with internal switch XC-SW.
4.7.1 RS-232 Ports
The RS-232 port is configured as a Data Communication Equipment (DCE). A KD2 adapter cable can
be used to convert the RJ-45 connector to a standard DB9 serial connector.
22
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Fig. 16: RS232 port connector
Pin
no.
Signal mark
1
RTS
Request To Send
Input
2
CTS
Clear To Send
Output
3
DTR
Data Terminal Ready
Input
4
DSR
Data Set Ready
Output
5
GND
Signal ground
6
RXD
Receive Data
Output
7
CD
Carrier Detect
Output
8
TXD
Transmit Data
Input
Description
Direction
Table 11: RS232 connector Pinout
Example of connecting a meter to the router:
Fig. 17: Meter connection to router
23
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Example of a PC connection to the router:
Fig. 18: PC connection to router
Cable KD2 is connected to serial port PC (example COM1)
Example of the RS232 equipment connection to router (possibility to use all RS232 ports):
Fig. 19: RS-232 equipment connection to router
4.7.2 RS-485/422 Ports
The RS-485/422 ports can be powered using the internal 3.3V supply or by
connecting an external power supply to the port connector. External or internal power is
selected by jumpers J2 and J3 on the RS-485 module daughter board. To use internal
power, place jumpers J2 and J3 across pins 2 and 3. To select external power, jumpers J2
and J3 must be on pins 1 and 2.
Interface behavior of module Expansion port RS485/RS422 can be made by wiring
Jumpers J4, J5 and J6 on the RS-485 module select the mode of the port – either RS-485 or
RS-422 mode. If RS485 is required, jumpers J4 and J5 must be connected and jumper J6
disconnected. If RS422 is required, jumpers J4 and J5 must be disconnected and jumper J6
connected.
Jumper placement can be seen in the picture below (RS-485 module is viewed from
the top).
Internal power supply should only be used in the event that it is not possible to
provide an external power supply.
24
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Jumper J3
Jumper J3
Jumper J2
Fig. 20: Jumper Position for external supply
Jumper J2
Fig. 22: Jumper Position for internal supply
Jumper J6
Jumpery J4 and J5
Fig. 23: Jumper Position for RS-422
Fig. 21: Jumper Position for RS-485
25
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Connector Pinout
Fig. 24: RS485/422 connector
RS-485 Mode
Pin
Signal mark
number
Data flow direction
Description
1
GND
Signal and supply ground
2
GND
Signal and supply ground
3
TxRx-
RS485 B (-)
Input/Output
4
TxRx+
RS485 A (+)
Input/Output
5
TxRx-
RS485 B (-)
Input/Output
6
TxRx+
RS485 A (+)
Input/Output
7
+12 V EXT
External power supply
8
+12 V EXT
External power supply
Table 12: Connector Pinout in RS-485 Mode
ATTENTION!
the jumpers.
The
power
supply
is
selected
on
the
module
board
using
Note: In RS-485 mode, pins 3 and 5 and pins 4 and 6 are internally shorted together.
If galvanic separation is required, the converter must use an external power supply.
Fig. 25: Connection to the router with data cable length less than 10 m
26
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Fig. 26: Connection to the router with data cable length more than 10 m
With a RS-485 data cable more than 10m, it is necessary to use overvoltage protection
on the router side!
RS-422 Mode
Pin
Signal mark
number
Description
Data flow direction
1
SGND
Signal and power supply ground
2
SGND
Signal and power supply ground
3
RxD-
Receive Data (-)
Output
4
RxD+
Receive Data (+)
Output
5
TxD-
Transmit Data (-)
Input
6
TxD+
Transmit Data (+)
Input
7
+12V EXT
External power supply
8
+12V EXT
External power supply
Table 13: Connector Pinout in RS-422 Mode
ATTENTION!
the jumpers.
The
power
supply
is
selected
on
the
module
board
using
If galvanic separation is required, the converter must use an external power supply.
27
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Fig. 27: Connection to the router with data cable length less than 10 m
Fig. 28: Connection to the router with data cable length more than 10 m
With a RS422 data cable more than 10m long, it is necessary to use overvoltage protection
on the router side!
28
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
4.7.3 I/O Port
The I/O port user interface (CNT) is used to monitor analog and binary input signals
and to control binary output signals. The interface has 6 inputs and 1 output. Two of the
inputs can be configured as binary counter inputs or general purpose binary inputs. There
are also 2 dedicated binary inputs, 2 analog current inputs, and 1 open-collector output. The
options for the I/O port are configured by writing to register values on the I/O board using the
MODBUS ASCII protocol.
The unit can periodically store the values of the inputs in memory. These log entries
can be read by reading the individual memory locations. Up to 224 log entries may be stored.
The logging interval can range from 1-65535 minutes.
4.7.3.1
Analog Inputs
The analog current inputs have a range from 0 to 20mA. The input impedance is
100 Ω and the ADC resolution is 12 bits. The averaging and sampling period may be
adjusted by the user. Also, alarms thresholds may be set for each input.
The ADC value stored in memory is calculated using the following equation:
ADC Value = ((12b value + addit. constant) * multiplic. constant)/1000
where the constants are programmed into memory by the user.
4.7.3.2
Binary Input
The binary input is sampled 8x per second with a sampling period of 1/64 seconds.
The active level for each binary input may be set to either a logic 0 or logic 1. The inputs may
be configured to generate an alarm when they become active. The input threshold for
detecting a logic 1 can be set at either 8uA or 20mA using a jumper on the module board.
4.7.3.3
Counter Inputs
The counter inputs have a maximum input frequency of 100 Hz. The minimum input
pulse width is 1ms. The counter input may be configured to generate an alarm when a
threshold is reached.
4.7.3.4
Binary Output
The binary output is a transistor with an open collector output. In the inactive state
(logic 0) the transistor is off. In the active state (log. 1), the transistor is on and will connect
the output signal to ground (GND). The output transistor is rated at 100 mA and 30V.
The output may be configured to generate a pulse from 125 to 8000ms in length. It is
also possible to configure the unit so that the output will become active when counter 1
(CNT1) reaches a threshold.
29
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.7.3.5
SPECTRE User Manual
Selecting the Binary Input Current
The input threshold for detecting a logic 1 can be set at either 8uA or 20mA using a jumper
on the module board. When jumper J4 is shorted, the threshold current level is 20 mA.
When jumper J4 is not shorted, the threshold current level is 8μA. A threshold current value
of 20mA has a higher resistance to noise on the input but also dissipates more power.
Jumper J4
Fig. 29: CNT I/O board
30
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.7.3.6
SPECTRE User Manual
Input/Output Connector
Panel socket RJ45.
Pin number
Signal mark
Description
Data flow direction
1
BIN1/CNT1
Binary input/counter input
Input
2
BIN2/CNT2
Binary input/counter input
Input
3
BIN3
Binary input
Input
4
BIN4
Binary input
Input
5
GND
Signal ground
6
OUT1
Binary output (open collector)
Output
7
AN1
Analog Current input
Input
8
AN2
Analog Current input
Input
Table 14: Input/Output Connector Pinout
Fig. 30: CNT connector
31
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Typical connection of the I/O port circuits:
Fig. 29: Connection of the I/O Port circuitry
The I/O Port registers are read and written using MODBUS ASCII slave protocol over serial
port 1. Using this protocol, it is possible to configure the I/O board, read the input status, and control
the output. The I/O port communicates at 9600 baud, 8 bits, no parity, and 1 stop bit (8N1).
Address space
Address
Access
Description
0x0000
R/-
Firmware type
0x0001
R/-
Upper 16 bits of firmware version
0x0002
R/-
Lower 16 bits of firmware version
0x0003
R/-
Supports firmware characteristics
bit 0 – Analog input AN1
bit 1 – Analog input AN2
bit 2 – Counter input CNT1
bit 3 – Counter input CNT2
bit 4 – Binary input BIN1
bit 5 – Binary input BIN2
bit 6 – Binary input BIN3
bit 7 – Binary input BIN4
32
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
bit 8 – Binary output OUT1
bit 9 – Automatic feeder control
bit 10 – Full duplex counter CNT1/CNT2
0x0004
R/-
Maximum log entries in buffer
0x0005
R/W
Marker of log launching and alarms work
0x0006
R/W
Upper 16 bits of current time in seconds, numbered from 1/1/1970
0x0007
R/W
Lower 16 bits of current time in seconds, numbered from 1/1/1970
0x0008
R/W
Upper 16 bits of log entry timestamp
0x0009
R/W
Lower 16 bits of log entry timestamp
0x000A
R/-
Alarm actual status
0x0100
R/-
Binary input status
0x0200
R/W
Binary output status
0x0300
R/-
Recalculate value of analog input AN1 (with sign)
0x0400
R/-
Recalculate value of analog input AN2 (with sign)
0x0500
R/W
Upper 16 bits of counter CNT1 value
0x0501
R/W
Lower 16 bits of counter CNT1 value
0x0502
R/-
Prompt frequency CNT1
0x0503
R/-
Average frequency CNT1
0x0504
R/-
Minimum frequency CNT1
0x0505
R/-
Maximum frequency CNT1
0x0601
R/W
Upper 16 bits of counter CNT2 value
0x0601
R/W
Lower 16 bits of counter CNT2 value
0x0602
R/-
Prompt frequency CNT2
0x0603
R/-
Average frequency CNT2
0x0604
R/-
Minimum frequency CNT2
0x0605
R/-
Maximum frequency CNT2
0x0F00
R/-
0x0000 always
0x0F01
R/-
0x0000 always
0x0F02
R/-
Upper 16 bits of seconds, number from 1.1.1970
0x0F03
R/-
Lower 16 bits of seconds, number from 1.1.1970
0x0F04
R/-
Alarms status
bit 0 – active level on input BIN1
bit 1 – active level on input BIN2
bit 2 – active level on input BIN3
bit 3 – active level on input BIN4
bit 4 – analog input lower limit overrun AN1
33
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
bit 5 – analog input upper limit overrun AN1
bit 6 – analog input lower limit overrun AN2
bit 7 – analog input upper limit overrun AN2
bit 8 – limit frequency overrun CNT1
bit 9 – limit frequency overrun CNT2
0x0F05
R/-
Binary inputs status
bit 0 – level on input BIN1
bit 1 – level on input BIN2
bit 2 – level on input BIN3
bit 3 – level on input BIN4
bit 6 – level on output BOUT1
0x0F06
R/-
Recalculate AN1 value (with sign)
0x0F07
R/-
Recalculate AN2 value (with sign)
0x0F08
R/-
Upper 16 bits CNT1
0x0F09
R/-
Lower 16 bits CNT1
0x0F0A
R/-
Prompt frequency CNT1
0x0F0B
R/-
Average frequency CNT1
0x0F0C
R/-
Minimal frequency CNT1
0x0F0D
R/-
Maximal frequency CNT1
0x0F0E
R/-
Upper 16 bits of counter CNT2 value
0x0F0F
R/-
Lower 16 bits of counter CNT2 value
0x0F10
R/-
Prompt frequency CNT2
0x0F11
R/-
Average frequency CNT2
0x0F12
R/-
Minimal frequency CNT2
0x0F13
R/-
Maximal frequency CNT2
0x1000
R/-
1. log – upper 16 bits of log number
0x1001
R/-
1. log – lower 16 bits of log number
0x1002
R/-
1. log – upper 16 bits of time stamps
0x1003
R/-
1. log – lower 16 bits of time stamps
0x1004
R/-
1. log – alarms status
0x1005
R/-
1. log – binary inputs status
0x1006
R/-
1. log – recalculate value AN1 (with sign)
0x1007
R/-
1. log – recalculate value AN2 (with sign)
0x1008
R/-
1. log – upper 16 bits CNT1
0x1009
R/-
1. log – lower 16 bits CNT1
0x100A
R/-
1. log – prompt frequency CNT1
0x100B
R/-
1. log – average frequency CNT1
0x100C
R/-
1. log – minimal frequency CNT1
0x100D
R/-
1. log – maximal frequency CNT1
0x100E
R/-
1. log – upper 16 bits of counter CNT2 value
34
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
0x100F
R/-
1. log – lower 16 bits of counter CNT2 value
0x1010
R/-
1. log – prompt frequency CNT2
0x1011
R/-
1. log – average frequency CNT2
0x1012
R/-
1. log – minimal frequency CNT2
0x1013
R/-
1. log – maximal frequency CNT2
0x1100
R/-
2. log
0x1200
R/-
3. log
...
R/-
...
0xEF00
R/-
224. log
0xF000
-/W
Samples stores period [min]
0xF001
-/W
Allowed:
bit 0 – active level on input BIN1
bit 1 – active level on input BIN2
bit 2 – active level on input BIN3
bit 3 – active level on input BIN4
bit 4 – analog input AN1 lower limit overrun
bit 5 – analog input AN1 upper limit overrun
bit 6 – analog input AN2 lower limit overrun
bit 7 – analog input AN2 upper limit overrun
bit 8 – limit frequency CNT1 overrun
bit 9 – limit frequency CNT2 overrun
0xF100
-/W
Binary inputs negative logical
bit 0 – input BIN1
bit 1 – input BIN2
bit 2 – input BIN3
bit 3 – input BIN4
0xF200
-/W
Binary outputs normal level
bit 0 – output OUT1
0xF201
-/W
Feeder – impulse number on input BIN1/CNT1
0xF202
-/W
Feeder – impulse length on output OUT1 [1/8 sec]
0xF300
-/W
AN1 – samples period [sec]
0xF301
-/W
AN1 – multiplicative constant (with sign)
0xF302
-/W
AN1 – additive constant (with sign)
0xF303
-/W
AN1 – hysteresis value (with sign)
0xF304
-/W
AN1 – lower limit (with sign)
35
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
0xF305
-/W
AN1 – upper limit (with sign)
0xF306
-/W
bits 7-3:
AN1 – metering circuit switch time
0 → 1/64 sec
1 → 2/64 sec
...
30 → 31/64 sec
bits 2-0:
AN1 – samples number for average
0 → 1 sample
1 → 2 samples
2 → 4 samples
4 → 8 samples
5 → 16 samples
0xF400
-/W
AN2 – samples period [sec]
0xF401
-/W
AN2 – multiplicative constant (with sign)
0xF402
-/W
AN2 – additive constant (with sign)
0xF403
-/W
AN2 – hysteresis value (with sign)
0xF404
-/W
AN2 – lower limit (with sign)
0xF405
-/W
AN2 – upper limit (with sign)
0xF406
-/W
bits 7-3:
AN2 – metering circuit switch time
0 → 1/64 sec
1 → 2/64 sec
...
30 → 31/64 sec
bits 2-0:
AN2 – samples number for average
0 → 1 sample
1 → 2 samples
2 → 4 samples
4 → 8 samples
5 → 16 samples
0xF500
-/W
CNT1 – multiplicative constant
0xF501
-/W
CNT1 – upper limit
0xF502
-/W
CNT1 – time of limit overrun [sec]
0xF503
-/W
CNT1 – time for metering reset [sec]
36
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
0xF600
-/W
CNT2 – multiplicative constant
0xF601
-/W
CNT2 – upper limit
0xF602
-/W
CNT2 – time of limit overrun [sec]
0xF603
-/W
CNT2 – time for metering reset [sec]
0xFFFF
-/W
Switch main supply off on set time [min]
Table 15: MODBUS Input/Output Address space
37
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.8
SPECTRE User Manual
USB Port
PANEL SOCKET USB-A
Pin
Signal mark
number
1
+5V
2
USB data 3
USB data +
4
GND
Description
Positive pole of 5V DC supply voltage
USB data signal – negative pole
USB data signal – positive pole
Negative pole of DC supply voltage
Data flow direction
Input/Output
Input/Output
Table 16: Connection of USB connector
Fig. 30: USB connector
38
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Example of connecting devices with a serial interface to the USB router:
Fig. 31: Connecting a PLC to the router
Connecting a USB flash drive to the USB router:
Fig. 32: Connecting USB memory stick to the router
39
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
4.9
SPECTRE User Manual
I/O Port
3-PIN PANEL SOCKET
Pin no.
Signal mark
1
2
3
BIN0
GND
OUT0
Description
Binary input
Signal ground
Binary output
Data flow direction
Input
Output
Table 17: I/O port Connection
Fig. 33: I/O connection
The user interface I/O is for the processing of binary input signals and for control (settings) of
binary output signals. Binary output is not switched to ground in the default configuration.
The maximum load for the binary output is 30V / 100mA. The constant current supplied by
the binary input is 3 mA.
Connect the cable’s I/O connector to the router’s I/O port and tighten locking screws.
(See Fig. 35)
Fig. 34: Connection I/O cable
40
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Circuit example of a binary input or output connected to the router:
Fig. 35: Connection of binary input and output of router
41
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
5. Resetting or Rebooting the Router
It is important to distinguish between resetting and rebooting the router.
Action
Reboot
Reset
Router behavior
Turn off and then turn on router
Actions
Disconnect and connect the power.
Restore the factory default configuration
and reboot the router.
Press the reboot button in the Web
configuration.
Press RST button.
Table 18: Ways to reset or restart the router
After the green LED starts to blink you may restore the router’s initial settings by pressing
button RST on front panel. The router will restore its factory default configuration and reboot
(The green LED will be on).
To reset, use a narrow screwdriver. (See Fig. 36)
Fig. 36: Router reset
We recommend backing up your router configuration before resetting. (See the separate
configuration manual). A router reset will erase your configuration and return the router to its
default settings.
42
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
6. Initial Setup
Before you can set up the router you will need to make all of the necessary connections. The
router cannot operate without a connected antenna, SIM card (for UMTS networks), and a
power supply.
For 3G models, operation without an antenna can damage the router.
Fig. 37: Router connections
43
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
6.1
SPECTRE User Manual
Starting the Router
Connect power to the router. In the default setting the router will start to login automatically
to the preset APN. The Ethernet port DHCP server will assign device addresses. The
behavior of the router can be modified by means of the Web or Telnet interface, as described
in the configuration manual.
The power consumption during receiving is 1W. The peak power consumption during data
sending is 5.5 W. For correct operation the power source must be able to supply a peak
current of 600mA.
6.2
Configuring the Router
Attention! The cellular carrier must be configured in the router prior to use. For UMTS
networks, the router will not operate without a SIM card. The SIM card must have activated
HSPA+/UMTS/EDGE/GPRS. For CDMA networks, the router is provisioned over-the-air.
Refer to the Configuration manual for details on selecting the cellular carrier.
6.2.1 Configuration using a Web browser
Monitoring of the status, configuration and administration of the router can be done via the
Web interface. The default IP address of the router is 192.168.1.1. The username is "root".
The password is "root".
A detailed description of configuring the router via the Web interface can be found
in the configuration manual
6.2.2 Configuration over Telnet
Monitoring of status, configuration and administration of the router can be performed
by means of the Telnet interface. The default IP address of the router is 192.168.1.1. The
username is "root". The password is "root".
A detailed description of configuring the router via Telnet can be found in the configuration
manual.
44
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
6.3
SPECTRE User Manual
Technical Parameters
SPECTRE Router
Complies with standards
Temperature range
Protection
Supply voltage
Consumption
Dimensions
Weight
Antenna connector*
User interface
Function
Storage
Freely
In switch board
Receive Mode
Transmit: GPRS*
Transmit: UMTS
/HSDPA/EVDO*
ETH
USB
PORT 1
PORT 2
EN 301 511, v9.0.2,
EN 301 908-1&2, v3.2.1,
ETSI EN 301 489-1 V1.8.1,
EN 60950-1:06 ed.2 + A11:09 + A1:10
-30 oC to +60 oC
-40 oC to +85 oC
IP20
IP56
10 to 30 V DC
300 mW
to 3.5 W (GPRS transmission)
to 5.5 W (UMTS/HSDPA transmission)
42x76x113 mm (DIN 35mm)
SPECTRE 3G – 280 g
SMA– 50 Ohm
Ethernet (10/100 Mbit/s)
USB 2.0 type A host
Model Dependent
Model Dependent
*Wireless parameters refer to 3G models only
Table 19: Specifications
Cellular module
HSPA+ parameters
UMTS parameters
GPRS parameters
Transmit power
Support channel
bit rate 21.1 Mbps/5,76 Mbps
3GPP rel. 7 standard
UE CAT. 1 to 6, 8, 10, 12, 14
Data compress 3GPP
PS bitrate – 384/384 kbps
CS bitrate – 64/64 kbps
W-CDMA FDD standard
bit rate 236 kbps/236kbps
GPRS multislot class 10, CS 1 to 4
EGPRS multislot class 10, CS 1 to 4,
MCS 1 to 9
UMTS/HSUPA/HSDPA/HSPA+ - (20dBm)
EGSM900/GSM850 - Class 4 (33dBm)
GSM1800/1900 - Class 1 (30dBm)
GSM/GPRS/EDGE
850Mhz, 900Mhz, 1800Mhz, 1900Mhz
UMTS/HSDPA/HSUPA/HSPA+
800Mhz, 850Mhz, 900Mhz,1900Mhz, 2100Mhz
Table 20: Cellular Module Specifications
45
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
32b ARM microprocessor
Memory
Interface
SPECTRE User Manual
512 Mb DDR SDRAM
128 Mb FLASH
1 Mb MRAM
Serial interface RS232
Ethernet interface 10/100Mbit/s
USB 2.0 interface
Table 21: Processor Specifications
Port IO
Input/Output
Binary input
reed contact
with trigger level 1.3 up
to 1.4 V
Binary output
120 mA/max. 30 V
Table 22: I/O Port Specifications
46
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
7. Troubleshooting
7.1
FAQ
Q. I have NAT enabled. My equipment is not connecting to the network
The device's gateway has to be configured as the router.
Q. The router resets itself and the Ethernet connection fails.
The router will not function without an antenna. Keep the antenna as far as possible
from the power supply.
Q. I can’t access the Web server over NAT.
The remote http access of the router has to be disabled, the default server address
has to be your web server and the gateway of the web server has to be the IP of the
router.
Q. PPP connection fails. (DAT LED off)
Check signal power. If signal power is weak you will need a better antenna. If the
neighboring cells have a similar signal strength, you will need to use a directional
antenna. For proper operation, the signal levels have to be in the range from -50dBm
to -90dBm. It is necessary to set ping, which will check the connection and, in the
case of failed ping, restart the connection.
Q. PPP connection cannot be established. (DAT LED off)
Recheck GPRS settings - APN, name, password and IP address.
Try to enter PIN – verify if the SIM card has the PIN code set.
In a private APN, switch the DNS server send off.
Switch the system log on and observe where the error occurs.
Q. FTP doesn’t function.
Router doesn’t support active FTP mode. It supports passive mode only.
Q. RS-232 doesn’t function.
Verify that the router supports RS-232 communications. Also verify the RS-232
communication settings. To do so, open the router’s configuration menu via the web
browser, select the appropriate expansion port and verify the settings in the
configuration menu.
Q. L2TP or IPSec isn’t establishing.
Check the system log for error messages.
47
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
Q. I switched the router to offline mode by SMS message, but the router is in online mode
after restart.
SMS messages do not permanently change the router configuration. They remain in
effect only until the router is restarted.
48
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com
B&B Electronics, Inc.
SPECTRE User Manual
8. Customer Support
Up to date information product information is on the product website:
http://www.bb-elec.com/
Maintenance:
 Handle the SIM card carefully. Do not bend, scratch or expose the card to static
electricity.
 Do not clean the router with harsh chemicals, solvents or abrasive cleaners.
B&B Electronics hereby declares that the router described in this user’s guide fits all basic
demands of directive 1999/5/EC (R&TTE).
A Declaration of conformity has been issued and may be requested from the
manufacturer.
49
SPECTRE_User_Manual_2912m
www.bb-elec.com
www.bb-europe.com