WIFI-ETH manual

WIFI-ETH manual
MODULES
WIFIT
ETH
Instruction manual
WIFI-ETH_Software_11.02_EN
WIFIT – ETH MODULES
INDEX
1.
INTRODUCTORY NOTES .............................................................................................................................................. 3
1.1. LED BEHAVIORS ................................................................................................................................................... 4
2. LIMITATIONS.................................................................................................................................................................. 5
3. SEARCH PROCEDURE OF THE DEVICE ..................................................................................................................... 6
4. CONFIGURATION OF TCP / IP NETWORK ADDRESS ................................................................................................ 7
5. WEB INTERFACE........................................................................................................................................................... 9
6. SET-UP PROCEDURE FOR THE VIRTUAL SERIAL PORT ....................................................................................... 10
6.1. VIRTUAL PORT ADVANCED SETTING ............................................................................................................... 12
7. CONFIGURING THE FIREWALL OF WINDOWS XP AND OF UPNP ......................................................................... 13
8. COMUNICATION METHODS ....................................................................................................................................... 15
8.1. SOCKET UDP OR TCP......................................................................................................................................... 15
8.2. RESPONSE OF THE SCALE DIRECTLY FROM THE BROWSER ...................................................................... 17
8.2.1.
RESPONSE ON THE DEFAULT BROWSER PORT ........................................................................................ 18
9. RESET .......................................................................................................................................................................... 21
10.
ADVANCED NETWORKS CONFIGURATIONS ....................................................................................................... 22
10.1.
IP ADDRESS SETTINGS .................................................................................................................................. 22
10.2.
LAN SETTINGS................................................................................................................................................. 23
10.3.
SECURITY SETTINGS ..................................................................................................................................... 24
11.
MAIN TECHNICAL SPECIFICATIONS ..................................................................................................................... 25
12.
TROUBLESHOOTING .............................................................................................................................................. 26
2
WIFIT – ETH MODULES
1. INTRODUCTORY NOTES
With this module it is possible to communicate and receive data from the weigh system, which usually happens through the
serial port, through the TCP/IP protocol (Ethernet), as well as through the cable and WiFi.
Furthermore, on the receiving computer, the TPC/IP communication can be readdressed on a virtual serial port, and
therefore manage all the communication between the computer and the weigh system, even if it’s done without a serial
cable.
Prerequisites for reading this manual:

Knowledge of the TCP / IP communication protocol.
Main folders and files:
The main directory of the programme contains two sub-directories:
Main Directory
- Diagnostics, Utilities and MIBs, containing the tools for searching and configuring the devices with the support of the
operating systems:
 Microsoft Windows 98
 Microsoft Windows Me
 Microsoft Windows NT 4.0
 Microsoft Windows 2000
 Microsoft Windows XP
 Microsoft Windows Server 2003
 Microsoft Windows Vista
 Microsoft Windows 7
- Realport Driver for Windows 2000, XP, and Server 2003, containing the programme for the actual installation on the
PC of the device previously configured with the support of the Operating systems:
 Microsoft Windows XP
 Microsoft Windows Server 2003
 Microsoft Windows Vista
 Microsoft Windows 7
3
WIFIT – ETH MODULES
1.1. LED BEHAVIORS
Link status / Integrity
Network activity / Diagnostic
LED
ETHERNET MODULE
WIFI MODULE
Top left
(yellow)
Network link status:
Off - no link has been detected.
On - a link has been detected.
Network link status:
On - unit is associated with an access point
Blinking slowly - unit is in ad hoc mode
Blinking quickly - unit is scanning for a network
Top
right
(green)
Serial port activity/Network activity:
Off - the serial channel is idle.
Blinking - serial data is transmitted or received.
4
WIFIT – ETH MODULES
2. LIMITATIONS
The application uses the TCP/IP (IEEE 802.3) protocol for dialoguing with the device, and in the wifi version (wireless) it
refers to the IEEE 802.11b (11 Mbps) specifications. Devices and access point used to communicate with it must therefore
refer to these rules.
Any software and/or hardware instrument which interferes with this, could make the application unusable.
Examples of conflicts can be:
 a firewall between one’s PC (or on the PC itself) and the device;
 a router or a network hardware which does not support these specifications between one’s PC and the device;
 execute a connection in VPN or modem which does not support these specifications.
Note: any problems and difficulties in installing this device, based on TCP/IP communication protocol, are the same that
may occur when the same protocol is used (personal computer, printer, scanner, server, ip webcam, and so on); installing
this device on a LAN, with or without encryption methods, managing the accesses through routers, firewalls (hardware or
software) and any other access control device in the customer information system architecture, requires the LAN System
Administrator assistance.
5
WIFIT – ETH MODULES
3. SEARCH PROCEDURE OF THE DEVICE
To search a DigiConnect device one first needs to execute the programme Device Discovery Utility for Windows.exe
Diagnostics, Utilities and MIBs
which scans the network to find the possible devices:
Device Discovery
In the above illustration one notes a detected device which must still be correctly configured: one will notice a red ball and
the message in red Not Properly configured in the Details window in the lefthand corner.
If there are various devices connected simultaneously to the network and are not yet configured, by using this panel it is
possible to carry out their correct configuration, assigning a different valid network address to each one.
6
WIFIT – ETH MODULES
After this it will be possible to access the device also through the Web Interface (there could be conflicts if there are various
devices assigned to the same TCP / IP address).
!!IMPORTANT!!
In case of some devices with different class from that of the network aren’t detected, see the paragraph 7.
4. CONFIGURATION OF TCP / IP NETWORK ADDRESS
The device is supplied already tested and preconfigured with the 192.168.16.205 address.
In order to make a correct configuration one should select the device with a click of the mouse and press Configure
Network Settings, which will cause the following window to appear:
Configure Network Settings
Here one will enter a correct IP address and the Subnet Mask. For further information consult the guide of Microsoft
Windows and/or the network administrator.
In order to quickly verify whether the address is valid, the first three fields of the IP address of the device must be equal to
the IP address of the PC: for example if the IP address of the PC is 192.168.16.24, verifiable by executing the ipconfig
command of the MS-Dos prompt, a new valid address will be 192.168.16.* in which * will substitute an available number.
Furthermore before assigning a new address it is better that one verifies whether it is already taken up by another device;
to do this one just needs to execute the ping command of the MS-Dos prompt as shown in the figure:
Example of ping command
7
WIFIT – ETH MODULES
If four expired request messages appear, then it is possible to give the device a specific address. Finally, the last field to be
filled in is the value of the Subnet Mask, which must be equal to the one of the PC and viewable always with the ipconfig
command.
Press SAVE to confirm and make the modifications. The device will then be rebooted:
Rebooting of the device
If there are errors and an error message is displayed, manually force the rebooting by pressing Reboot Device.
If all goes well one will view the device with the new address and no wrong configuration message:
Correctly configured device
8
WIFIT – ETH MODULES
5. WEB INTERFACE
The device is fitted with a server web which allows to modify the IP address, to update the firmware etc...; to reboot it one
must select the device and press Open Web Interface:
Web inferface
Type in the username ( “root” ) and password ( “dbps” ) in order to login.
Server Web of the device
9
WIFIT – ETH MODULES
6. SET-UP PROCEDURE FOR THE VIRTUAL SERIAL PORT
Launch the Setup.exe programme, select Add a New Device, select the device as shown in the figure:
Selection of the device
At this point one should link a virtual serial port to the device:
Selecting the virtual serial port
10
WIFIT – ETH MODULES
Press Ahead. The new hardware has been configured; even though it is not necessary, it is advisable to restart the PC.
To verify the installation, go to Control Panel → System → Hardware → Peripheral units management.
COM settings
In the window in the upper right hand corner, Advanced Properties, one will set the serial port, the baudrate, the data bits,
the parity, etc…
At this point the device and the serial port are correctly configured and ready to be used.
11
WIFIT – ETH MODULES
6.1. VIRTUAL PORT ADVANCED SETTING
By asking repeatedly “READ” on the serial port, the answer serial string may be received incorrectly and fragmented.
Changing the terminator string in “CR” (both tx and rx) may resolve the problem.
Also it is possible to set, in the Virtual Com propriety windows:
"Complete Write Requests Immediately"
The Virtual Com will not interpret beforehand the received data.
Below is an example:
12
WIFIT – ETH MODULES
7. CONFIGURING THE FIREWALL OF WINDOWS XP AND OF UPNP
If there are conflicts caused by the firewall of windows XP (see section 2 – “Limitations” ) it is possible to resolve them by
configuring the firewall.
Enable the “Device Discovery Utility for Windows.exe” programme in the firewall.
From the Control Panel select the PC safey centre:
Choose Windows Firewall  Exceptions  Add programme.
By selecting the path/filename of the DigiConnect tool.
13
WIFIT – ETH MODULES
!!IMPORTANT!!
In some cases, one may need ALSO to enable the UPnP in order to recognize the devices with a different class from that
of the network. For do that:
1.
2.
3.
Click on Start  Run, type appwiz.cpl and then click OK .
Click on Add/Remove Windows Components.
In the Components windows, select Networking Services and then click on Details.
4.
In the UPnP User Interface windows, enable the flag “Internet Gateway Device Discovery and Control Client”
and “UPnP User Interface”:
5.
Follow the instructions that appear on the screen to complete the installation.
14
WIFIT – ETH MODULES
8. COMUNICATION METHODS
8.1. SOCKET UDP OR TCP
In the web interface, select the “Serial ports” step and click on “Port 1”
Select the profile desired (TCP or UDP Socket)
15
WIFIT – ETH MODULES
Compile the “Match string” field writing “\xd \xa”.
NOTE: if one choose the TCP socket, the parameters described above can be found in the tab "advanced settings "
16
WIFIT – ETH MODULES
8.2. RESPONSE OF THE SCALE DIRECTLY FROM THE BROWSER
It is possible to ask the scale directly from the browser, by simply writing the device IP address and the associated default
port (2101), with the following syntax:
http://IP-SCALE:PORT
http://IP-SCALE:PORT/READ
http://IP-SCALE:PORT/TARE
answers net gross tare
answers like the READ serial command
answers like the TARE serial command and executes the tare on
the scale
etc…
In our case:
http://192.168.16.205:2101
http://192.168.16.205:2101/READ
http://192.168.16.205:2101/TARE
answers net gross tare
answers like the READ serial command
answers like the TARE serial command and executes the tare on
the scale
etc…
Example:
associated default port (2101):
17
WIFIT – ETH MODULES
8.2.1. RESPONSE ON THE DEFAULT BROWSER PORT
1) set Enable Web Service (HTTP) on the 81 port instead of 80 (the 80 is the default one of the browser)
18
WIFIT – ETH MODULES
In Serial Ports set the TCP Sockets option
Remove the “Enable Telnet access using TCP Port: “ and “Enable Secure Socket access using TCP Port:“ items and leave
only “Enable Raw TCP access using TCP Port: “ by setting the port on 80.
19
WIFIT – ETH MODULES
In this mode it’s now possible to request any command from the browser by simply putting it after the bar.
For example
http://IP-SCALE
http://IP- SCALE/READ
http://IP- SCALE/TARE
etc.. etc..
responds net gross tare
responds to the READ command as on serial port
responds to the TARE commans as on serial port and executes the tare
in our case:
http://192.168.16.205
http://192.168.16.205/READ
http://192.168.16.205/TARE
ecc.. ecc..
responds net gross tare
responds to the READ command as on serial port
responds to the TARE commans as on serial port and executes the tare
Through the REFRESH command in the REFRESH,XXX format (in which XXX is the time in seconds which one can set as
refresh) one updates the data on the screen.
For example:
http://192.168.16.205/REFRESH,5
updates the screen every 5 seconds
Note:
For further details see the technical manual of the indicator connected to the WIFI module.
Note:
This communication mode is also available with the Hypeterminal of Windows.
For further details please see the documentation of the Windows operating system.
20
WIFIT – ETH MODULES
9. RESET
1) Close the jumper J1.
2) Turn on the board.
3) After few instants, the orange led ( in the WIFI version) or the green led (in the ETH version), turns on in
sequences of 5 / 1 / 5 blinking.
4) After some blinking series, open the jumper J1.
5) Wait for the boot procedure of the board.
6) The default parameters are then set.
NOTE: After the reset, the device will have a dynamic IP address, so it will obtain an IP address automatically by
using DHCP. See paragraph “SEARCH PROCEDURE OF THE DEVICE” to communicate with the device.
J1
21
WIFIT – ETH MODULES
10.
ADVANCED NETWORKS CONFIGURATIONS
For more details about the managing of the protected Wireless LAN, below there are some print screens about the steps of
the subsections:
configuration  network
of the web interface of the WI-FI Digi Connect ME
10.1. IP ADDRESS SETTINGS
To ensure that the device has always the desired address, fill the fields” IP Address” and “subnet Mask”.
Remove the selection of “Enable AutoIP address assignement”
22
WIFIT – ETH MODULES
10.2. LAN SETTINGS
Select the “WiFi LAN Settings” parameter.
To avoid the device connects itself to unwanted networks, write the name of your network.
23
WIFIT – ETH MODULES
10.3. SECURITY SETTINGS
If your network has an encryption key, select the “WiFi Security Settings” parameter and fill in the appropriate fields.
24
WIFIT – ETH MODULES
11.
MAIN TECHNICAL SPECIFICATIONS
1. Standard device WiFi IEEE 802.11b
2. Max functioning distance:
outdoor: up to 100m;
indoor: up to 30-40m; this distance can vary more or less depending on the structure of the environment
in which it is used: the more the environment is hostile, the shorter the distance to reach.
3. Frequency: 2.4 GHz.
4. Data Rate: up to 11 Mbps with automatic fallback
5. Protocols and operating modes: IEEE 802.11b, including WEP (encryption)
6. Operating Temperature: -20°C +85°C
7. Power supply: from 5V to 12V Max.
WARNING: 12V is the maximum voltage applied, so only use a 12V power supplies. The use of unregulated power
supplies to 12V (with voltages exceeding 12V), can lead to damage of the card.
8. Current absorption:
CURRENT ABSORPTION
Startup and network connection
(duration: about 20 sec.)
Normal operation
POWER SUPPLY: 6 V
160mA
7,5 V
130mA
220mA
175mA
25
WIFIT – ETH MODULES
12.
TROUBLESHOOTING
PROBLEM
All LEDs of the card
ETH/WIFI are off.
The orange LED blinks
continuously and the
green about every 5
seconds.
POSSIBLE CAUSE
SOLUTION
POWER

Check the power adapter.
VARIOUS

The IP address of the card ETH / WIFI is different class than the
network you want to use. The default address of the card is
192.168.16.205 and the first three numbers in the network should
be the same (192.168.16).
Change (temporarily) the address of the access point / router to
configure the card directly (see paragraph “CONFIGURATION OF
TCP/IP NETWORK ADDRESS”), or use another access point /
router for configuration.

If the network is encrypted and the wifi card is not configured.
Remove (temporarily) the encryption and then configure the card
for the type of cryptography used (see paragraph “SECURITY
SETTINGS”). If this is not possible, use another access point /
router to configure the card. NORMALLY, ETH cards have
always direct access to the network (even if encrypted), unless
other configurations.

Check the connection cable to the network (if ETH) and if
possible try using a different cable. There are two types of
cables:
Normal: connection via Access Point.
Cross: for direct connection to PC.
The cable must not exceed 100m.

Check that the access point / router is turned on.

Check that the distance between the module and WIFI Access
Point / Router does not exceed the stated amount.
Cannot view the Web
interface
(error page is displayed).
Serial communication is
not working properly
The card is properly
connected to the network
but there is not a
communication.
PC Configuration
If the PC is controlled by a main server and a Proxy HTTP is
configured, disable Proxi server.
Virtual Serial
Configuration
VARIOUS
Click the flag "Full Write Requests Immediately" in the virtual COM
properties (see paragraph “VIRTUAL PORT ADVANCED SETTING”)
The orange LED is
fixedbut the device is not
displayed by the network.
Free WiFi networks
nearby

Check that the Port Profile of the card is configured. See
paragraph “COMMUNICATION METHODS”

Check that the access point / router is not blocking ports (default
is set to 2101/2001). In this case, change the port used by the
adapter ETH / WIFI (in the menu, go to step Portport 1
UDP/TCP Server Settings; see paragraph “COMMUNICATION
METHODS”)
Set the “network name” parameter. See paragraph “LAN SETTING”
26
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