Konica Minolta PCI-1712L user manual Pulse width measurement

Page 64

Chapter 5

(65535-50000)/1K = 15.535 sec.

Figure 5-7: Pulse width measurement

The following C program is the example to explain how to implement the pulse width measurement by software.

outport(addr2_1712+0x26,0x00); while(!kbhit())

{

outport(addr2_1712+0x1e,0x70); outport(addr2_1712+0x1a,0xff); outport(addr2_1712+0x1a,0xff);

outport(addr2_1712+0x1e,0xb0); outport(addr2_1712+0x1c,0xff); outport(addr2_1712+0x1c,0xff);

outport(addr2_1712+0x24,0x80); outport(addr2_1712+0x24,0x88); outport(addr2_1712+0x24,0x31);

//Set internal clock as 10 MHz

//CNT1 82C54 mode 0 //Set CNT1 low byte //Set CNT1 high byte

//CNT2 82C54 mode 0 //Set CNT2 low byte //Set CNT2 high byte

//Set CNT2’s gate input as high //Generate one clock to CNT2 /*Set CNT2’s clock source as

PCI-1712/1712L User’s Manual

– 52 –

Advantech Co., Ltd.

 

 

www.advantech.com

Image 64
Contents MS/s, 12-bit, 16-ch High- Speed Multifunction Card PCI-1712/1712L Quick Start Unpacking Device Installation Page Contents Calibration Appendix D. Register Structure and Format100 Figures Auto A/D Calibration Dialog Box I/O Connector Signal Description Part Corresponding Full Scale values for various InputTable D-1PCI-1712/1712L register format Part Table D-2 Table D-3101 100102 Page Features IntroductionPCI-Bus Mastering Data Transfer Plug-and-Play FunctionOn-board Fifo Memory Automatic Channel/Gain/SD*/BU* ScanningOn-board Programmable Multifunction Counter/Timer Installation GuideContinuous Analog Output Installation Flow Chart Wiring Cable AccessoriesWiring Boards Chapter Installation UnpackingDriver Installation Setup Screen of Advantech Automation SoftwareHardware Installation Different options for Driver SetupChapter Device name listed on the Device Manager Device Setup & Configuration Setting Up the DeviceConfiguring the Device Devices Found dialog boxFor unipolar For bipolarDevice Testing Testing Analog Input FunctionTesting Analog Output Function PCI-1712 only Testing Digital Input FunctionTesting Digital Output Function Testing Counter Function14 Digital output tab on the Device Test dialog box Signal Connections I/O ConnectorOverview Pin AssignmentI/O connector pin assignments for the PCI-1712/1712L Connector Signal Description I/O Connector Signal Description PartSignal Name Reference Direction Description Counter 0 Gate Input. This pin is for Single-ended Channel Connections Analog Input ConnectionsDifferential Channel Connections Chapter Differential input channel connection floating signal Source Analog Output Connections Analog output connectionsField Wiring Considerations Software Overview Programming ChoicesDLL Driver Register-level ProgrammingDLL Driver Programming Roadmap Programming ToolsTroubleshooting DLL Driver Error Programming with DLL Driver Function LibraryChapter Analog Input Features Principles of OperationAnalog Input Ranges and Gains Gains and Analog Input RangeAnalog Input Acquisition Modes Post-Trigger Acquisition Mode About-Trigger Acquisition Mode Pre-Trigger Acquisition Mode Sample Clock SourcesPCI-1712/1712L Sample Clock Source Trigger SourcesAnalog Input Data Format Analog Input Data FormatAnalog Output Ranges Analog Output FeaturesAnalog Output Operation Modes Output Clock Sources Trigger Sources Analog Output Data Format Digital I/O FeaturesAnalog Output Data Format Counter/Timer Features Clock sourcesGate Types and Sources Counter/timer operation modes Chapter Chapter Frequency measurement Chapter Chapter Pulse width measurement Internal, and gate use for pulse Show the duty ratio of positive Calibration VR AssignmentA/D Calibration D/A Calibration Calibration Utility Selecting the device you want to calibrateChannel Auto-Calibration Auto A/D Calibration Dialog BoxA/D Calibration Procedure A/D Calibration is finished Range Selection in D/A Calibration 11 Calibrating D/A Channel Channel Manual-Calibration 13 Selecting Input Rage in Manual A/D Calibration panel14 Adjusting registers 15 & -16 Selecting D/A Range Choosing Output Voltage 17 Adjusting registers Chapter Specification Analog InputAnalog Output PCI-1712 only Digital Input /OutputCounter/Timer GeneralAppendix a Block Diagram Block DiagramAppendix B Screw-terminal Board Board LayoutPin Assignment Figure C-2 CN2 pin assignments for the PCLD-8712Single-ended Connections Differential Connections Register Structure and Format I/O Port Address MapAppendix D Table D-1 PCI-1712/1712L register format PartBase PCI-1712/1712L Register Format Address Channel data for continuous output operation mode 30 W A/D Single Value Acquisition Write BASE+0 Channel and A/D data Read Base +Data of A/D Conversion CH2 to CH0 Channel NumberA/D Channel Range Setting Write BASE+2 Table D-3 Register for A/D channel range settingSingle-ended or Differential Bipolar or UnipolarMUX Control Write BASE+4 Table D-4 Gain Codes for the PCI-1712/1712LTable D-5 Register for multiplexer control Start Scan Channel NumberAppendix D A/D Control/Status Register Write/Read BASE+6 Analog input acquisition mode registerTable D-6 Register for A/D control/status Sample clock source select register Trigger source control registerTrigger edge control register Analog I/O calibration bitClear interrupt and Fifo Write BASE+8 Aitrgf Analog input trigger flagTable D-8 Register for clear interrupt and Fifo Clear A/D FifoInterrupt and Fifo status Read BASE+8 Interrupt flagFifo empty flag Fifo half-full flag10 D/A control/status register Write/Read BASE+A Table D-11 Analog output operation mode Channel 1 unipolar or bipolar outputClock source select register Aotrgf Analog output trigger flagTable D-12 Register for D/A channel 0/1 data 11 D/A Channel 0/1 Data Write BASE+C/EData 12 82C54 Counter Chip 0 Write/Read BASE+10 to Table D-13 Register for 82C54 counter chip13 82C54 counter chip 1 Write/Read BASE+18 to 1E Table D-14 Register for 82C54 counter chipCn1 to Cn0 Counter clock source control register n = 0,1,2 Table D-16 Table of Cn1 to Cn0 registerCPn Counter clock edge control register n = 0,1,2 CQn Counter clock set register n = 0,1,2Gn1 to Gn0 Counter gate source control register n = 0,1,2 Table D-17 Table of Gn1 to Gn0 registerGRn Pulse width measurement reset register n = 0,1,2 GPn Counter gate polarity control register n = 0,1,2GQn Counter gate set register n = 0,1,2 GATEn Gate status n = 0,1,2Digital I/O registers Write/Read BASE+28 GATESn Pulse width measurement status bit n = 0,1,2CLKSEL1 & 0 Counter internal clock select register DO15 to DO0 Digital output data registerDigital I/O configuration registers Write/Read BASE+2A Calibration command registers Write BASE+2CDIOC1 to DIOC0 Digital I/O configuration register DI15 to DI0 Digital input data registerTable D-23 Calibration command CM3 to CM0 Calibration commandD7 to D0 Calibration data Table D-24 Register for D/A channel data DA11 to DA0 D/A data

PCI-1712L, PCI-1712 specifications

The Konica Minolta PCI-1712L and PCI-1712 are compact color printers designed to meet the demands of modern workplaces. Known for their reliability and efficiency, these printers provide high-quality output and are well suited for various printing needs, from documents to graphics.

One of the primary features of the PCI-1712L and PCI-1712 is their ability to produce vibrant colors and sharp images. Thanks to advanced LED technology, users can expect outstanding print quality, ensuring that both text and images are rendered with precision. The printers support a maximum resolution of 1200 x 1200 dpi, which significantly enhances the clarity and detail of printed materials.

Another notable characteristic is the compact design of these printers. Both models are designed to occupy minimal space, making them ideal for offices with limited room. Their sleek and modern appearance allows them to blend seamlessly into any workspace while still delivering top-notch performance.

In terms of speed, the PCI-1712 and PCI-1712L offer impressive printing rates. They are capable of producing pages at a rate of up to 17 pages per minute, ensuring that users can complete their printing tasks efficiently. This speed, combined with a first-page-out time of just a few seconds, makes these printers an excellent choice for busy environments where time is of the essence.

Connectivity options are another strength of the Konica Minolta PCI-1712L and PCI-1712. Both models come equipped with USB and Ethernet interfaces, allowing for easy integration into existing networks. This flexibility enables multiple users to share the printer within an office setting, enhancing productivity and reducing downtime.

The printers also support various media types and sizes, ranging from standard A4 sheets to specialty media, which increases their versatility. This feature is particularly beneficial for businesses that require adaptable printing solutions for different projects.

To further streamline operations, the Konica Minolta PCI-1712 and PCI-1712L incorporate user-friendly control panels. These panels simplify the printing process and provide clear indicators for paper and toner levels, making it easy for users to monitor printer status at a glance.

In conclusion, the Konica Minolta PCI-1712L and PCI-1712 printers embody the balance of compactness, speed, quality, and connectivity. With their impressive features and technologies, they are valuable assets for any office, supporting a wide range of printing needs while ensuring efficient performance and exceptional output quality.