UNO-1019 PXA 200MHZ, 64MB RAM, 2 x LAN,4 x COM Universal Network Controller User Manual...
Page 2
No part of this man- ual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reli- able.
Page 3
Product Warranty (2 years) Advantech warrants to you, the original purchaser, that each of its prod- ucts will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or...
This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
Page 5
Safety Instructions Read these safety instructions carefully. Keep this User's Manual for later reference. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for clean- ing. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible.
Page 6
The sound pressure level at the operator's position according to IEC 704- 1:1982 is no more than 70 dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein. Safety Precaution - Static Electricity Follow these simple precautions to protect yourself from harm and the products from damage.
Mounting ................. 17 2.8.1 Panel Mounting ............17 Figure 2.9:Combine the Metal Mounting Kit ....17 Figure 2.10:Attach UNO-1019 to the Wall ....18 2.8.2 DIN-rail Mounting ............19 Figure 2.11:Installation to DIN-rail Step 1 ....19 Figure 2.12:Installation to DIN -rail Step 2 ....20 Figure 2.13:Installation to DIN-rail Step 3 ....
Page 8
Application Development Procedure ......55 4.5.2 Watchdog Timer ............57 4.5.3 DIO, LED and Buzzer ..........63 Saving Your Settings............72 UNO-1019 Network Administration User Guide ..72 4.7.1 Network Administration ..........73 4.7.2 File Server ..............81 4.7.3 FTP Server ..............85 4.7.4...
Page 9
Overview This chapter gives background infor- mation on the UNO-1019. It shows you the UNO-1019 overview and specifica- tions. Sections include: • Introduction • Features • Hardware Specifications • Safety Precautions • Chassis Dimensions...
Microsoft Windows CE is a compact, highly efficient, real-time operating system designed for embedded systems. UNO-1019 could operate well under 0 ~ 70° C, its small size and light weight could fit in industrial robust environment. With these advantage, UNO-1019 is suitable for communication gateway for converting communication protocol, IO control and data storage.
1.3 Hardware Specifications General • Certifications CE, FCC Class A • Dimensions (W*H*D) 46 x 162 x 126 mm • Enclosure ABS+PC with solid mounting hardware • Mounting DIN35 rail, wall • Power Consumption 8.5W • Power Requirement 3 W (10 ~ 30 V •...
Page 12
Environment • Operating Temperature 0 ~ 70° C (32° ~ 158° F) • Storage Temperature -20° ~ 80° C (-4° ~ 176° F) • Operating Humidity 20 ~ 95% (non-condensing) • Storage Humidity 0 ~ 95% (non-condensing) UNO-1019 User Manual...
Figure 1.3: UNO-1019 Front View Dimensions Figure 1.4: UNO-1019 Bottom View Dimensions UNO-1019 User Manual...
Page 15
Installation In this chapter, you will be given an overview of the UNO-1019 hardware installation procedures. Sections include: • Overview: • LED • Network Connections • Serial Connections • Power Connections • Digital Input/Output • CompactFlash • Mounting...
Chapter 2 Installation 2.1 Overview Figure 2.1: UNO-1019 Overview Item Description Serial Port Networking port CompactFlash slot Power Digital input/output UNO-1019 User Manual...
2.2 LEDs LEDs to display the power, network, serial and programmable LED status are located on the front panel of UNO-1019, and each of them has its own specific meaning, as shown in the table below. Table 2.1: UNO-1019 LED Definitions...
2.4 Serial Connections 2.4.1 Serial Type Selection UNO-1019 provides 4 serial Com ports, COM1 & COM2 provide RS- 232, and COM3 & COM4 provide RS-232/422/485. The default settings of COM3 & COM4 is RS-422/485, and the UNO-1019 could identify RS-422 or RS-485 automatically according to your wiring. If users want to change the serial type, the chassis can be opened and modified.
2.4.2 Enable Mode You could set the Enable mode by using DIP switches (S10). If the switches are set to "Off", the driver automatically senses the direction of the data flow and switches the direction of transmission. No handshaking is necessary. If DIP switches are set to "On," the driver is always enabled, and always in high or low status.
Page 20
Refer to the figure and table below for COM1 & COM2 descriptions. COM1 & COM2 Pin Assignments RS-232 UNO-1019 User Manual...
Figure 2.5: Digital I/O Pin Assignments You can refer to Figures 2.6 & 2.7 for the digital input connection. UNO-1019 provides 2 ways to use digital inputs function, please refer below figure shows how to connect digital input function. UNO-1019 User Manual...
1. Make sure system power is off 2. Remove the power cord 3. Remove CompactFlash the card door on the top panel of UNO-1019 4. Plug a CompactFlash card into a CompactFlash card slot. UNO-1019 User Manual...
UNO-1019 supports two different mounting methods: Panel & DIN-rail. 2.8.1 Panel Mounting UNO-1019 can be wall mounted by using the included mounting kit. First, use the screws included in the package to combine the UNO-1019 and metal mounting kit. Figure 2.9: Combine the Metal Mounting Kit...
2.8.2 DIN-rail Mounting You can also mount UNO-1019 on a standard DIN-rail by below steps. First, pull down the kit in the back of UNO-1019 Figure 2.11: Installation to DIN-rail Step 1 Chapter 2...
Put the UNO-1019 at a right angle with the Din-rail. The grounding spring in the back should be flush with the aluminum rail. Then pull up the kit to wedge the UNO-1019 firmly into place. Figure 2.13: Installation to DIN-rail Step 3...
Chapter 3 Initial Setup 3.1 Initial Procedure The UNO-1019 offers an easy setup feature: it takes four easy steps for your initial setup before use. Take out the UNO-1019 from the package and follow the steps below for initial setup: Connect all peripheral devices, such as RJ-45 connector of Ethernet connection, RS-232 (RJ-48 connector) and RS-485 connectors.
Page 33
Remote Display tool running on you computer will detect the UDP mes- sage that send out by UNO-1019 and show the device name and IP in it's device list. You can select and connect to the device (UNO-1019) in the list as you want.
Page 34
Choose the connected device in the list : After clicking “Connect” bottom, the configuration computer will con- nect with UNO-1019. The remote display screen will be as following : UNO-1019 User Manual...
Page 35
Please go to the “Command Prompt” for network IP setting User can use “ipchange” command for IP change setting in command prompt mode. Please type “ipchange /?” for command reference. Chapter 3...
Page 36
If LAN1 of UNO-1019 will be set as DHCP, the ipchange 1/1 will be used as set up command. If LAN2 of the UNO-1019 will be set as the specific IP address, the setting command and procedure should be as following :...
Page 37
Press “Enter”, the remote display will show the following message. Wait for the “Saving Registry Done” to make sure the IP change setting work is successfully done. Power on the UNO-1019 module again to reboot the WinCE for new IP address implement. Note: The uScope Remote Display tool is only used for the configuration work.
Page 39
Advanced Applications This Chapter will provide detailed explanations of the UNO-1019’s Advanced Applications Sections include: • Inserting a CompactFlash Card • ActiveSync Connection • Remote Access Configuration • Autorun Configuration • Application Development Procedure • Saving Your Settings • Network Administration User Guide...
Chapter 4 Advanced Applications 4.1 Inserting a CompactFlash Card The procedure for installing a CompactFlash card into the UNO-1019 is as follows, please follows these steps carefully. Remove the power connector to power off the UNO-1019 Remove the CF slot cover.
Page 41
Install Microsoft ActiveSync 4.1 from below path: \ActiveSync Please connect the ActiveSync cable (Null Modem cable, Advan- tech part no. : 1703093000) to COM1 of UNO-1019 and the COM port of configuration computer for ActiveSync communication. Step 2 : Connect the UNO-1019 via DiagAnywhere through Ethernet.
Page 42
Click the icon “Make New Connection” Select the connection type: Direct Connection, then press Next UNO-1019 User Manual...
Page 43
Choose the COM port of UNO-1019. Press Start / Settings / Control Panel, and then “PC Connection”. Click Change button to choose your network communication. In this example, change the network to “My Connection”. Chapter 4...
Page 44
Step 4 : Setting Up the Communication Environment of the Host Double click the icon ActiveSync. Select File/Connection Settings UNO-1019 User Manual...
Page 45
Configure the connection settings as below. After you configure the connection setting, it will show the below dialog window when you press Get Connected Chapter 4...
Page 46
Note: Don’t click Next button at this time. Press Start/ Run of UNO-1019; enter the \windows\repllog.exe in the command line of and press OK button UNO-1019 User Manual...
Page 47
Now, press the Next button in the “Get Connected” dialog in the host. It will build the connection between UNO-1019 and host. If the connection between UNO-1019 and the host has been established, you will see below message in UNO-1019.
Page 48
If the connection between UNO-1019 and the host has been established, you will see below message in the host. Select No, then press Next button. After the New partnership setting, it will show the below dialog window in the host.
Page 49
Press Explore button in Microsoft ActiveSync window, it will pop up the Mobile Device window to display the file resources and information of UNO-1019 as below: For example, if you click the icon “My Documents’”, you will see the content of storage in UNO-1019.
Double click “My Computer” in “Mobile Device” for file translation. 4.3 Remote Access Server Configuration UNO-1019 provides “Remote Access Services” which offers the possibil- ities for remote network and user to have TCP/IP access local mail serv- ers, access to database, web servers or other Intranet services.
Page 51
Dial-up Configuration Press start of task bar of window system and select “Settings” / “Networking and Dial-up Connections” Double click “Make New Connection”, then a dialog window will pop out. Select Dial-Up Connection and press Next >. Chapter 4...
Page 52
Setup the device according to the specification of the modem and press Next >. UNO-1019 User Manual...
Page 53
Enter the telephone number in the “Phone Number” window. Press Finish button to complete the dial-up configuration. Press start of task bar of window system and select “Setting” ‡ “Networking and Dial-up connections”. Double click the new con- nection that you made previously (it is RAS Connection in this case), and it will pop out the “Dial-Up Connection”...
Page 54
Edit the dialing pattern for each type of call to change how the phone is dialed. Note: Country/Region Code, please enter “E” or “e” Area Code, please enter “F” or “f” Number, please enter “G” or “g” UNO-1019 User Manual...
Page 55
Double click My Connection and press Connection button to build a PPP connection. Dial-in Configuration Press start of task bar of window system and select “Setting” / “Control Panel”. Chapter 4...
Page 56
Double click the RAS Server icon from Control Panel. Select the “General” tab under “Advantech RAS Server Configura- tion”. Select “Enable RAS”, “Use Static IP Address” and enter a specified IP in Static IP Address blank. UNO-1019 User Manual...
Page 57
Select the “Input Lines” tab under “Advantech RAS Server Config- uration”. Click Add button to setup the input line according to the available RAS device. Select the “Logon Security” tab under “Advantech RAS Server Configuration”. Select security protocol if necessary.
Page 58
Select the “Logon Security” tab under “Advantech RAS Server Configuration”. Add a new account for remote access services. After all settings are completed, press Apply button and then it will pop up the RasConfig dialog window. Press Yes button to save reg- istry setting to storage card.
4.4 Autorun Configuration Note This document introduces how to execute applications automatically when you boot UNO-1019 up. Autorun Configuration Procedure Execute the “UNO Configuration Utility” Go to the “Misc” page in UNO Configuration Utility. Chapter 4...
Page 61
Click on the “Program Path” bottom for selecting the program for Auto-Run setting.. Please choose the program then press “OK”. Chapter 4...
Page 62
Click on the “Add” bottom to set the program for Auto-Run action. The UNO Configuration Utility will add the selected program in Auto- Run requirement. Please press “OK” to finish the configuration. UNO-1019 User Manual...
Time Type Information (RTTI), and a plethora of new debugger functionalities. Before you begin to develop your application, you must install Microsoft eMbedded Visual C++ first. Insert UNO-1019 CD into the CD-ROM in the host PC. Install UNO-1019 Software Development Kit for eMbedded Visual C++ from below path: \UNO-1019\SDK Install Microsoft ActiveSync 4.1 from below path:...
Page 64
Select “UNO-1019” in the main window of Visual C++ . UNO-1019 User Manual...
UNO-1019. 4.5.2 Watchdog Timer There is a built-in watchdog timer in UNO-1019. Users can utilize the WDT driver with standard WIN32 API to implement the watchdog func- tion in their applications. To use the watchdog driver, firstly user must open it via the name, “WDT1:”, then use DeviceIOControl function to...
Page 66
IOCTL_WDT_REBOOT to the WDT driver, your application must trigger the Watchdog once during the Watchdog timer period. If your application has not triggered at the specified period, the device will reboot automatically. lpInBuffer: unused. nInBufferSize: unused. lpOutBuffer: unused. nOutBufferSize: unused. UNO-1019 User Manual...
Page 67
4. IOCTL_WDT_GETTIMEOUT: Get the Watchdog timeout value. lpInBuffer: unused. nInBufferSize: unused. lpOutBuffer: The DWORD pointer to your Watchdog timeout setting. The Watchdog timeout setting is just a number. 0 means 2 seconds, 1 means 5 seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30 seconds, 5 means 45 seconds, 6 means 60 seconds, 7 means 120 seconds, 8 means 300 seconds, 9 means 600 seconds, 10 means 900 seconds, oth- ers means the maximum 1140 seconds.
Page 68
[in] Long pointer to a buffer that contains the data required to perform the operation. This parameter can be NULL if the dwIoControlCode parame- ter specifies an operation that does not require input data. . nInBufferSize [in] Size, in bytes, of the buffer pointed to by lpInBuffer. . lpOutBuffer UNO-1019 User Manual...
Page 69
[out] Long pointer to a buffer that receives the output data for the opera- tion. This parameter can be NULL if the dwIoControlCode parameter specifies an operation that does not produce output data. . nOutBufferSize [in] Size, in bytes, of the buffer pointed to by lpOutBuffer. .
Page 70
// Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds. DeviceIoControl(m_hWDT, IOCTL_WDT_SET_TIMEOUT, &nIndex, sizeof(nIndex), NULL, 0, &dwTemp, NULL); // Enable the Watchdog timer DeviceIoControl(m_hWDT, IOCTL_WDT_ENABLE, NULL, 0, NULL, 0, &dwTemp, NULL); // Activate timeout reboot DeviceIoControl(m_hWDT, IOCTL_WDT_REBOOT, NULL, 0, NULL, 0, &dwTemp, NULL); UNO-1019 User Manual...
0, &dwTemp, NULL); CloseHandle(m_hWDT); 4.5.3 DIO, LED and Buzzer UNO-1019 has 2 DI(Digital Input) , 2 DO(Digital Output), 3 LED and a Buzzer. Users can access these resources via the built-in Advantech IO Service driver named “ADV1:”.The follows are the descriptions and...
Page 74
This function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation. BOOL DeviceIoControl( HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped ); UNO-1019 User Manual...
Page 75
Parameters: . hDevice [in] Handle to the device that is to perform the operation. Call the Create- File function to obtain a device handle. . dwIoControlCode [in] Specifies the control code for the operation. This value identifies the specific operation to be performed and the type of device on which the operation is to be performed.
Page 77
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x950, METHOD_BUFFERED, FILE_ANY_ACCESS) #define IOCTL_STOP_BUZZER CTL_CODE(FILE_DEVICE_UNKNOWN, 0x951, METHOD_BUFFERED, FILE_ANY_ACCESS) HANDLE hDev; DWORD i, dwGot, dwNumReturned; // LED & IO Test Program. hDev = CreateFile( _T("ADV1:"), // Pointer to the name of the port GENERIC_READ | GENERIC_WRITE, //Access (read-write) mode // Share mode NULL, // Pointer to the security attribute...
4.6 Saving Your Settings Once you made changes for UNO-1019, you may need run RegSave.exe to save Windows CE system Registry to CF card or on-board flash disk to keep your settings. See Registry Saving section for detail. Registry Saving Running RegSave.exe to save system Registry to CF card or on-board...
Following steps introduces how to connect the UNO-1019 by standard browser, and configure the field-site UNO-1019’s network setting remotely. Execute standard browser (for instance, Internet Explorer), and enter UNO-1019 (which you would like to connect)’s IP address as below, IP address/networkadmin Instance: 172.18.3.89/networkadmin System will ask you to enter password when you login UNO-1019 first time.
Page 82
Connect to the UNO-1019 again, and the system will ask you to enter user name and password. After authorization, you will enter Windows CE networking setup page. UNO-1019 User Manual...
Page 83
Enter proper device name and press Submit button. Please MUST change UNO-1019’s device name at your first usage. But after you change UNO-1019's device name, please don't ever change device name back to UNO-1019, it's not permitted for WinCE OS...
Page 84
"Control Panel" / "System" 's device name tag. You could see below picture for referrence. IPV6 If you want to enable “IPV6”, please check “Enable IPV6” and press Submit button. System will ask you to restart UNO-1019, the UNO-1019 will support IPV6 after restarting. UNO-1019 User Manual...
Page 85
Advanced Setting “Advanced setting” allows ports to be statically reserved and mapped. System will list all of the adapters present on the UNO-1019. You can configure the adapter bindings as public, private, bridged, or default to simply bind it to TCP/IP.
Page 86
User Accounts “User Accounts” function allows you to add, modify and delete user accounts on this UNO-1019. "ADMIN" is the only account allowed to manage account information Note: The account we manage here is for network service such as File server ,FTP,Telnet and Web server, but NOT "ACCESS THIS ADMIN...
Page 87
Create a Group <2-A> Enter a group name in the “Create a new” field, and press Create. <2-B> If you want to choose which users are members of group, please press Modify button behind the group name. Set the box next the user’s name to have them be part of this group. Chapter 4...
Page 88
<2-C> If you want to delete a group, please press Delete button behind the group name. Features Allows configuration of advanced gateway features. You can configure the File server, FTP server, Telnet server and Web Server Administration accordingly. UNO-1019 User Manual...
4.7.2 File Server <A-1> Choose the folder in UNO-1019 you wish to share and then enter a share name then press “Submit”. <A-2> Press "Modify" to set up share permissions, choose the account who will use file server function, then click "Allowed" then press "Modify".
Page 90
If you want to use password to protect UNO file server, please key in your ADMIN password, chossing "PWD Enabled" and click "Submit", every time you access file server, UNO file sever will ask you a password of account to enable file accessing. UNO-1019 User Manual...
Page 91
Creating a Network Disk Windows CE provides the command to enable remote network disk as a local disk. <Command> Usage: net use [<local name of folder on UNO-1019>|*] [<remote name>] [/ user:<username>] [/d] net view <computername> | /DOMAIN:<domainname> <Description> [/d] Disable network disk <Instance>...
Page 92
Execute the blow command by local UNO-1019’s command prompt, and system will ask you to enter your user name, password and domainif you would like to save your user name and password as “default user”, please check “Update Default Credentials”.
If you want to delete this folder on UNO-1019 , you could execute the command as below <EX> net use UNO1019V1 \\nb940902\temp /user:daniel.hsu /d 4.7.3 FTP Server The FTP server accepts ftp connections and allows the UNO-1019 to be configured remotely.
Page 94
Logs Use Logs section to control what information about the FTP transactions is logged. UNO-1019 User Manual...
Page 95
FTP Users Use FTP Users section to control access to the FTP server for each user. To add new user, please go to the “User Account” page. You can configure a seprate home directory for each user by appending the user’s name to home directory. Denying read permission to a user, denies complete access to the FTP server for that user.
Page 96
Virtual Roots You can add/delete virtual roots to the FTP server. Virtual roots allow you map a physical directory to and directory with a different name. UNO-1019 User Manual...
4.7.4 Telnet Server The telnet server accepts telnet connections and allows the UNO-1019 to be configured remotely. Telnet Server Configuration • Server Enabled- Will the telnet server accept incoming connections? • Require Authentication- Will the telnet server prompt for user name...
4.7.5 Restart Network Restart for network change to take effect. To make the changes you have made take effect immediately, please press “Restart Networking” button, and then the home gateway networking services will be restart. UNO-1019 User Manual...
Need help?
Do you have a question about the UNO-1019 and is the answer not in the manual?
Questions and answers