Advantech PCI-1710 user manual Counter Read/Write Control Registers, Description

Page 57

A.2 Counter Read/Write and

Control Registers

The 82C54 programmable interval timer uses four registers at addresses BASE + 24(Dec), BASE + 26(Dec), BASE + 28(Dec) and BASE + 30(Dec) for read, write and control of counter functions. Register functions appear below:

Register

Function

BASE + 24(Dec)

Counter 0 read/write

BASE + 26(Dec)

Counter 1 read/write

BASE + 28(Dec)

Counter 2 read/write

 

 

BASE + 30(Dec)

Counter control word

 

 

Since the 82C54 counter uses a 16-bit structure, each section of read/write data is split into a least significant byte (LSB) and most significant byte (MSB). To avoid errors it is important that you make read/write operations in pairs and keep track of the byte order.

The data format for the control register appears below:

BASE+30(Dec) 82C54 control, standard mode

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Value

SC1

SC0

RW1

RW0

M2

M1

M0

BCD

Description:

SC1 & SC0 Select counter.

Counter

SC1

SC0

0

0

0

1

0

1

2

1

0

Read-back command

1

1

 

 

 

Appendix A 8524 Counter Chip Functions 53

Image 57
Contents PCI-1710/1710HG Multifunction DAS Card for PCI Bus Http/support.advantech.com Contents Appendix a 82C54 Counter Chip Functions General Information Introduction Flexible Inputs Types and Ranges SettingPCI-bus Plug and Play On-board Fifo First In First Out MemoryOn-board Programmable Counter FeaturesAnalog Input SpecificationsLinearity error ±1 LSB Input impedance 1 GΩ Analog Output Digital InputDigital Output General Programmable Timer/CounterPCI Block DiagramInstallation Unpacking Initial InspectionInstallation Instructions Page Signal Connections I/O Connector OverviewPin Assignment I/O connector pin assignments for the PCI-1710/1710 HG card Input Connector Signal DescriptionsDigital Output signals Connector Signal Descriptions partSignal Reference Direction Description Name Single-ended Channel Connections Analog Input ConnectionsSingle-ended input channel connection Differential Channel ConnectionsAignd Differential input channel connection floating signal source 10V Analog Output ConnectionsTrigger Source Connections Internal Pacer Trigger ConnectionExternal Trigger Source Connection Field Wiring Considerations Page Register Structure and Format I/O Port Address Map Base Read DI9 DI8 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 Base Write DO9 DO8 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 Software A/D Trigger BASE+0 Channel Number and A/D Data BASE+0 and BASE+1A/D Channel Range Setting BASE+2 PCI-1710 PCI-1710HG MUX Control-BASE+4 and BASE+5 Example Control Register BASE+6 Status Register BASE+6 and BASE+7 Clear Interrupt and Fifo BASE+8 and BASE+9 11 D/A Output Channel 1 BASE+12 and BASE+13 10 D/A Output Channel 0 BASE+10 and BASE+1112 D/A Reference Control BASE+14 Read Digital Input Digital I/O Registers BASE+16 and BASE+17Calibration PCL-1710/1710HG VR assignment VR AssignmentFollowing list shows the function of each VR A/D CalibrationD/A Calibration Self A/D Calibration Page 82C54 Counter Chip Functions Intel 82C54 CounterCounter 1 Description Counter Read/Write Control RegistersRW1 & RW0 STA = Mode 1 Programmable One-shot Pulse Mode 0 Stop on Terminal CountMode 2 Rate Generator Counter Operating ModesMode 3 Square Wave Generator Mode 4 -Software-Triggered StrobeMode 5 Hardware-Triggered Strobe Counter Read-back Command Counter OperationsRead/Write Operation Counter Latch Operation

PCI-1710 specifications

The Advantech PCI-1710 is a highly regarded data acquisition card designed for a wide array of industrial automation and control applications. Offering a robust combination of features and technologies, it is particularly valued for its versatility and high-performance capabilities in collecting and processing analog and digital signals.

At the heart of the PCI-1710 is its 16-bit resolution, which allows for precise measurement of analog signals. This feature is essential in applications that require accurate data capture, such as process monitoring, testing, and quality control in manufacturing environments. The card provides eight single-ended analog input channels, enabling users to connect multiple sensors and transducers simultaneously for comprehensive data gathering.

One of the standout characteristics of the PCI-1710 is its flexible input range, supporting both unipolar and bipolar configurations. This adaptability makes it suitable for a myriad of applications across different industries, including automotive, aerospace, and electronics. The card can also handle a sampling rate of up to 200 kS/s, allowing for rapid data acquisition critical in dynamic environments where timing is crucial.

In addition to its analog capabilities, the PCI-1710 boasts 8 digital input and 8 digital output channels. The digital I/O functions enable the card to serve as an interface for various control and monitoring tasks, further enhancing its utility in automation systems. This integration of analog and digital features within a single card streamlines system design, reducing the need for multiple components and improving reliability.

The PCI-1710 utilizes Advantech’s powerful DAQ software and drivers, ensuring seamless integration with a variety of operating systems and development environments. The comprehensive software support allows engineers to quickly set up data acquisition tasks and execute complex control algorithms without extensive programming, making it accessible for users with varying levels of technical expertise.

In summary, the Advantech PCI-1710 is a versatile data acquisition solution that combines high resolution, flexible input options, and robust digital I/O capabilities. Its capabilities make it ideal for a wide range of applications in industrial automation, monitoring, and testing. With its combination of performance, flexibility, and user-friendly software support, the PCI-1710 remains a popular choice for engineers and developers seeking reliable data acquisition solutions.