background image

UNO-4678 User Manual

30

Appendix B  Watchdog Timer Program-

ming

B.1  UNO-4678

Below is a sample of programming code for controlling the Watchdog
Timer function.
-----------------------------------------------------------------------------------
Enter the extended function mode, interruptible double-write |
-----------------------------------------------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
-----------------------------------------------------------------------------
Configured logical device 8, configuration register CRF6 |
-----------------------------------------------------------------------------
MOV DX,2EH
MOV AL,2BH
OUT DX,AL
MOV DX,2FH
IN AL,DX
AND AL.OEFH;Setbit 4=0 Pin 89=WDTO
OUT DX,AL
MOV DX,2EH
MOV AL,07H; point to Logical Device Number Reg.
OUT DX,AL
MOV DX,2FH
MOV AL,08H; select logical device 8
OUT DX,AL;
MOV DX,2EH
MOV AL,30H;Set watch dog activate or inactivate

    

Summary of Contents for UNO-4678

Page 1: ...UNO 4678 Celeron 1GHZ UNO with 3 LAN Ports 8 Isolated RS 232 422 485 Ports 1U Form Factor User Manual ...

Page 2: ...inal manufacturer assumes no responsibility for its use nor for any infringements upon the rights of third parties that may result from such use Acknowledgements Intel Pentium and Celeron are registered trademarks of Intel Corp Microsoft Windows and MS DOS are registered trademarks of Microsoft Corp All other product names or trademarks are properties of their respective owners Support For more in...

Page 3: ...rials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps Step 1 Collect all the information about the problem encountered For example CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any on screen messages you get when the problem occurs Step 2 Call your dealer and d...

Page 4: ...iate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Technical Support and Assistance Step 1 Visit the Advantech web site...

Page 5: ...ve Modes 12 2 2 6 Termination Resistor JP1 JP8 12 2 3 LAN Ethernet Connector 13 2 4 Power Input 13 2 5 PS 2 Keyboard and Mouse Connector 13 2 6 USB Connector 13 2 7 VGA Display Connector 14 2 8 Reset Button 14 Chapter 3 Initial Setup 16 3 1 Inserting a CompactFlash Card 16 3 2 Connecting Power 16 3 3 Installing a Hard Disk 16 3 4 BIOS Setup and System Assignments 17 Appendix A System Settings and ...

Page 6: ...nnector Pin Assignments 26 A 7 PS 2 Keyboard and Mouse Connector 27 Table A 8 Keyboard mouse pin assignments 27 A 8 USB Connector USB1 USB2 27 Table A 9 USB connector pin assignments 27 A 9 VGA Display Connector 28 Table A 10 VGA adaptor cable pin assignment 28 Appendix B Watchdog Timer Programming 30 B 1 UNO 4678 30 ...

Page 7: ...2 CHAPTER 1 Overview This chapter provides an overview of UNO 4678 s specifications Sections include Introduction Hardware Specifications Safety Precautions Chassis Dmensions Packing List ...

Page 8: ...nding customized control an UNO 4678 that uses more flexible off the shelf technology is a better option UNO 4678 uses off the shelf components such as an x86 processor an Ethernet chip set CompactFlash and DRAM At the same time the UNO 4678 unit can broadcast the process data through the Ethernet and share the data with operators and managers By using off the shelf components machine builders can...

Page 9: ...siest networking method by PSTN Not only 8 chan nel serial COM port has 3 serial type but also provides surge and isolation protection up to 2 000VDC protecting your system from abrupt high volt age attack and accident or damage in harsh environments Popular Operating Systems and Rapid Application Development The Advantech UNO 4678 supports the popular off the shelf Microsoft Windows 2000 NT XP op...

Page 10: ...nput Min 48 W 9 36 VDC e g 24 V 2 A Weight 3 6 kg OS Support Windows XP Embedded SP2 Windows 2000 XP Windows CE NET 5 0 Linux System Hardware CPU Celeron M 1 GHz Indicators Power Power input 1 Power input 2 Power fault IDE all serial port Tx Rx monitoring Keyboard Mouse 1 x PS 2 Memory 512 MB DDR DRAM Storage SSD 1 x internal type I II CompactFlash slot HDD Extension kit for one standard 2 5 HDD V...

Page 11: ... kbps RS 422 485 50 921 6 kbps Max LAN 3 x 10 100Base T RJ 45 ports USB Ports UNO 4678 2 x USB UHCI Rev 1 1 compliant UNO 4678 2 x USB UHCI Rev 2 0 compliant Environment Humidity 95 40 C non condensing Operating Temperature 10 50 C 14 122 F Shock Protection IEC 68 2 27 CompactFlash 50 G wall mount half sine 11 ms HDD 20 G wall mount half sine 11 ms Vibration Protection IEC 68 2 64 Random 1 Oct min...

Page 12: ...damage sensitive electronic compo nents Only experienced electronics personnel should open the chassis Caution Always ground yourself to remove any static electric charge before touching UNO 4678 Mod ern electronic devices are very sensitive to static electric charges Use a grounding wrist strap at all times Place all electronic components on a static dissipative surface or in a static shielded ba...

Page 13: ...7 Chapter1 1 4 Chassis Dimensions Figure 1 1 Chassis Dimensions ...

Page 14: ... of UNO 4678 contains the following items A UNO 4678 B 2 x rack mounting kit C 8 x screw for rack mount kit D UNO series Driver and Utility CD ROM E Keyboard Mouse PS 2 cable F IDE cable for 2 5 HDD G 2 5 HDD expansion kit 8 screws and 4 HDD expansion kit buffers ...

Page 15: ...UNO 4678 s hardware functions including connecting peripherals set ting switches and indicators Sections include Introduction RS 232 422 485 Interface LAN Ethernet Connector Power Connector PS 2 Mouse and Keyboard Connector USB Connector VGA Display Connector Reset Button ...

Page 16: ...r input 1 is inactive 3 P2 On Power input 2 is active Off Power input 2 is inactive 4 Fault On Power input 1 or Power input 2 have failed Off Power input 1 and Power input 2 are active 5 IDE On Data being received transmitted on IDE Off No data being received transmitted on IDE 6 ACT On Ethernet data being received transmitted Off No data being received transmitted LINK On 10 100Mbps Network links...

Page 17: ...FIFOs 2 2 2 RS 422 485 detection In RS 422 485 mode UNO 4678 automatically detects signals to match RS 422 or RS 485 networks No jumper change required 2 2 3 Automatic Data Flow Control Function for RS 485 In RS 485 mode UNO 4678 automatically detects the direction of incoming data and switches its transmission direction accordingly So no handshaking signal e g RTS signal is necessary This lets yo...

Page 18: ...des You can set the Auto Flow Control mode of RS 485 or Master Slave mode of RS 422 by using the SW2 DIP switch for each RS 422 485 port In RS 485 if the switch is set to Auto the driver automatically senses the direction of the data flow and switches the direction of transmission No handshaking is necessary In RS 422 if DIP switch is set to On the driver is always enabled and always in high or lo...

Page 19: ...ut 9 VDC it will switch to another power input and the FAULT LED will be enabled 2 5 PS 2 Keyboard and Mouse Connector The UNO 4678 provides a PS 2 keyboard and PS 2 mouse connector A 6 pin mini DIN connector is located on the front panel of the UNO 4678 The UNO 4678 comes with an adapter to convert from the 6 pin mini DIN connector to two 6 pin mini DIN connectors for PS 2 keyboard and PS 2 mouse...

Page 20: ... and support 8 16 32 MB frame buffer with system memory The UNO 4678 provides a VGA controller Intel 855 852 GME supports a single 1 5V accelerated graphics port interface for a high resolution VGA interface It supports CRT Mode 1280 x 1024 32bpp 60Hz 1024 x 768 32bpp 85Hz LCD Simultaneous Modes 1280 x 1024 16bpp 60Hz 1024 x 768 16bpp 60Hz and up to 32 MB shared memory 2 8 Reset Button Press the R...

Page 21: ...2 CHAPTER 3 Initial Setup This chapter introduces how to initial ize the UNO 4678 Sections include Inserting a CompactFlash Card Conneting Power Connecting a Hard Disk BIOS Setup and System Assignments ...

Page 22: ...678 to a 9 36 V DC power source The power source can either be from a power adapter or an in house power source 3 3 Installing a Hard Disk Please follow these steps to install a hard disk into the UNO 4678 1 Remove the power cord 2 Unscrew the screws from the top cover of UNO 4678 3 Remove the top cover 4 Install the HDD in HDD bracket and screw on the HDD with the four screws 5 Put HDD extension ...

Page 23: ...You can find this manual on the UNO 4678 driver and utility CD ROM UNO 4678 adopts Advantech s SOM 4481 CPU module Further infor mation about the SOM 4481 CPU module can be found in SOM 4481 s user s manual You can find this manual on the UNO 4678 s driver and utility CD ROM Please note that you can try to LOAD BIOS DEFAULTS from the BIOS Setup manual if the UNO 4678 does not work properly ...

Page 24: ...UNO 4678 User Manual 18 ...

Page 25: ...Appendix A System Settings and Pin Assignments ...

Page 26: ...8042 keyboard controller 070 07F Real time clock non maskable interrupt NMI mask 080 09F DMA page register 0A0 0BF Interrupt controller 2 slave 0C0 0DF DMA controller master 0F0 Clear math co processor 0F1 Reset math co processor 0F8 0FF Math co processor 1F0 1F8 1st fixed disk 278 27F Reserved 380 38F SDLC bisynchronous 2 3A0 3AF Bisynchronous 1 3B0 3BF Monochrome display 3C0 3CF Reserved 3D0 3DF...

Page 27: ...al timer IRQ 1 Keyboard IRQ 2 Interrupt from controller 2 cascade IRQ 3 Free IRQ 4 Free IRQ 5 Free IRQ 6 Diskette controller FDC IRQ 7 Free IRQ 8 Real time clock IRQ 9 Free IRQ 10 Free IRQ 11 Reserved for watchdog timer IRQ 12 PS 2 mouse IRQ 13 INT from co processor IRQ 14 Primary IDE IRQ 15 Secondary IDE for CompactFlash ...

Page 28: ...ard controller 070 07F Real time clock non mask interrupt NMI 080 09F DMA page register 0A0 0BF Interrupt controller 2 slave 0C0 0DF DMA controller master 0F0 Clear math co processor 0F1 Reset math co processor 0F8 0FF Math co processor 1F0 1F8 1st fixed disk 278 27F Reserved 380 38F SDLC bisynchronous 2 3A0 3AF Bisynchronous 1 3B0 3BF Monochrome display 3C0 3CF Reserved 3D0 3DF Color graphics mon...

Page 29: ...IRQ 0 Interval timer IRQ 1 Keyboard IRQ 2 Interrupt from controller 2 cascade IRQ 3 Free IRQ 4 Free IRQ 5 Free IRQ 6 Diskette controller FDC IRQ 7 Free IRQ 8 Real time clock IRQ 9 Free IRQ 10 Free IRQ 11 Free IRQ 12 PS 2 mouse IRQ 13 INT from co processor IRQ 14 Primary IDE IRQ 15 Secondary IDE for CompactFlash ...

Page 30: ...nual 24 A 3 RS 232 422 485 9pin Serial Port COM1 COM2 Table A 5 RS 232 422 485 pin assignments Pin RS 232 RS 422 RS 485 1 DCD Tx Data 2 Rx Tx Data 3 Tx Rx 4 DTR Rx 5 GND GND GND 6 DSR 7 RTS 8 CTS 9 RI 1 5 9 6 3 2 4 7 8 ...

Page 31: ... RJ 45 Connector LAN1 LAN2 Table A 6 RS 232 422 485 pin assignments Pin RS 232 RS 422 RS 485 1 Rx Tx Data 2 Tx Tx Data 3 RTS Rx 4 CTS Rx 5 GND GND GND Table A 7 Ethernet RJ 45 connector pin assignments Pin 10 100Base T Signal Name 1 XMT 2 XMT 3 RCV 4 NC 5 NC 6 RCV 7 NC 8 NC ...

Page 32: ...power input 9 VDC it will switch to another power input and the FAULT LED will be enabled 2 RPL1 RPL2 is internal relay and can be used for remote monitor the standard mode is Close if one of input power got fail it will be Open Pin Signal Name VIN Power input 1 Range 9 36VDC VBAT power input 2 Range 9 36VDC GND Ground RLP1 Internal relay Normal status Close Fail Status Open RLP2 ...

Page 33: ... Connector USB1 USB2 Table A 8 Keyboard mouse pin assignments Pin Signal Name 1 KB DATA 2 MS DATA 3 GND 4 VCC 5 KB Clock 6 MS Clock Table A 9 USB connector pin assignments Pin Signal Name Cable Color 1 VCC Red 2 DATA White 3 DATA Green 4 GND Black 5 3 1 2 4 6 ...

Page 34: ...er Manual 28 A 9 VGA Display Connector Table A 10 VGA adaptor cable pin assignment Pin Signal Name 1 Red 2 Green 3 Blue 4 NC 5 GND 6 GND 7 GND 8 GND 9 NC 10 GND 11 NC 12 NC 13 H SYNC 14 V SYNC 15 NC 5 15 1 11 10 6 ...

Page 35: ...Appendix B Programming the Watchdog Timer ...

Page 36: ...ruptible double write MOV DX 2EH MOV AL 87H OUT DX AL OUT DX AL Configured logical device 8 configuration register CRF6 MOV DX 2EH MOV AL 2BH OUT DX AL MOV DX 2FH IN AL DX AND AL OEFH Setbit 4 0 Pin 89 WDTO OUT DX AL MOV DX 2EH MOV AL 07H point to Logical Device Number Reg OUT DX AL MOV DX 2FH MOV AL 08H select logical device 8 OUT DX AL MOV DX 2EH MOV AL 30H Set watch dog activate or inactivate ...

Page 37: ... 00 inactivate OUT DX AL MOV DX 2EH MOV AL F5H Setting counter unit is second OUT DX AL MOV DX 2FH MOV AL 00H OUT DX AL MOV DX 2EH MOV AL F6H OUT DX AL MOV DX 2FH MOV AL 05H Set 5 seconds OUT DX AL Exit extended function mode MOV DX 2EH MOV AL AAH OUT DX AL ...

Page 38: ...UNO 4678 User Manual 32 ...

Reviews: