background image

11

Chapter 2  

2.3.6 RS-485 Auto Flow Control Mode and RS-422 Mas-
ter/Slave Mode Selection

You can set the “Auto Flow Control” mode of RS-485 or “Master/Slave” 
mode of RS-422 by using the SW3 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 low status.

Table 2.1: Auto Flow Control and RS-422 Slave/Master Selection

SW3 DIP Switch Setting

COM Port

Mode Selections

COM3

RS-422: Slave mode
RS-485: Auto flow control

COM4

RS-422: Slave mode
RS-485: Auto flow control

COM3

RS-422: Master mode
RS-485: N/A

COM4

RS-422: Slave mode
RS-485: Auto flow control

COM3

RS-422: Slave mode
RS-485: Auto flow control

COM4

RS-422: Master mode
RS-485: N/A

COM3

RS-422: Master mode
RS-485: N/A

COM4

RS-422: Master mode
RS-485: N/A

1

2

O

N

1

2

O

N

1

2

O

N

1

2

O

N

Summary of Contents for UNO-2160

Page 1: ...UNO 2160 Celeron 400 Universal Network Controller with PC 104 extension User Manual ...

Page 2: ... for any infringements upon the rights of third parties that may result from such use Acknowledgements IBM PC AT PS 2 and VGA are trademarks of International Business Machines Corporation Intel and Pentium are trademarks of Intel Corporation Microsoft Windows and MS DOS are registered trademarks of Microsoft Corp C T is a trademark of Chips and Technologies Inc All other product names or trademark...

Page 3: ... 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 descri...

Page 4: ...UNO 2160 User Manual iv ...

Page 5: ...85 Selection 10 Figure 2 3 RS 422 485 jumper setting 10 Figure 2 4 RS 232 jumper setting 10 2 3 6 RS 485 Auto Flow Control Mode and RS 422 Master Slave Mode Selection 11 Table 2 1 Auto Flow Control and RS 422 Slave Master Selection 11 2 3 7 IRQ and Address Setting 12 Table 2 2 IRQ Setting via switch 1 at SW2 12 Table 2 3 IRQ Setting via switch 1 at SW2 12 2 4 LAN Ethernet Connector 13 2 5 Power Co...

Page 6: ... UNO 2160 System I O Ports 22 A 2 Board Connectors and Jumpers 24 Figure A 1 UNO 2160 conn and jp locations fs 24 Figure A 2 UNO 2160 conn and jp locations bs 24 A 3 RS 232 Standard Serial Port COM1 COM2 26 A 4 RS 232 422 485 Serial Port COM3 COM4 27 A 5 Ethernet RJ 45 Connector LAN1 LAN2 27 A 6 Phoenix Power Connector PWR 28 A 7 PS 2 Keyboard and Mouse Connector 28 A 8 USB Connector USB1 USB2 29 ...

Page 7: ...2 CHAPTER 1 Overview This chapter provides an overview of UNO 2160 s specifications Sections include Introduction Hardware specification Safety precautions Chassis dimensions ...

Page 8: ...twork enabled Application Ready Platforms Leveraging field approved and worldwide approved real time OS tech nology Advantech s UNO 2000 series provides a Windows CE NET and Windows XP Embedded ready solution and supports several stan dard networking interfaces such as Ethernet Wireless LAN RS 232 422 485 and so on Because of its openness great expansion capability and reliable design fanless and ...

Page 9: ... 1 JEIDA4 2 Card Supports 5 V 3 3 V and 12 V 120 mA working power SSD One internal Type I Type II CompactFlash card slot LEDs Power IDE Alarm for RAM Backup Battery PC 104 Two PC 104 Extension Optional HDD HDD extension kit for installation of one standard 2 5 HDD Anti Shock 20 G Wall mounting IEC 68 2 27 half sine 11 ms w HDD50 G Wall mounting IEC 68 2 27 half sine 11 ms w CF Anti Vibration 2 Grm...

Page 10: ...ot connect while the power is on A sudden rush of power can 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 2160 Mod ern electronic devices are very sensitive to static electric charges Use a grounding wrist strap at all times Place all electronic component...

Page 11: ...5 Chapter1 1 4 Chassis Dimensions Figure 1 1 Chassis Dimensions ...

Page 12: ...UNO 2160 User Manual 6 ...

Page 13: ...s including connecting peripherals set ting switches and indicators Sections include Peripherals RS 232 Interface RS 232 422 485 Interface LAN Ethernet Connector Power Connector PS 2 Mouse and Keyboard Connector USB Connector PCMCIA PC Card Slot VGA Display Connector Battery Backup SRAM Reset Button ...

Page 14: ...out function of each peripheral Figure 2 1 Front panel of UNO 2160 Figure 2 2 Rear panel of UNO 2160 2 2 RS 232 Interface COM1 COM2 The UNO 2160 offers two standard RS 232 serial communication inter face ports COM1 and COM2 Please refer to A 3 for their pin assign ments IRQ and Address Setting The IRQ and I O address range of COM1 and COM2 are listed below COM1 3F8H IRQ4 COM2 2F8H IRQ3 ...

Page 15: ... RS 422 or RS 485 networks No jumper change required 2 3 3 Automatic Data Flow Control Function for RS 485 In RS 485 mode UNO 2160 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 you conve niently build an RS 485 network with just two wires More importantly application software p...

Page 16: ...tically in RS 422 485 mode To select between RS 422 485 and RS 232 for COM3 adjust JP4 To select between RS 422 485 and RS 232 for COM4 adjust JP5 Jumper setting for RS 422 485 interface Default setting JP4 and JP5 Figure 2 3 RS 422 485 jumper setting Jumper setting for RS 232 interface JP4 and JP5 Figure 2 4 RS 232 jumper setting F G H I E D C B A J F G H I E D C B A J ...

Page 17: ...s necessary In RS 422 if DIP switch is set to On the driver is always enabled and always in high or low status Table 2 1 Auto Flow Control and RS 422 Slave Master Selection SW3 DIP Switch Setting COM Port Mode Selections COM3 RS 422 Slave mode RS 485 Auto flow control COM4 RS 422 Slave mode RS 485 Auto flow control COM3 RS 422 Master mode RS 485 N A COM4 RS 422 Slave mode RS 485 Auto flow control ...

Page 18: ...IRQ by the first switch of SW2 You can adjust the transmission rate by the second switch of SW2 To increase the normal baud rates by eight times e g if 115 2K bps is set the baud rate will be increased to 921 6K bps set switch 2 of SW2 to on Table 2 2 IRQ Setting via switch 1 at SW2 Switch 1 at SW2 setting Function Share IRQ default Independent IRQ Table 2 3 IRQ Setting via switch 1 at SW2 Switch ...

Page 19: ...se connector A 6 pin mini DIN connector is located on the rear panel of the UNO 2160 The UNO 2160 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 connection Please refer to Appendix A 7 for its pin assign ments 2 7 USB Connector The USB connector is used for connecting any device that conforms to the USB interface...

Page 20: ... The UNO 2160 provides a VGA controller Chipset VIA Twister chip with Integrated S3 Savage4 2D 3D Video Accelerator for a high resolu tion VGA interface It supports VGA and VESA up to 1280 x 1024 8 bpp 1024 x 768 16bpp resolution and up to 32 MB shared memory The VGA interface is reserved for system testing and debugging The UNO 2160 s JP8 is a 6 pin mini connector and CN7 is a 15 pin connector fo...

Page 21: ...se criti cal data from the memory There is a BTRY LED in the front panel of the UNO 2160 please replace the lithium battery with a new one if the BTRY LED is activated 2 10 1 Lithium Battery Specification Type BR2032 Using CR2032 is NOT recommended Output voltage 3 VDC Location the backside of UNO 2160 board Figure 2 5 The location of the lithium battery for SRAM 2 11 Reset Button Press the Reset ...

Page 22: ...UNO 2160 User Manual 16 ...

Page 23: ...tial Setup This chapter introduces how to initial ize the UNO 2160 Sections include Introduction Inserting a CompactFlash Card Chassis Grounding Conneting Power Connecting a Hard Disk BIOS Setup and System Assignments ...

Page 24: ...e rear panel 4 Plug a CompactFlash card with your OS and application program into a CompactFlash card slot on board 5 Screw back the rear panel with four screws 3 2 Chassis Grounding The aluminum made UNO 2160 provides good EMI protection and a sta ble grounding base There is an easy to connect chassis grounding point for you to use Please connect chassis ground of UNO 2160 with EARTH as ground Fi...

Page 25: ...60 3 Remove the rear panel 4 Connect the IDE flat cable to Primary recommended CN8 or sec ondary IDE connector CN9 then connect the other side of the connector to the hard disk 5 Screw back the rear panel with the four screws 3 5 BIOS Setup and System Assignments UNO 2160 adopts Advantech s SOM 4475 CPU module Further infor mation about the SOM 4475 CPU module can be found in SOM 4475 s user s man...

Page 26: ...UNO 2160 User Manual 20 ...

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

Page 28: ... 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 1D0 Vector address for COM port share IRQ 1E0 Battery backup resource 11E Battery backup resource 1F0 1F8 1st fixed disk 200 207 Game I O 278 27F Reserved 2E8 2EF Serial port 4 2F8 2FF Serial port 2 300 31F Ethernet...

Page 29: ...ted IRQ 0 Interval timer IRQ 1 Keyboard IRQ 2 Interrupt from controller 2 cascade IRQ 3 COM2 IRQ 4 COM1 IRQ 5 COM4 Independent IRQ IRQ 6 Diskette controller FDC IRQ 7 Parallel port 1 print port IRQ 8 Real time clock IRQ 9 PCMCIA IRQ 10 COM3 Independent IRQ COM3 COM4 Share IRQ 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 f...

Page 30: ... the UNO 2160 board The following sections tell you how to configure the UNO 2160 hardware setting Figure A 1 and Figure A 2 show the locations of UNO 2160 s connectors and jumpers Figure A 1 UNO 2160 connector and jumper locations frontside Figure A 2 UNO 2160 connector and jumper locations backside ...

Page 31: ...rt CN6 USB connector CN7 PS 2 keyboard and mouse connector CN8 Primary IDE connector CN9 Secondary IDE connector CN11 PC 104 slot CN12 Printer port CN13 VGA DB15 display connector CN14 PC card slot JP4 COM3 RS 232 422 485 selection JP5 COM4 RS 232 422 485 selection JP6 Terminator resistor 120 ohm for COM3 COM4 RS 422 485 JP7 System grounding jumper SW1 Reset button SW2 Share IRQ Independent IRQ se...

Page 32: ...60 User Manual 26 A 3 RS 232 Standard Serial Port COM1 COM2 Table A 4 RS 232 standard serial port pin assignments Pin RS 232 Signal Name 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 9 RI 1 5 9 6 3 2 4 7 8 ...

Page 33: ... serial port pin assignments Pin RS 232 RS 422 RS 485 1 DCD Tx DATA 2 RxD Tx DATA 3 TxD Rx NC 4 DTR Rx NC 5 GND GND GND 6 DSR NC NC 7 RTS NC NC 8 CTS NC NC 9 RI NC NC Table A 6 Table A 5 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 1 5 9 6 3 2 4 7 8 ...

Page 34: ...PS 2 Keyboard and Mouse Connector Table A 7 Power connector pin assignments Pin 10 100Base T Signal Name 1 9 36VDC 2 GND Table A 8 Keyboard and Mouse connector pin assignments Pin Signal Name 1 KB DATA 2 MS DATA 3 GND 4 VCC 5 KB Clock 6 MS Clock 1 2 5 3 1 2 4 6 ...

Page 35: ...nnector pin assignments Pin Signal Name Cable Color 1 VCC Red 2 DATA White 3 DATA Green 4 GND Black Table A 10 Table A 9 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 36: ...UNO 2160 User Manual 30 ...

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

Page 38: ... of time interval The value range is from 01 hex to 3E hex and the related time interval is 1 sec to 62 sec Data Time Interval 01 1 sec 02 2 sec 03 3 sec 04 4 sec 3E 62 sec After data entry your program must refresh the watchdog timer by rewriting the I O port 443 hex while simultaneously setting it When you want to disable the watchdog timer your program should read I O port 443 hex ...

Page 39: ...Start and restart the watchdog 30 GOSUB 1000 REM Your application task 1 40 OUT H443 data REM Reset the timer 50 GOSUB 2000 REM Your application task 2 60 OUT H443 data REM Reset the timer 70 X INP H443 REM Disable the watchdog timer 80 END 1000 REM Subroutine 1 your application task 1070 RETURN 2000 REM Subroutine 2 your application task 2090 RETURN ...

Page 40: ...UNO 2160 User Manual 34 ...

Reviews: