Manuals
/
Brands
/
TV and Video
/
TV Mount
/
Advantech
/
TV and Video
/
TV Mount
Advantech
PCM-3780 manual
1
1
70
70
Download
70 pages, 1.68 Mb
PCM-3780
2-ch Counter/Timer with
24-ch TTL DIO Module
User Manual
Contents
Main
Page
Page
Page
Page
Page
Contents
Chapter 1 Introduction..................................................... 2
Chapter 2 Hardware Installation................................... 12
Chapter 3 Pin Assignments & Jumper Settings........... 18
Appendix A Specifications................................................. 26
Appendix D Waveform of Each Mode.............................. 44
Introduction
Chapter 1 Introduction
1.1 Features
Counter Modes
(N: No gate control, L: Level gate control, E: Edge gate control)
Table 1.1: PCM-3780 Counter Mode
Note: For detailed specifications of the PCM-3780, please refer to Appendix A Specifications.
Table 1.2: PCM-3780 Counter Mode
1.2 Applications
1.3 Installation Guide
Page
1.4 Software Overview
1.4.1 Device Drivers (on the companion CD-ROM)
1.4.2 Device Drivers
1.4.3 Register-level Programming
1.5 Device Drivers Programming Roadmap
1.5.1 Programming Tools
1.5.2 Programming with Device Drivers Function Library
1.5.3 Troubleshooting Device Drivers Error
1.6 Accessories
1.6.1 Wiring Cables
1.6.2 Wiring Boards
Page
Chapter 2 Hardware Installation
2.1 Unpacking
2.2 Driver Installation
Page
2.3 Hardware Installation
2.3.1 Installing the Module
Page
Pin Assignments & Jumper Settings
Page
3.3 Switch and Jumper Settings
Page
Page
Page
3.5 Period Measurement
3.5.1 Using Advantech 32-bit DLL Driver
3.5.2 Using Direct I/O
3.6 Frequency Measurement
3.6.1 Using Advantech 32-bit DLL Driver
3.6.2 Using Direct I/O
Page
Appendix A Specifications
A.1 Programmable Counter
A.2 Digital Input/Output
A.3 General
Page
Page
Page
Page
Appendix C Register Structure & Format
C.1 Overview
C.2 I/O Port Address Map
33 Appendix C
C.2.1 Register Format
Table C.1: Register Offset Address Table
PCM-3780 User Manual 34
35 Appendix C
C.3 Counter 0/1 Mode Register
CM6:
0 = Disable edge disarm in edge gate mode 1 = Enable edge disarm in edge gate mode
CM5:
0 = Reload from Load 1 = Reload from Load or Hold
Page
37 Appendix C
C.4 Counter 0/1 Load Register:
1. CL15 to CL0: Counter load data
1. CH15 to CH0: Counter hold data
C.5 Counter 0/1 Hold Register
C.6 Counter 0/1 Command Register
C.7 Counter Command Enable Register
C.8 Interrupt Control Register
C.9 Interrupt Status Register
PCM-3780 User Manual 40
C.10 Interrupt Clear Register
Write any data to these two bytes to clear the interrupt.
C.11 I/O Direction Control Register
1. I/O Direction Control Bit: 0 = Output 1 = Input
C.12 Port A/B/C Interrupt Status Register
C.13 FOUT Register
Page
D
Appendix D Waveform of Each Mode
D.1 Counter Mode Descriptions
(N: No gate control, L: Level gate control, E: Edge gate control)
Table D.1: PCM-3780 Counter Mode
Page
D.2 Mode A Waveforms
D.3 Mode B Waveforms
D.4 Mode C Waveforms
D.5 Mode D Waveforms
D.6 Mode E Waveforms
D.7 Mode F Waveforms
D.8 Mode G Waveforms
D.9 Mode H Waveforms
D.10 Mode I Waveforms
D.11 Mode J Waveforms
D.12 Mode K Waveforms
D.13 Mode L Waveforms
59 Appendix D
D.14 Mode O Waveforms
Hardware-Triggered Strobe with Edge Disarm
Mode O Waveforms
PCM-3780 User Manual 60
D.15 Mode R Waveforms
Non-Retriggerbale One-Shot with Edge Disarm
Mode R Waveforms
61 Appendix D
D.16 Mode U Waveforms
Hardware-Triggered Delayed Pulse Strobe with Edge Disarm
Mode U Waveforms
PCM-3780 User Manual 62
D.17 Mode X Waveforms
Hardware-Triggered Delayed Pulse One-Shot with Edge Disarm
Mode X Waveforms