Konica Minolta PCI-1712L user manual Programming with DLL Driver Function Library

Page 43

Chapter 4

Programming with DLL Driver Function Library

Advanech DLL driver offers a rich function library to be utilized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual C++, Visual Basic, Delphi and C++ Builder.

According to their specific functions or sevices, those APIs can be categorized into several function groups:

qAnalog Iutput Function Group

qAnalog Output Function Group

qDigital Input/Output Function Group

qCounter Function Group

qTemperature Measurement Function Group

qAlarm Function Group

qPort Function Group

qCommunication Function Group

qEvent Function Group

For the usage and parameters of each function, please refer to the Function Overview chapter in the DLL Drivers Manaul.

Troubleshooting DLL Driver Error

Driver functions will return a status code when they are called to perform a certain task for the application. When a function returns a code that is not zero, it means the function has failed to perform its designated function. To troubleshoot the DLL driver error, you can pass the error code to DRV_GetErrorMessage function to return the error message. Or you can refer to the DLL Driver Error Codes Appendix in the DLL Drivers Manaul for a detailed listing of the Error Code, Error ID and the Error Message.

Advantech Co., Ltd.

– 31 –

PCI-1712/1712L User’s Manual

www.advantech.com

 

 

Image 43
Contents MS/s, 12-bit, 16-ch High- Speed Multifunction Card PCI-1712/1712L Quick Start Unpacking Device Installation Page Contents Appendix D. Register Structure and Format Calibration100 Figures Auto A/D Calibration Dialog Box Table D-3 I/O Connector Signal Description PartCorresponding Full Scale values for various Input Table D-1PCI-1712/1712L register format Part Table D-2101 100102 Page Introduction FeaturesAutomatic Channel/Gain/SD*/BU* Scanning PCI-Bus Mastering Data TransferPlug-and-Play Function On-board Fifo MemoryOn-board Programmable Multifunction Counter/Timer Installation GuideContinuous Analog Output Installation Flow Chart Wiring Cable AccessoriesWiring Boards Chapter Unpacking InstallationSetup Screen of Advantech Automation Software Driver InstallationDifferent options for Driver Setup Hardware InstallationChapter Device name listed on the Device Manager Setting Up the Device Device Setup & ConfigurationDevices Found dialog box Configuring the DeviceFor bipolar For unipolarTesting Analog Input Function Device TestingTesting Digital Input Function Testing Analog Output Function PCI-1712 onlyTesting Counter Function Testing Digital Output Function14 Digital output tab on the Device Test dialog box Pin Assignment Signal ConnectionsI/O Connector OverviewI/O connector pin assignments for the PCI-1712/1712L I/O Connector Signal Description Part Connector Signal DescriptionSignal 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 Register-level Programming Software OverviewProgramming Choices DLL DriverProgramming Tools DLL Driver Programming RoadmapProgramming with DLL Driver Function Library Troubleshooting DLL Driver ErrorChapter Gains and Analog Input Range Analog Input FeaturesPrinciples of Operation Analog Input Ranges and GainsAnalog Input Acquisition Modes Post-Trigger Acquisition Mode About-Trigger Acquisition Mode Sample Clock Sources Pre-Trigger Acquisition ModeTrigger Sources PCI-1712/1712L Sample Clock SourceAnalog 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 Clock sources Counter/Timer FeaturesGate 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 VR Assignment CalibrationA/D Calibration D/A Calibration Selecting the device you want to calibrate Calibration UtilityAuto A/D Calibration Dialog Box Channel Auto-CalibrationA/D Calibration Procedure A/D Calibration is finished Range Selection in D/A Calibration 11 Calibrating D/A Channel 13 Selecting Input Rage in Manual A/D Calibration panel Channel Manual-Calibration14 Adjusting registers 15 & -16 Selecting D/A Range Choosing Output Voltage 17 Adjusting registers Chapter Analog Input SpecificationDigital Input /Output Analog Output PCI-1712 onlyGeneral Counter/TimerAppendix a Block Diagram Block DiagramAppendix B Board Layout Screw-terminal BoardFigure C-2 CN2 pin assignments for the PCLD-8712 Pin AssignmentSingle-ended Connections Differential Connections I/O Port Address Map Register Structure and FormatTable D-1 PCI-1712/1712L register format Part Appendix DBase PCI-1712/1712L Register Format Address Channel data for continuous output operation mode 30 W CH2 to CH0 Channel Number A/D Single Value Acquisition Write BASE+0Channel and A/D data Read Base + Data of A/D ConversionBipolar or Unipolar A/D Channel Range Setting Write BASE+2Table D-3 Register for A/D channel range setting Single-ended or DifferentialStart Scan Channel Number MUX Control Write BASE+4Table D-4 Gain Codes for the PCI-1712/1712L Table D-5 Register for multiplexer controlAppendix D A/D Control/Status Register Write/Read BASE+6 Analog input acquisition mode registerTable D-6 Register for A/D control/status Analog I/O calibration bit Sample clock source select registerTrigger source control register Trigger edge control registerClear A/D Fifo Clear interrupt and Fifo Write BASE+8Aitrgf Analog input trigger flag Table D-8 Register for clear interrupt and FifoFifo half-full flag Interrupt and Fifo status Read BASE+8Interrupt flag Fifo empty flag10 D/A control/status register Write/Read BASE+A Aotrgf Analog output trigger flag Table D-11 Analog output operation modeChannel 1 unipolar or bipolar output Clock source select registerTable D-12 Register for D/A channel 0/1 data 11 D/A Channel 0/1 Data Write BASE+C/EData Table D-13 Register for 82C54 counter chip 12 82C54 Counter Chip 0 Write/Read BASE+10 toTable D-14 Register for 82C54 counter chip 13 82C54 counter chip 1 Write/Read BASE+18 to 1ETable D-16 Table of Cn1 to Cn0 register Cn1 to Cn0 Counter clock source control register n = 0,1,2Table D-17 Table of Gn1 to Gn0 register CPn Counter clock edge control register n = 0,1,2CQn Counter clock set register n = 0,1,2 Gn1 to Gn0 Counter gate source control register n = 0,1,2GATEn Gate status n = 0,1,2 GRn Pulse width measurement reset register n = 0,1,2GPn Counter gate polarity control register n = 0,1,2 GQn Counter gate set register n = 0,1,2DO15 to DO0 Digital output data register Digital I/O registers Write/Read BASE+28GATESn Pulse width measurement status bit n = 0,1,2 CLKSEL1 & 0 Counter internal clock select registerDI15 to DI0 Digital input data register Digital I/O configuration registers Write/Read BASE+2ACalibration command registers Write BASE+2C DIOC1 to DIOC0 Digital I/O configuration registerTable D-23 Calibration command CM3 to CM0 Calibration commandD7 to D0 Calibration data DA11 to DA0 D/A data Table D-24 Register for D/A channel 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.