background image

Important Information

Warranty

The 6527 is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts
or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty
period. This warranty includes parts and labor.

The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects
in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National
Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives
notice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall be
uninterrupted or error free.

A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before
any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are
covered by warranty.

National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical
accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent
editions of this document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected.
In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.

E

XCEPT AS SPECIFIED HEREIN

, N

ATIONAL

I

NSTRUMENTS MAKES NO WARRANTIES

,

EXPRESS OR IMPLIED

,

AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF

MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE

. C

USTOMER

S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF

N

ATIONAL

I

NSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER

. N

ATIONAL

I

NSTRUMENTS WILL NOT BE LIABLE FOR

DAMAGES RESULTING FROM LOSS OF DATA

,

PROFITS

,

USE OF PRODUCTS

,

OR INCIDENTAL OR CONSEQUENTIAL DAMAGES

,

EVEN IF ADVISED OF THE POSSIBILITY

THEREOF

. This limitation of the liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including

negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments
shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover
damages, defects, malfunctions, or service failures caused by owner’s failure to follow the National Instruments installation, operation, or
maintenance instructions; owner’s modification of the product; owner’s abuse, misuse, or negligent acts; and power failure or surges, fire,
flood, accident, actions of third parties, or other events outside reasonable control.

Copyright

Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including photocopying,
recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written consent of National
Instruments Corporation.

Trademarks

LabVIEW

, Measurement Studio

, MITE

, National Instruments

, NI

, ni.com

, and NI-DAQ

are trademarks of National Instruments

Corporation.

Product and company names mentioned herein are trademarks or trade names of their respective companies.

WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS

(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF
RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN
ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT
INJURY TO A HUMAN.

(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE
IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY,
COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE FITNESS, FITNESS OF COMPILERS
AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, INSTALLATION ERRORS, SOFTWARE AND
HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL
DEVICES, TRANSIENT FAILURES OF ELECTRONIC SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR
MISUSES, OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE
HEREAFTER COLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD
CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH) SHOULD
NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE. TO AVOID
DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO
PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT NOT LIMITED TO BACK-UP OR SHUT DOWN MECHANISMS.
BECAUSE EACH END-USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS' TESTING
PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN
COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL
INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING
THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE
INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN,
PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.

Содержание 6527

Страница 1: ...DAQ 6527 Register Level Programmer Manual 6527 Register Level Programmer Manual September 2001 Edition Part Number 370106B 01...

Страница 2: ...09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Malaysia 60...

Страница 3: ...ailures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and p...

Страница 4: ...sters Ports 0 2 2 3 Output Registers Ports 3 5 2 4 ID Register 2 5 Clear Register 2 6 Filter Interval Registers 2 7 Filter Enables Ports 0 2 2 8 Change Status Register 2 9 Master Interrupt Control Reg...

Страница 5: ...egister Level Programmer Manual vi ni com Change Notification 3 7 Configuring Interrupt Generation 3 7 Handling Interrupts 3 8 Disabling Change Notification 3 8 Appendix A Technical Support Resources...

Страница 6: ...anual Note National Instruments strongly recommends using application development environment software such as LabVIEW Measurement Studio or NI DAQ to program your 6527 device Application software pro...

Страница 7: ...ons to take to avoid injury data loss or a system crash bold Bold text denotes items that you must select or click on in the software such as menu items and dialog box options Bold text also denotes p...

Страница 8: ...es to notify you of changing data For more information regarding the functions installation connections and safe use of the 6527 refer to the 6527 User Manual Caution Using your 6527 device in a way i...

Страница 9: ...input lines using digital filtering Filtering can help eliminate glitches on input data and reduces the number of changes you need to process if you are using digital filtering with change notificatio...

Страница 10: ...on of each register follows the table Table 2 1 6527 Register Address Map Register Name Offset Hex Type Size General Operation Registers Port 0 Register Port 1 Register Port 2 Register Port 3 Register...

Страница 11: ...inside Change Notification Registers Change Status Master Interrupt Control Port 0 Rising Edge Detection Enable Port 1 Rising Edge Detection Enable Port 2 Rising Edge Detection Enable Port 0 Falling E...

Страница 12: ...ptically isolated digital input lines on the corresponding port Address Offsets 00 hex for Port 0 01 hex for Port 1 02 hex for Port 2 Type Read only Size 8 bit Bit Map Bit Name Description 7 0 N 7 0 D...

Страница 13: ...gister to get the states of the eight relays associated with the port The power up state of each register is all high hex FF causing the relays to be open Address Offset 03 hex for Port 3 04 hex for P...

Страница 14: ...ID Register is read only Use this register to confirm that you are successfully reading from your device Reading this register returns the hexadecimal value 27 Address Offset 06 hex Type Read only Si...

Страница 15: ...to these bits 3 ClrEdge Clear Edge Detectors Set this bit to 1 to clear the EdgeStatus status bit in the Change Status Register and clear all edge detectors 2 ClrOverflow Clear Overflow Set this bit...

Страница 16: ...r interval write to the ClrInterval bit of the Clear Register to ensure that the new filter interval takes effect immediately The filter interval affects only those input lines for which you have set...

Страница 17: ...You can enable or disable filtering individually for each input line Address Offsets 0C hex for Port 0 0D hex for Port 1 0E hex for Port 2 Type Read and write Size 8 bit Bit Map Bit Name Description...

Страница 18: ...its are undefined and should be ignored 2 MasterInterruptStatus Indicates that the device is asserting an interrupt 1 Overflow Indicates that at least one more edge has been detected since an interrup...

Страница 19: ...nly zeroes to these bits 4 FallingEdgeIntEnable Interrupt Enable control Enable interrupt on falling edge detection This is enabled upon power up 1 Interrupt enabled 0 Interrupt disabled 3 RisingEdgeI...

Страница 20: ...2 11 6527 Register Level Programmer Manual 1 OverflowIntEnable Interrupt Enable control Enable overflow interrupt 1 Interrupt enabled 0 Interrupt disabled 0 EdgeIntEnable Edge Interrupt Enable control...

Страница 21: ...also set the EdgeInt bit in the Master Interrupt Control Register Address Offsets 18 hex for Port 0 19 hex for Port 1 1A hex for Port 2 Type Read and write Size 8 bit Bit Map Bit Name Description 7 0...

Страница 22: ...pts you must also set the EdgeInt bit in the Master Interrupt Control Register Address Offsets 20 hex for Port 0 21 hex for Port 1 22 hex for Port 2 Type Read and write Size 8 bit Bit Map Bit Name Des...

Страница 23: ...reading from registers on the device Registers are listed in Chapter 2 Register Map and Descriptions Note In this chapter all numbers preceded by 0x are hexadecimal Common Terms The following list of...

Страница 24: ...us with multiplexed address and data lines This system arbitrates and assigns resources through software freeing you from manually setting switches and jumpers The 6527 devices are fully compatible wi...

Страница 25: ...u choose not to re map the device you can skip the first CWrite instruction but you still need to perform the next and last instructions to initialize the device All values in this example are 32 bits...

Страница 26: ...osh Memory Inside Macintosh Operating System Utilities Inside Macintosh Processes Inside Macintosh Power PC System Software Example Use the following code sequence to activate the device Using the doc...

Страница 27: ...For input and output specifications refer to Appendix A Specifications of your 6527 User Manual Handshaking is also not required simply write to or read from a specified port Input You can read your...

Страница 28: ...Filter Interval 0 0x50 Set least significant bits of filter interval Write Clear Register 0x03 Clear filters and filter interval clock Write Port 0 Filter Enables 0xFF Enable filtering for all eight...

Страница 29: ...on line 1 or any change on line 7 6 5 or 4 generates an interrupt Tip It is recommended that you enable input filtering to prevent a brief glitch or noise pulse from generating a false interrupt Filt...

Страница 30: ...R use the Change Status Register to verify that a change occurred using the following pseudocode example Read Change Status Read status to verify change occurred Then read the value of the input lines...

Страница 31: ...access the latest example programs system configurators tutorials technical news as well as a community of developers ready to share their own techniques Customer Education National Instruments provid...

Страница 32: ...ce Web sites from the Worldwide Offices section of ni com Branch office Web sites provide up to date contact information support phone numbers e mail addresses and current events If you have searched...

Страница 33: ...oprietary semiconductor component designed and manufactured to perform a set of specific functions for a specific application C CompactPCI refers to the core specification defined by the PCI Industria...

Страница 34: ...y to eliminate high potential differences and transients optocoupler a device that transfers electrical signals by utilizing light waves to provide coupling with electrical isolation between input and...

Страница 35: ...lter bit Clear Register 2 6 ClrInterval bit Clear Register 2 6 ClrOverflow bit Clear Register 2 6 configuring interrupt generation 3 7 to 3 8 conventions used in manual viii customer education A 1 D d...

Страница 36: ...ster Interrupt Control Register 2 10 MasterInterruptStatus bit Change Status Register 2 9 N N 7 0 bits Input Registers Ports 0 2 2 3 Output Registers Ports 3 5 2 4 NI Developer Zone A 1 O output progr...

Страница 37: ...0 2 2 12 digital filtering registers Filter Enables Ports 0 2 2 8 Filter Interval Registers 2 7 register address map table 2 1 general operation registers 1 2 Clear Register 2 6 ID Register 2 5 Input...

Отзывы: