User Manual
VX4801
Programmable Digital I/O Module
070-9153-03
This document applies for firmware version 1.00
and above.
Download from Www.Somanuals.com. All Manuals Search And Download.
WARRANTY
Tektronix warrants that this product will be free from defects in materials and workmanship for a period of three
(3) years from the date of shipment. If any such product proves defective during this warranty period, Tektronix,
at its option, either will repair the defective product without charge for parts and labor, or will provide a
replacement in exchange for the defective product.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration
of the warranty period and make suitable arrangements for the performance of service. Customer shall be
responsible for packaging and shipping the defective product to the service center designated by Tektronix, with
shipping charges prepaid. Tektronix shall pay for the return of the product to Customer if the shipment is to a
location within the country in which the Tektronix service center is located. Customer shall be responsible for
paying all shipping charges, duties, taxes, and any other charges for products returned to any other locations.
This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate
maintenance and care. Tektronix shall not be obligated to furnish service under this warranty a) to repair damage
resulting from attempts by personnel other than Tektronix representatives to install, repair or service the product;
b) to repair damage resulting from improper use or connection to incompatible equipment; or c) to service a
product that has been modified or integrated with other products when the effect of such modification or
integration increases the time or difficulty of servicing the product.
THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THIS PRODUCT IN LIEU OF
ANY OTHER WARRANTIES, EXPRESSED OR IMPLIED. TEKTRONIX AND ITS VENDORS
DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. TEKTRONIX’ RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE
PRODUCTS IS THE SOLE AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR
BREACH OF THIS WARRANTY. TEKTRONIX AND ITS VENDORS WILL NOT BE LIABLE FOR ANY
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF
WHETHER TEKTRONIX OR THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF
SUCH DAMAGES.
Download from Www.Somanuals.com. All Manuals Search And Download.
EC Declaration of Conformity
We
Tektronix Holland N.V.
Marktweg 73A
8444 AB Heerenveen
The Netherlands
declare under sole responsibility that the
VX4801
meets the intent of Directive 89/336/EEC for Electromagnetic Compatibility.
Compliance was demonstrated to the following specifications as listed in the Official
Journal of the European Communities:
EN 55011
Class A Radiated and Conducted Emissions
EN 50081-1 Emissions:
EN 60555-2
AC Power Line Harmonic Emissions
EN 50082-1 Immunity:
IEC 801-2
IEC 801-3
IEC 801-4
IEC 801-5
Electrostatic Discharge Immunity
RF Electromagnetic Field Immunity
Electrical Fast Transient/Burst Immunity
Power Line Surge Immunity
To ensure compliance with EMC requirements this module must be installed in a
mainframe which has backplane shields installed which comply with Rule B.7.45 of
the VXIbus Specification. Only high quality shielded cables having a reliable,
continuous outer shield (braid & foil) which has low impedance connections to
shielded connector housings at both ends should be connected to this product.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Table of Contents
Section 1
General Information and Specifications
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 1
Controls And Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 4
Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 4
Fuses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 5
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 6
BITE (BuiltĆIn Test Equipment) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 7
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 9
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 - 10
Section 2
Preparation For Use
Installation Requirements And Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 1
Installation Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 2
Installation Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 4
Section 3
Operation
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 1
PowerĆup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 2
System Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 2
Module Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 2
Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 2
Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 3
Command Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 5
SYSFAIL, Self Test, and Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 26
Section 4
Programming Examples
Definition of BASIC Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 1
Programming Example In BASIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 2
Appendices
Appendix A - VXIbus Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 1
Appendix B - Input/Output Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 7
Appendix C - VXI Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 9
Appendix D - User Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 17
Appendix E - Performance Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A - 19
VX4801
i
Download from Www.Somanuals.com. All Manuals Search And Download.
General Safety Summary
Review the following safety precautions to avoid injury and prevent damage to
this product or any products connected to it.
Only qualified personnel should perform service procedures.
While using this product, you may need to access other parts of the system. Read
the General Safety Summary in other system manuals for warnings and cautions
related to operating the system.
Injury Precautions
Avoid Electric Overload
To avoid electric shock or fire hazard, do not apply a voltage to a terminal that is
outside the range specified for that terminal.
Do Not Operate Without
Covers
To avoid electric shock or fire hazard, do not operate this product with covers or
panels removed.
Use Proper Fuse
To avoid fire hazard, use only the fuse type and rating specified for this product.
To avoid electric shock, do not operate this product in wet or damp conditions.
Do Not Operate in
Wet/Damp Conditions
Do Not Operate in an
Explosive Atmosphere
To avoid injury or fire hazard, do not operate this product in an explosive
atmosphere.
Product Damage Precautions
Provide Proper Ventilation
To prevent product overheating, provide proper ventilation.
Do Not Operate With
Suspected Failures
If you suspect there is damage to this product, have it inspected by qualified
service personnel.
iii
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
General Safety Summary
Safety Terms and Symbols
Terms in This Manual
These terms may appear in this manual:
WARNING. Warning statements identify conditions or practices that could result
in injury or loss of life.
CAUTION. Caution statements identify conditions or practices that could result in
damage to this product or other property.
Terms on the Product
These terms may appear on the product:
DANGER indicates an injury hazard immediately accessible as you read the
marking.
WARNING indicates an injury hazard not immediately accessible as you read the
marking.
CAUTION indicates a hazard to property including the product.
Symbols on the Product
The following symbols may appear on the product:
DANGER
High Voltage
Protective Ground
(Earth) Terminal
ATTENTION
Refer to Manual
Double
Insulated
Certifications and Compliances
Overvoltage Category
Overvoltage categories are defined as follows:
CAT III: Distribution level mains, fixed installation
CAT II: Local level mains, appliances, portable equipment
CAT I: Signal level, special equipment or parts of equipment, telecommunica-
tion, electronics
iv
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
min
typ
max
units
Output high voltage (V )
oh
I = –20 mA
4.4
5.0
4.2
o
V
V
l = –6 mA
3.84
o
Output low voltage (V )
ol
l = 20 mA
0
0
0.1
0.5
24
V
o
l = 24 mA
V
o
Output low current (l )
mA
V
ol
Input high voltage (V )
2.0
ih
Input low voltage (V )
0.8
230
5.0
V
il
* Input current (l )
mA
mA
in
Tri-state leakage current (l )
0.5
oz
* There are 22 kW pull-up resistors to + 5V on all I/O and handshake lines to account for floating inputs.
The inputs IC use 1.0 mA max, while the pull-down resistors require 5V / 22 kW = 227.6 mA.
–10 ° to +55 ° C., typical specs at 25° C. A minus sign indicates current flowing out of the card.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
070Ć9153ĆXX
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification123
This procedure verifies the performance of the VX4801 Programmable Digital
I/O Module. The test sequences may be performed in your current VXIbus
system if it meets the requirements described in Table 2. Also, it is not necessary
to complete the entire procedure if you are only interested in a specific perfor-
mance area. Some tests depend on the proper operation of previously verified
functions so it is best to follow the order as presented.
The following skills are required to perform this procedure:
H
H
H
Thorough knowledge of test instrument operation and proper measurement
techniques
Knowledge of VXIbus system components and command language
programming
Ability and facility to construct interconnections and fixtures as needed to
perform the procedure
General Information and Conventions
Please familiarize yourself with the following conventions which apply
throughout this procedure:
H
Each test sequence begins with a table, similar to the one below, which
provides information and requirements specific to that section. The item
number appearing after each piece of equipment refers to an entry in Table 1
Required Test Equipment. Immediately following the table, you will be given
instructions for interconnecting the VX4801 under-test and for checking the
performance parameters. Results may then be recorded on a photocopy of the
Test Record on page A–23.
Equipment
Requirements
Digital Volt Meter (item 1)
Loop-Back Cable Assembly (item 3)
Prerequisites
All prerequisites listed on page A–20
H
This procedure assume that you will be using the National Instruments PC
GPIB controller and software (NI-488.2M) configured as described in
Table 3. In the test sequences, you will be instructed to issue Interface Bus
Interactive Control (ibic) commands to set up the VX4801 under-test and
other associated VXIbus test instruments. Please refer to the NI-488.2M
User Manual for additional information. If you are using a different
controller or software, simply substitute the equivalent commands.
A–19
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
NOTE. Commands to the VX4801 may be entered in upper or lower case.
However, to avoid confusion between the alphanumeric characters; e.g. one (1)
and L or zero( 0) and o, all commands are shown in the case which provides the
greatest distinction. Use special care when interpreting these characters.
Prerequisites
The verification sequences in this procedure are valid when the following
requirements are met:
H
The VX4801 module covers are in place and the module is installed in an
approved VXIbus mainframe as described in Section 2 of the Operating
Manual
H
H
The VX4801 has passed the power-on self test
The VX4801 is operating in an ambient environment as specified in
Section 1 of the Operating Manual for a warm–up period of at least 10
minutes
Equipment Required
This Procedure uses traceable signal sources and measurement instruments.
Table 1 lists the required equipment. You may use equipment other than the
recommended examples if it meets the minimum requirements.
Table 1: Required Test Equipment
Item Number and Description
Minimum Requirements
Example
Purpose
1. Digital Volt Meter (DVM)
5-1/2 digit, 100 VDC range, accuracy FLUKE 8842A
> 0.002 %.
Checking isolation impedance
2. Digital I/O Module
4 byte TTL/CMOS data I/O
Tektronix VX4801
Checking external functions
3. Loop-Back Cable Assembly
Male DB-50 Connector, two required
(Tektronix part number 131-1344-00)
Assemble as shown in
Figure 4
Checking TTL/CMOS Data
I/O, Tri-State, and Hand-
shake.
Male DB-25 Connectors, are required
(Tektronix part number 131-0570-00)
26 AWG ribbon wire
A–20
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
DB-25 Male
13
25
Byte 5 Tri-St
Byte 4 Tri–St
Byte 5 LSB
Byte 4 LSB
14
1
8
DB-50 Male
DB-50 Male
33
Byte 2
Byte 3
17
50
Byte 3 Tri-St
Byte 0 Tri-St
GND
17
33
50
Byte 3 LSB
Byte 2 MSB
Byte 0 LSB
Byte 1
39
6
5
DAK
DAV
GND
GND
GND
18
18
DRd
RFD
34
1
34
1
Allow approximately 6”
length of interconnect
wire between modules.
Byte 1 Tri-St
Byte 2 Tri-St
VX4801 Under-test
VX4801 Slave Module
Figure 4: Loop-Back Cable Assembly (View of Solder Side)
A–21
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
VX4801 Under-Test Configuration
In order to perform this procedure, the VX4801 under-test must be installed in an
approved VXIbus system. At a minimum, the system must contain the elements
listed in Table 2.
Table 2: Elements of a Minimum VX4801 Under-Test System
Item Number and Description Minimum Requirements
Example
Purpose
1. VXIbus Mainframe
Two available slot for VX4801
under-test and the VX4801 digital
signal source (Slave) in addition to
the Slot 0 controller
Tektronix VX1400A
Provides power, cooling, and
backplane for VXIbus modules
2. Slot 0 Controller
Resource Mgr., Slot 0 Functions,
IEEE 488 GPIB Interface
VX4521 Slot 0 Resource Mgr. Provides Slot 0 functions.,
Resource Mgr., and GPIB/
VXIbus interface
3. VXIbus System Controller VXIbus-Talker/Listener/Controller
IBM 486 PC with National
Provides VXIbus command
Instruments GPIB PC2A card and response interface
& NI-488.2M software, GPIB
cable (Tektronix P/N
012–0991-00)
4. VX4801 Under-Test
5. VX4801-Slave
Not applicable
Not applicable
VX4801
Verify its performance
Provides test signal I/O
4 byte TTL/CMOS I/O
Test System Configuration
Table 3 describes the VXIbus system configuration assumed in this procedure. If
your configuration is different, you do not need to change it, just note that you
will observe your device names and addresses in test sequences. (Note that no
secondary addressing is assumed.)
Table 3: Test System Configuration (Assumed)
GPIB Device
Name
VXIbus Logical GPIB Primary
Address
Address
Device
VXI Slot
(PC card)
Slot 0
GPIB0
GPIB0
VX4521
VX4801
slave
NA
30
13
1
VX4521
0D (hex)
01
VX4801 under-test
VX4801 slave
Slot 1
Slot 2
02
2
A–22
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
Test Record
Photocopy the Test Record, and use it to record the performance verification
results for your module.
Table 4: VX4801 Test Record
VX4801 Serial Number:
Date of Last Calibration:
Certificate Number:
Temperature and Relative Humidity:
Verification Performed by:
Date of Verification:
Table 5: VX4801 Performance Tests
VXIbus Interface Checks
Logical Address, IEEE Address, Slot No., MFG., Model, etc.
Table Command Response
1st. Response
2nd Response
3rd Response
Passed
Failed
Preliminary Tests
Self Test
Interrupt SRQ
TTL/CMOS I/O Data Bytes
Tri-State Control Signals
Internal
External
Handshake Control Signals
Transmit
Receive
A–23
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
Self Test
The VX4801 includes a built-in self test function (BITE) which is automatically
executed each time the power is turned on and when the Internal Self Test (S)
command is issued. BITE uses internal routines and circuitry to confirm basic
I/O functionality. No external test equipment is required.
During self test, all outputs are set to a high impedance (tri-state) mode and then
internal loop-back circuitry and test patterns are used to verify all I/O channels.
In addition to BITE, front panel indicator lights display the current status of
power, the assertion of SYSFAIL*, backplane cycles, data handshake signals,
and individual I/O data bits for each byte. The Query command may also be used
at any time during operation to determine the current state of the module.
Following the VXIbus system startup sequence, the green PWR light on the
VX4801 front panel indicates that the self test has passed and that the +5 V
power supply is operational. If the +5 V power supply fails, or its fuse opens, the
PWR light will be off, the FAILED light will be on, and SYSFAIL* will be
asserted indicating a module failure.
NOTE. If you experience an error indication from the Slot 0 Resource Manager,
the VX4801-under-test, or other VXIbus module, investigate and correct the
problem before proceeding. Common items to check are logical address conflicts
(primary and secondary; see Table 3), breaks in the VXIbus daisy chain signals,
improper seating of a module, loose GPIB cable, improperly set Slot 0 single-
step switch, or loose or blown fuses.
Performance Verification Tests
The order of execution of this procedure has been chosen to minimize system
setup and functional dependency. Because some tests rely on the success of their
predecessors, it is recommended that you perform all sequences in order.
VXIbus Interface
This sequence verifies that the VX4801 configures correctly and communicates
properly with your GPIB system controller.
Equipment
Requirements
No additional test equipment is required for this sequence.
All prerequisites listed on page A–20
Prerequisites
A–24
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
NOTE. If you are using National Instruments NI-488.2 software you may wish to
select the buffer 1 mode to allow more comfortable viewing of the ASCII
response. Just type buffer 1.
1. To verify the system configuration, send the TABLE command to the Slot 0
Resource Manager and confirm the responses shown in Table 6. Your
configuration may not be identical, but the responses should be similar.
Table 6: VXIbus System Configuration
Command to Type
ibic
Response to Verify
ibfind VX4521
ibwrt "table"
ibrd 200
!
03
LA 0, IEEE 13, Slot 0, MFG FFDh, MODEL VX4521,
PASS, , RM. .
!
!
LA 1, IEEE 01, Slot 1, MFG FFDh, MODEL VX4801,
PASS TRIGGER;LOCK;READ STB, MESG, 0, V1.3,
NORMAL
LA 2, IEEE 02, Slot 2, MFG FFDh, MODEL VX4801,
PASS TRIGGER;LOCK;READ STB, MESG, 0, V1.3,
NORMAL
2. Verify the VX4801 VXIbus interrupt capability with the following steps:
NOTE. Make sure your Slot 0 controller and the VX4801 under-test are set to the
same interrupt level (see User Manual for location of interrupt setting). Also, if
you are using National Instruments NI-488.2 software, make sure Auto Serial
Polling is disabled to prevent the SRQ from being reset prior to a visual check.
a. Enable the generation of VXI Request True interrupt and force a VXIbus
interrupt with an error condition with the following commands:
ibfind VX4801
ibwrt "xae"
(Enable VXI Request True interrupt)
ibwrt "vxi"
(Observe: VX4801 ERR light is on)
A–25
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
ibrd 0
(Observe: VX4521 Slot 0 indicates S in 2nd digit)
NOTE. The zero length read serves to un-address the Slot 0 controller which
allows it to detect the VXIbus interrupt and assert the SRQ.
b. Check that the FAILED light on the VX4801-device-under-test is on and
that the VX4521 displays an S in the second digit of the front panel
indicating an SRQ pending.
c. With the following commands, perform a serial poll with the VX4801
and verify a response of 40 hexadecimal which indicates that it was the
interrupting device. Also, verify that the VX4521 Slot 0 controller SRQ
is no longer asserted. Finally, perform a second serial poll and observe a
response of 0, indicating no interrupt pending:
ibrsp
(Observe: VX4521 no longer displays S)
ibrsp
(Observe: VX4801 response = 0; interrupt cleared)
d. Perform a Status Query (ASCII) and verify that the ERR light is off, and
then read the error message:
ibwrt "qa"
(Observe: VX4801 ERR light is off)
ibrd 100
(Observe: SYNTAX ERROR.. )
TTL/CMOS I/O
This test sequence verifies that each eight bit port (6) of the VX4801 can provide
both active high and low TTL/CMOS inputs and outputs.
Equipment
Loop-back assembly (item 3)
Requirements
Prerequisites
All prerequisites listed on page A–20
1. Attach the loop-back assembly as shown in Figure 4, which connects the odd
bytes to the even bytes respectively (0 to 1, 2 to 3, 4 to 5).
A–26
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
2. Perform a self test and query for any error codes (in ASCII format) with the
VX4801 device-under-test and the Slave VX4801:
ibfind Slave
ibwrt "s;qa"
ibrd 100
(Observe: NO ERRORS)
set VX4801
ibwrt "s;qa"
ibrd 100
(Observe: NO ERRORS)
NOTE. If at any time in this procedure you do not observe the result expected,
check the front panel error light and/or perform an error Status Query (ibwrt
“qa”<cr> ibrd 100<cr>). No additional commands will be accepted until an
error condition is cleared.
3. Verify the odd byte data inputs and the even byte data outputs with the
following steps:
a. Reset the VX4801 to its power-up state and then set its mode for the odd
bytes (1, 3, 5) to be active low inputs, for the even bytes (0, 2, 4) to be
active high outputs loaded with a Load Output value of 55, and set the
tri-state function to be inactive (* => all bytes, i => inactive):
set VX4801
ibwrt "r;m135iL024oh;L024d55;t*i"
b. Perform an input of all bytes and verify a response of 55AA55AA55AA:
ibwrt "i*"
ibrd 100
(Observe: 55AA55AA55AA)
c. Repeat the previous test with the logic sense reversed; i.e. odd bytes (1,
3, 5) set to active high and the even bytes set to active low. Verify the
complementary response:
ibwrt "m135ih024oL"
ibwrt "i*"
ibrd 100
(Observe: AA55AA55AA55)
A–27
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
4. To verify the even byte data inputs and the odd byte data outputs, reset the
VX4801 to its power-up state and then set its mode for the even bytes (0, 2,
4) to be active low inputs, for the odd bytes (1, 3, 5) to be active high
outputs loaded with a Load Output value of 55, and set the tri-state function
to be inactive. Perform an input of all bytes and verify an AA55AA55AA55
response and then reverse the logic sense of the even and odd bytes and
verify the complementary response of 55AA55AA55:
ibwrt "r;m024iL135oh;L135d55;t*i"
ibwrt "i*"
ibrd 100
(Observe: AA55AA55AA55)
ibwrt "m024ih135oL"
ibwrt "i*"
ibrd 100
(Observe: 55AA55AA55AA)
Tri-State Function
This test sequence verifies that the internal tri-state commands and the external
tri-state signals are functioning properly for each I/O byte.
NOTE. Each I/O signal has an internal 22 kW pull-up to +5 V which will appear
as a high logic level when the in tri-state mode.
Equipment
Loop-back assembly (item 3)
Requirements
Prerequisites
All prerequisites listed on page A–20
1. Install the loop-back assembly on the VX4801 under-test and the slave
VX4801 as shown in Figure 4.
2. Verify the internal tri-state command with the following steps:
a. Reset the VX4801 to its power-on default state (all bytes initially
tri-stated). Then set its mode for the odd bytes to be active high inputs
and for even bytes to be active high outputs with a Load Output value of
00. Finally, leave the even (output) bytes tri-stated, but set the odd
(input) byte tri-states to be inactivate. Perform an input of all bytes and
verify that the even bytes are in tri-state mode and not driving the odd
byte inputs (odd inputs not pulled low):
set VX4801
A–28
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
ibwrt "r;m135ih024oh;L024d00;t135i"
ibwrt "i*"
ibrd 100
(Observe: response of 00FF00FF00FF)
b. Repeat the above test, this time with the even bytes set as inputs and the
odd bytes set as tri-stated outputs. Perform an input of all bytes and
verify that the even bytes are in tri-state mode and not driving the even
byte inputs (even inputs not pulled low):
ibwrt "r;m024ih135oh;L135d00;t024i"
ibwrt "i*"
ibrd 100
(Observe: response of FF00FF00FF00)
3. Verify the external tri-state signals with the following steps:
a. Set up the Slave VX4801 to disable the external tri-state signals (ETS0 -
ETS5) to the VX4801 device-under-test:
set slave
ibwrt "r;m0oh;L0dFF;t0i"
b. Set up the VX4801-device-under-test for odd bytes to be inputs, for even
bytes to be outputs with a Load Output value of 00, and for internal
tri-state to be inactive for all bytes. Read all bytes and verify the 00
output value on all bytes (internal tri-state inactive):
set VX4801
ibwrt "r;m135ih024oh;L024d00;t*i"
ibwrt "i*"
ibrd 100
(Observe: response of 000000000000)
c. Set the Slave to assert the external tri-state signals to the even bytes of
the VX4801 and verify a response of 00FF00FF00FF:
set slave
ibwrt "L0daa"
ibwrt "i*"
set VX4801
A–29
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
ibwrt "i*"
ibrd 100
(Observe: response of 00FF00FF00FF)
d. Set the Slave to un-assert external tri-state signals. Then set the VX4801
for the odd bytes to be inputs, for the even bytes to be outputs with a
Load Output value of 00, and for internal tri-state to be inactive for all
bytes. Read all bytes and verify the 00 output value on all bytes (internal
tri-state inactive):
set slave
ibwrt "L0dFF"
ibwrt "i*"
set VX4801
ibwrt "r;m024ih135oh;L135d00;t*i"
ibwrt "i*"
ibrd 100
(Observe: response of 000000000000)
e. Set the Slave to assert the external tri-state signals to the odd bytes of the
VX4801 and verify a response of FF00FF00FF00:
set slave
ibwrt "L0d55"
ibwrt "i*"
set VX4801
ibwrt "i*"
ibrd 100
(Observe: response of FF00FF00FF00)
A–30
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
Check Handshake
This test sequence verifies that data can be transferred to and from the VX4801
using the four handshake signal lines Data Ready (DRD), Data Acknowledge
(DAK), Ready for Data (RFD), and Data Available (DAV).
NOTE. Typing errors will result in a VX4801 error condition which must be
cleared before subsequent commands will be recognized. If at any time you
suspect that an error condition exists, send an error query and read the result
before continuing with the test sequence (ibwrt “qa” <cr>, ibrd 100 <cr>).
Equipment
Loop-back assembly (item 3)
Requirements
Prerequisites
All prerequisites listed on page A–20
1. Connect the loop-back assembly as shown in figure 4.
2. Using the following steps, verify a data byte transfer 55 hexadecimal from
the VX4801 (byte 5) to the Slave (byte 3) using the Ready for Data (RFD)
from the Slave and the Data Valid (DAV) from the VX4801:
a. Set the VX4801 for a positive edge handshake, to update the output data
on receipt of a Ready For Data (RFD) strobe, to update the input data on
receipt of a Data Ready (DRD) strobe, and for byte 5 to be an active high
output, initialized with a Load Output data value of 55 hexadecimal and
with its tri-state inactive:
set VX4801
ibwrt "r;p*+;urd;m5oh;L5d55;t5i"
b. Set the Slave mode for byte 2 to be an active high output (for assertion
of RFD), for bytes 1 and 3 to be active high inputs (byte 1 to detect DAV
and byte 3 to input data), and for all tri-states to be inactive:
set Slave
ibwrt "r;m2oh13ih;t*i"
c. Set the Slave to input byte 1 (with all bits masked except bit 1) and
byte 3 and verify that DAV is un-asserted (i.e. byte 1, bit 0 = 0) and
consequently, that there is no data (byte 3 = 00):
ibwrt "i1&01/3"
ibrd 100"
(Observe: 0000 and VX4801 DAV light off)
A–31
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
d. Set the Slave to initialize byte 2 with an Output Data value of 01 (asserts
RFD to the VX4801) and verify that the VX4801 correspondingly
asserts DAV:
ibwrt "L2d01"
(Observe: VX4801 DAV light on)
e. Set the Slave to input bytes 1 and 3 and verify receipt of DAV (byte 1
bit 1 = 1) and data (byte 3 = 55):
ibwrt "i1&01/3"
ibrd 100
(Observe: 0155 return value)
3. Using the following steps, verify a data byte transfer (AA hex) from the
Slave (byte 5) to the VX4801 (byte 3) using the Data Ready (DRD) and Data
Acknowledge (DAK) handshake lines:
a. Set the Slave mode for byte 2 and 3 to be active high outputs, with
byte 3 initialized to a Load Output data value of AA, and set all tri-states
to be inactive:
ibwrt "r;m23oh;L3dAA;t*i"
b. Set the VX4801 for a positive edge handshake, to update the output date
on receipt of a DRD strobe, to update the input data on receipt of a DRD
strobe, and for byte 5 to be an active high input with its tri-state inactive
(note that after the data is strobed in with DRD from the slave, the
VX4801 will in turn generate the DAK, but only after the controller has
read the data byte):
set VX4801
ibwrt "r;p*+;urd;m5ih;t5i"
c. Send a byte 5 input command to the VX4801, and verify that a response
of N, indicating that the module is waiting for a DRD strobe:
ibwrt "i5"
ibrd 100
(Observe N; waiting for DRD strobe)
d. Set the Slave to send a DRD strobe (byte 2, bit 2) and then verify that
the VX4801 DAK light is off:
set Slave
ibwrt "L2d02"
(Send DRD to VX4801; observe DAK light off)
A–32
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix E: Performance Verification
e. Send a byte 5 input command to the VX4801 and verify that the DAK
light is on. Then read the data, observe a response of AA, perform a
second read and observe that the VX4801 is again waiting for a DRD
strobe:
set VX4801
(Observe VX4801 DAK light off)
ibwrt "i5"
(Observe DAK light on)
ibrd 100
(Observe AA response)
ibwrt "i5"
ibrd 100
(Observe N response, indicating waiting for DRD)
This completes the VX4801 verification procedure.
A–33
VX4801 Programmable Digital I/O Module
Download from Www.Somanuals.com. All Manuals Search And Download.
|