Isolated digital input / relay output board models (17 pages)
Summary of Contents for Acces 104-DIO-48E
Page 1
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
Page 2
10623 Roselle Street, San Diego, CA 92121 (858) 550-9559 Fax (858) 550-7322 contactus@accesio.com www.accesio.com MODEL 104-DIO-48E and 104-DIO-24E USER MANUAL FILE: M104-DIO-48E.A1n...
Page 3
Notice The information in this document is provided for reference only. ACCES does not assume any liability arising out of the application or use of the information or products described herein. This document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of ACCES, nor the rights of others.
Page 4
Under this Warranty, liability of ACCES is limited to replacing, repairing or issuing credit (at ACCES discretion) for any products which are proved to be defective during the warranty period. In no case is ACCES liable for consequential or special damage arriving from use or misuse of our product. The customer is responsible for all charges caused by modifications or additions to ACCES equipment not approved in writing by ACCES or, if in ACCES opinion the equipment has been subjected to abnormal use.
PPI. Further, a jumper on the board allows the tristate buffers to be enabled or disabled under program control. (See the Option Selection section to follow.) Manual 104-DIO-48E, 24E...
START | RUN and type , click OK or press Follow the on-screen prompts to install the software for this board. LINUX Please refer to linux.htm on the CD-ROM for information on installing serial ports under linux. Manual 104-DIO-48E, 24E...
Page 10
Check that all connections in your PC/104 stack are correct and secure then power up the system. Run one of the provided sample programs appropriate for your operating system that was installed from the CD to test and validate your installation. Figure 2-1: PC/104 Key Information Manual 104-DIO-48E, 24E...
Counter/Timer, write any value to base address + Dh. After programming the counters, read base address + Dh to ‘map out’ the counters and re-enable access to the DIO. This trick halves the I/O space required by the board. Manual 104-DIO-48E, 24E...
Address Setup jumpers. These jumpers are marked A4-A9 and form a binary representation of the address in negative-true logic. (assign '0' to all Address Setup jumpers placed ON the posts, and assign '1' to all Address Setup jumpers left OFF.) Manual 104-DIO-48E, 24E...
Page 14
230h - 23Fh 220h - 22Fh 210h - 21Fh 200h - 20Fh Table 4-2: Base Address Table To set the base address of the board, install the jumpers “ON” the posts for that address according to the table. Manual 104-DIO-48E, 24E...
Page 15
Carefully review the address selection reference table on the previous page before selecting the board address. If the addresses of two circuits overlap you will experience unpredictable computer behavior. Note that address ranges 100h-10Fh through 1F0h-1FFh can be selected with the jumpers for A8 off and A9 on. Manual 104-DIO-48E, 24E...
Group 0 ports A, B, and C. If, for example, hex 80 is sent to Base Address +3, the Group 0 PPI will be configured in mode 0 with Ports A, B, and C as outputs. Manual 104-DIO-48E, 24E...
Page 18
See item c. above.*/ outportb(BASE_ADDRESS +3, 0x09); /*Enable the tristate output buffers by using the same control byte used to configure the PPI, but now set bit D7 low. See item d. above.*/ Manual 104-DIO-48E, 24E...
"zero" state. For example, if all the outputs were 1's, they will now be 0's and the output buffers will be disabled. This problem can be resolved as follows. Manual 104-DIO-48E, 24E...
PPI 0 while the counter/timer continues to generate the frequency. The counter/timer has a variety of uses: event counting, frequency measurement, frequency generation. See the 8254 Counter/Timer chapter for details on how to use it. Manual 104-DIO-48E, 24E...
(or more) report generating an interrupt even though only one interrupt was processed by the CPU. The interrupt driver circuit on the board will drive the selected IRQ line for approximately 500nS and then tri- state. Manual 104-DIO-48E, 24E...
Note that in this mode, to achieve the square wave, the counter decrements by two for the total loaded count, then reloads and decrements by two for the second part of the wave form. Manual 104-DIO-48E, 24E...
Page 23
* See section on Reading and Loading the Counters. RW0-RW1: These bits select the read/write mode of the selected counter. Counter Read/Write Function Counter Latch Command Read/Write LS Byte Read/Write MS Byte Read/Write LS Byte, then MS Byte Manual 104-DIO-48E, 24E...
C2 through C0 are latched simultaneously. When STA=0, the counter status byte is read when the counter I/O location is accessed. The counter status byte provides information about the current output state of the selected counter and its configuration. Manual 104-DIO-48E, 24E...
Page 25
After any latching operation on a counter, the contents of its hold register must be read before any subsequent latches of that counter will have any effect. If a status latch command is issued before the hold register is read, then the first read will read the status, not the latched value. Manual 104-DIO-48E, 24E...
GATE IN pin of the board (P1 pin 7). Software latency will be affected by the operating system and will set a limit on the precision of the measurement. unsigned pulse_width(unsigned BaseAddress); Manual 104-DIO-48E, 24E...
(for example) map in the counter/timer, set it to generate a particular frequency, then map it out and use PPI 0 while the counter/timer continues to generate the frequency. Manual 104-DIO-48E, 24E...
Connector pin assignments are listed below. Notice that every second line is grounded to minimize crosstalk between signals. Table 7-1: Digital I/O (P3 and P4) Connector Pin Assignments Assignment Assignment Port C Hi Port C Lo All Even Numbered Pins are Port B GROUND Port A +5 VDC Manual 104-DIO-48E, 24E...
Page 30
If you experience any problems with this manual or just want to give us some feedback, please email us at: manuals@accesio.com. Please detail any errors you find and include your mailing address so that we can send you any manual updates. 10623 Roselle Street, San Diego CA 92121 Tel. (858)550-9559 FAX (858)550-7322 www.accesio.com Manual 104-DIO-48E, 24E...
Page 31
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...