J224 PCO24 2192-10479-000-000 PCO24 PCbus I/O Board with 24 Digital Outputs Technical Manual Product Information Full information about other Arcom products is available by visiting our WebSite at: www.arcomcontrols.com Useful Contact Information Customer Support Europe Customer Support US Tel: +44 (0)1223 412 428 Fax: +44 (0)1223 403 409 E-mail: [email protected] Tel: 816 941 7025 Fax: 816 941 7807 E-mail: [email protected] Sales Offices Sales Hotlines United Kingdom: Arcom Control Systems Ltd Clifton Road Cambridge CB1 7EA, UK Tel: 01223 411 200 Fax: 01223 410 457 United States: Arcom Control Systems Inc 13510 South Oak Street Kansas City MO 64145 USA Tel: 816 941 7025 Fax: 816 941 0343 E-mail: [email protected] E-mail: [email protected] Belgium: Groen Nummer: Tel: 0800 7 3192 Fax: 0800 7 3191 Germany: Kostenlose Infoline: Tel: 0130 824 511 Fax: 0130 824 512 France: Numero Vert Tel: 0800 90 84 06 Fax: 0800 90 84 12 Netherlands: Gratis 0800 Nummer: Tel: 0800 0221136 Fax: 0800 0221148 Italy: Numero Verde: Tel: 0800 790841 Fax: 0800 780841 Whilst Arcom’s sales team is always available to assist you in making your decision, the final choice of boards or systems is solely and wholly the responsibility of the buyer. Arcom’s entire liability in respect of the boards or systems is as set out in Arcom’s standard terms and conditions of sale. If you intend to write your own low level software, you can start with the source code on the disk, which is supplied. This is example code only to illustrate use on Arcom’s products. It has not been commercially tested. No warranty is made in respect of this code and Arcom shall incur no liability whatsoever or howsoever arising from any use made of the code. © 2000 Arcom Control Systems Ltd Arcom Control Systems is a subsidiary of Fairey Group Plc. All trademarks recognised. Arcom Control Systems Ltd operate a company-wide quality management system which has been certified by the British Standards Institution (BSI) as compliant with ISO9001:1994 Page 0 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Contents Preface ................................................................................................................. 2 Revision ............................................................................................................... 2 Packaging list............................................................................................ 2 Utility Disk ................................................................................................. 2 Handling (ESD/Packaging) ....................................................................... 2 Introduction.......................................................................................................... 3 Features ................................................................................................... 3 Getting Started..................................................................................................... 3 Operation ............................................................................................................. 4 Reading or Writing to the Board ................................................................ 4 Opto-isolated Inputs.................................................................................. 4 I/O map..................................................................................................... 5 I/O Function Registers .............................................................................. 5 Special Function Registers ....................................................................... 5 Address Switches ..................................................................................... 5 Links ..................................................................................................................... 6 Link & Switch Position Diagram ................................................................ 6 Output disable/enable.......................................................................... 6 I/O line commoning to 0V .................................................................... 6 I/O line commoning to positive............................................................. 6 User configuration record Diagram ........................................................... 7 Connectors .......................................................................................................... 8 Installation for CE Compliance ........................................................................... 9 Circuit Diagrams .................................................................................................. 10 Revision History Issue Iss A Iss B Iss C PCB V2 I2 V2 I2 V2 I2 Comments 960723 980122 000904 [ECO2684] [ECO2909] Page 1 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 FREE Windows NT4.0 Drivers Visit the Arcom Website for more information. www.arcomcontrols.com Preface Packing List This product is shipped as follows: • • • • Board User Manual Utility Disk PCbus Library Datasheet If any of the above appear to be missing, please telephone Arcom 01223 411200. Utility Disk This product is shipped with a utility disk which contains: • • • PCbus library Manual Source Code for all PCbus I/O boards A test program called EXAMP-01.EXE Handling This board contains CMOS devices which could be damaged in the event of static electricity being discharged through them. At all times please observe anti-static precautions when handling the board and always unpack and install the board in an anti-static working area. Please ensure that should a board need to be returned to Arcom, it is adequately packed and if a battery is fitted, that it is isolated. Page 2 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Introduction The PCO24 is an 8-bit ISA bus add-on board providing 24 opto-isolated outputs. These outputs are organised into three groups of 8. The board also includes a link for defining the state of the outputs on power-up/reset. The board is designed for driving relays, lamps and solenoids whilst maintaining electrical isolation between the devices being driven and the PC. It is necessary to provide an isolated external power supply to drive the devices that the PCO24 is switching. Features • CE compliant design • 24 opto-isolated digital outputs • Input/Output Isolation: 100V DC • Channel/Channel Isolation: 100V DC • Darlington configuration transistor output devices with reverse protection diodes • Each output can sink up to 400mA of current to the group’s common 0V line while withstanding voltages of up to 50V • Output current per line: one line per group on 400mA all eight lines on 175mA • Output voltage range 10 to 50V DC • Opto-isolator rise time 60 microseconds • Opto-isolator fall time 40 microseconds • A separate common connection supplies bias current and a common point for the output protection diodes on each group • Output state of each group can be read back • Compact I/O addressing scheme (switch selectable base address) • Board access LED • User controlled LED • Operating temperature range, 0°C to 55°C • Power consumption 300mA @ 5V • MTBF: 273,586 hours (using generic figures from MIL-HDBK-217F at benign ground) Getting started • Switch off PC • Install board in supplied configuration • Switch on PC • Run EXAMP-01.EXE (supplied on the utility disk) • An access/user LED should flash. If not check default link configuration(Page 6). Page 3 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Operation Reading or Writing to the Board Control of the PCO24 is achieved by writing to a pointer register and then accessing a data register to read or write the required I/O register. The pointer register need only be written with a new value if a different register is to be accessed. The board occupies only two bytes of PCbus I/O space. Each time the board is accessed the red LED will flash momentarily. Opto-isolated Outputs There are three groups each of 8 bits connected via opto-isolators to the D connector. They are considered as a group as all eight bits are written to at the same time. Using group 0 bit 0 as an example. If LK1 is in position A it is necessary to enable the outputs. This is done by writing 90h to the base address, which sets the pointer to the output enable register. Now write 01 to base address +1. The output of IC30 will enable all outputs. If LK1 is in position B the outputs will always be enabled. Now you can write to the outputs. Firstly set the pointer register to the group i.e. write 00 to base address, this points to group 0 register and then write the value to base address +1. You can also read back that value by reading base address +1. Writing a ‘1’ to an output switches the output low; i.e. it is sinking current. During system initialisation it is recommended that the values to be output are written to the output registers prior to enabling the output channels. COMMON + LK11 +5 GROUP 0+ 470k Data 15k 2k7 2k7 7k COMMON OV LK10 3k GROUP 0 OV Page 4 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 I/O map The value written to the pointer register is used to select the on-board I/O location to be accessed. This board occupies two consecutive addresses and has three I/O function registers and three special registers. Address Base (180) Base+1 (181) Read/Write Write only Read/Write Register Name Pointer register Data Register Register Function On-board register Data to read/write from/to register I/O Function Registers Pointer value 00 01 02 03 01 02 Register name Read/Write Write Write Write Read Read Read G0 G1 G2 G0 G1 G2 Register description Group 0 outputs Group 1 outputs Group 2 outputs Group 0 output latch state Group 1 output latch state Group 2 output latch state Special Function Registers The green User LED is controlled by bit 0 when the pointer register is loaded with 80h. The board identification register can be used to confirm the board is present in the system and is the correct board type. Other Pcbus I/O boards in Arcom’s range will return a different value. Pointer value 80 Register name User LED Read/Write Write 81 Board ident Read 90 Output enable Write Comments Writing 01 switches the green LED on. Writing 00 switches it off Reading this register gives the value 04 Writing 01 enables the outputs Writing 00 disables the outputs Address Switches Sets the base address for the board in Pcbus I/O space. SW1 1 Switch setting SW2 8 Resulting Hexadecimal Base Address SW3 0 180 Page 5 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Links Link and Switch position Diagram The default address is set to 180h Output disable/enable Link 1 LK1A LK1B Disables the outputs at power-up and reset Enables the outputs at all times. After power-up the output state will be random I/O line commoning to 0V Link 10, 20 &30 LK10 LK20 LK30 Connects group 0 0V line to common 0V Connects group 1 0V line to common 0V Connects group 2 0V line to common 0V I/O line commoning to positive Links 11, 21 & 31 LK11 LK21 LK31 Connects group 0 +V line to common positive Connects group 1 +V line to common positive Connects group 2 +V line to common positive Page 6 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 User Configuration Record Diagram Link Default User LK1A LK1B LK10 LK20 LK30 LK11 LK21 LK31 Page 7 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Connectors Signal Title Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Common +ve line (if linked) Group 2 positive connection G2.7 G2.6 G2.5 G2.4 G2.3 G2.2 G2.1 G2.0 Group 2 0V common connection Group 1 positive connection G1.7 G1.6 G1.5 G1.4 G1.3 G1.2 G1.1 G1.0 Group 1 0V common connection Group 0 positive connection G1.7 G1.6G0.5 G0.4 G0.3 G0.2 G0.1 G0.0 Group 0 0V common connection Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) Common 0V line (if linked) D-type connector No. 50 17 33 49 16 32 48 15 31 47 14 30 46 13 29 45 12 28 44 11 27 43 10 26 42 9 25 41 8 24 40 7 23 39 6 22 38 5 21 37 4 20 36 3 19 35 2 18 34 1 Ribbon Cable No. 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Page 8 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Installation for CE Compliance To maintain compliance with requirements of the EMC Directive (89/336/EEC) this product must be correctly installed. The PC in which the board is housed must be CE compliant as declared by the PC Manufacturer. The external I/O cable should be Arcom CAB50CE or a fully screened cable to the same pattern. 1. Remove the cover of the PC observing any additional instructions of the PC manufacturer. 2. Locate the board in a spare ISA slot and press gently but firmly into place. 3. Ensure that the metal bracket attached to the board is fully seated. 4. Fit in the bracket clamping screw and firmly tighten this on the bracket. 5. Fit the screened I/O cable to the 50-way board connector. 6. Ensure that the jack screws for the cable connector are tightened (use a screw driver). 7. Replace the cover of the PC observing any additional instructions on the PC manufacturer. The following standards have been applied to this product: BS EN50081-1: 1992 Generic emissions standard, Domestic, commercial, light industry BS EN50082-1: 1992 Generic immunity standard, Domestic, commercial, light industry BS EN55022 : ITE Emissions, Class B, Limits and methods. Page 9 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Circuit Diagrams Page 10 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Page 11 CONTROL SYSTEMS J224 PCO24 2192-10479-000-000 Page 12 CONTROL SYSTEMS