Konica Minolta PCI-1712L user manual Show the duty ratio of positive

Page 66

Chapter 5

//CNT1’s gate input received the measured signal, check if finished? while(1)

{

i = inport(addr2_1712+0x22) & 0x0800;

if(i == 0x0000) break;//CNT1’s gate input is low

}

/*The CNT1 & 2 has finished the job, and then show the measured period on display*/

dl= inport(addr2_1712+0x1a);

//Read low byte

dh= inport(addr2_1712+0x1a)<<8;

//Read high byte

dh= dh + (dl & 0x00ff);

 

neg_count = 0xffff - dh ;

 

dl= inport(addr2_1712+0x1c);

 

dh= inport(addr2_1712+0x1c)<<8;

 

dh= dh + (dl & 0x00ff);

 

pos_count = 0xffff - dh ;

 

duty = pos_count;

 

duty = duty + neg_count;

 

duty = (pos_count/duty)*100;

//Show the duty ratio of positive

cycle

 

printf(“P+ = %u P- = %u Duty %5.3f \n”,pos_count,neg_count, duty);

neg_count = 0; pos_count = 0;

}

PCI-1712/1712L User’s Manual

– 54 –

Advantech Co., Ltd.

 

 

www.advantech.com

Image 66
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 Table D-1PCI-1712/1712L register format Part Table D-2 I/O Connector Signal Description PartCorresponding Full Scale values for various Input Table D-3100 101102 Page Features IntroductionOn-board Fifo Memory PCI-Bus Mastering Data TransferPlug-and-Play Function Automatic Channel/Gain/SD*/BU* ScanningInstallation Guide On-board Programmable Multifunction Counter/TimerContinuous Analog Output Installation Flow Chart Accessories Wiring CableWiring 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 Overview Signal ConnectionsI/O Connector 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 Analog Input Connections Single-ended Channel ConnectionsDifferential Channel Connections Chapter Differential input channel connection floating signal Source Analog Output Connections Analog output connectionsField Wiring Considerations DLL Driver Software OverviewProgramming Choices Register-level ProgrammingDLL Driver Programming Roadmap Programming ToolsTroubleshooting DLL Driver Error Programming with DLL Driver Function LibraryChapter Analog Input Ranges and Gains Analog Input FeaturesPrinciples of Operation 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 Features Analog Output RangesAnalog Output Operation Modes Output Clock Sources Trigger Sources Digital I/O Features Analog Output Data FormatAnalog 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 Data of A/D Conversion A/D Single Value Acquisition Write BASE+0Channel and A/D data Read Base + CH2 to CH0 Channel NumberSingle-ended or Differential A/D Channel Range Setting Write BASE+2Table D-3 Register for A/D channel range setting Bipolar or UnipolarTable D-5 Register for multiplexer control MUX Control Write BASE+4Table D-4 Gain Codes for the PCI-1712/1712L Start Scan Channel NumberAppendix D Analog input acquisition mode register A/D Control/Status Register Write/Read BASE+6Table D-6 Register for A/D control/status Trigger edge control register Sample clock source select registerTrigger source control register Analog I/O calibration bitTable D-8 Register for clear interrupt and Fifo Clear interrupt and Fifo Write BASE+8Aitrgf Analog input trigger flag Clear A/D FifoFifo empty flag Interrupt and Fifo status Read BASE+8Interrupt flag Fifo half-full flag10 D/A control/status register Write/Read BASE+A Clock source select register Table D-11 Analog output operation modeChannel 1 unipolar or bipolar output Aotrgf Analog output trigger flag11 D/A Channel 0/1 Data Write BASE+C/E Table D-12 Register for D/A channel 0/1 dataData 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 registerGn1 to Gn0 Counter gate source control register n = 0,1,2 CPn Counter clock edge control register n = 0,1,2CQn Counter clock set register n = 0,1,2 Table D-17 Table of Gn1 to Gn0 registerGQn Counter gate set register n = 0,1,2 GRn Pulse width measurement reset register n = 0,1,2GPn Counter gate polarity control register n = 0,1,2 GATEn Gate status n = 0,1,2CLKSEL1 & 0 Counter internal clock select register Digital I/O registers Write/Read BASE+28GATESn Pulse width measurement status bit n = 0,1,2 DO15 to DO0 Digital output data registerDIOC1 to DIOC0 Digital I/O configuration register Digital I/O configuration registers Write/Read BASE+2ACalibration command registers Write BASE+2C DI15 to DI0 Digital input data registerCM3 to CM0 Calibration command Table D-23 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.