Home

Tek VX4801 User Manual

image

Contents

1. l AGA A 14 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix System Hierarchy The tree structure of the commander servant relationships of all devices in the system at a given time In the VXibus structure each servant has a commander A commander may also have a commander Test Monitor An executive routine that is responsible for executing the self tests storing any errors in the ID ROM and reporting such errors to the Resource Manager Test Program A program executed on the system controller that controls the execution of tests within the test system Test System A collection of hardware and software modules that operate in concert to test a target DUT TTLTRG Open collector TTL lines used for inter module timing and communication VXIbus Subsystem One mainframe with modules installed The installed modules include one module that performs slot O functions and a given complement of instrument modules The subsystem may also include a Resource Manager Word Seriai Protocol A VXIbus word oriented bi directional serial protocol for communications between message based devices that is devices that include communication registers in addition to configuration registers Word Serial Communications Inter device communications using the Word Serial Protocol WSP See Word Serial Protocol 10 MHz Clock A 10 MHz 100 ppm timing ref
2. 99341 eui jo uoneuiquioo Aug ueuM Jo S exeuspueu 2 SJn220 10119 UB USYM BANDE 01 eq ugo 1dnij93ut siy eni Isanbay XA 94 sejgesip 10 sejqeua EZ aya jo UOISIAS 9184308 JUB1INO BY SUMA 1Z jonuoo exeuspueu uo ejepdn 10 ajepdn parepdn eje sindino pue sindut ay YIM 10 suonipuoo sayidads OZ sauy 9815 41 aui pe HO A jgoiBoj si siy JO oouepedui uBiu 5914 indino sayoads GL 9781S dn 1emod sy 03 SUINA uayi 71691 95 e 81 21215 dn 1amod sy 01 ay 519591 yae yoea JO 918 5 141 jguje1xo ay 4218 4989 jo esues 9iBo powuuesBold 943 sjexeuspueu AY Jeujeu pua sjeuBis exyeuspueu ay jo eAnoe oy uoneinBijuoo ey seuo1e Q 941 jo uonipuoo 9181541 jua sino eur exeuspueu BY JO 91815 10119 SL ay jo 21815 1ue11no 34 spee1 ipi 10 eAnisod sjeuBis oxeuspueu ay jo eAnoe eu 9 2945 ZL ena Banag 10 ens ybiy BANDE esues
3. 1 4 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 INT LEVEL i 2 T HALT SWITCH VMEbus Interrupt Level Select Switch Each function module in a VXIbus System can generate an interrupt on the VMEbus to request service from the interrupt handler located on its commander for example the VX4520 Slot O Device Resource Manager in a VX7401 IEEE 488 Interface System The VMEbus interrupt level on which the VX4801 Module generates interrupts is set by a BCD rotary switch Align the desired switch position with the arrow on the module shield Valid Interrupt Level Select Switch settings are 1 through 7 with setting 1 equivalent to level 1 etc The level chosen should be the same as the level set on the VX4801 s interrupt handler typically the module s commander Setting the switch to an invalid interrupt level O 8 or 9 will disable the module s interrupts Interrupts are used by the module to return VX bus Protocol Events to the module s commander Refer to the Operation section for information on interrupts The VXIbus Protocol Events supported by the module are listed in the Specifications section Halt Switch This two position slide switch selects the response of the VX4801 Module when the Reset bit in the module s VXIbus Control register is set If the Halt switch is in the ON position the VX4801 Module is reset to its power up state
4. 4 1 455 CR LF 0 1 2 3 4 5 001100114455 lt CR LF 5 read no command 0 1 2 3 4 5 001100114455 CR LF 6 0 1 2 3 4 5 001122334455 lt CR LF 7 103X11 3 22 CR lt LF gt 8 read no command 0 1 2 3 4 5 001122334455 lt CR LF 9 1543012 5 4 3 0 1 2 554433001122 CR LF 10 10 55 1 2345 0 1 2 3 4 5 558822334455 CR LF Case 1 is the initial default condition Case 2 requests the input from bytes 1 2 and 3 in that order Case 3 reports the data from the input sequence set up in case 2 Case 4 masks ANDs each input byte with a 55 hex prior to reporting it Case 5 reports the data using the sequence and mask set up in case 4 Case 6 overrides the mask from case 4 and reports the data in its raw form Case 7 uses the override command to look at byte 3 XOR d with an 11 hex Case 8 reports the data from the sequence defined in case 6 Case 9 reports the data in the newly defined sequence 543012 Case 10 reports the data in the newly defined sequence 012345 ORs byte O with a 55 hex XORs byte 1 with an AA hex and reports bytes 2 3 4 and 5 in their raw form The is used to make the command more readable VX4801 3 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 ____________ _ _ Syntax Purpose Description L Load Output
5. Hey pue sindino pue sindu S91 Q YIIYM 8 594238 indino spieo ey ejepdn oj pesn UBO s ar1Aq 941 JO BJAG 8 JO ejBuis ndino pejoejes sajAq jndino 6unu s d 1 xeu OSV 941 indino 01 BY eq 5 pue jndino jo 19p10 ay ndino eq e3ep ay 59 2995 S isaw e e jo suq po1299s Jo 69444 3ndui 89446 Indu Bunuesejdo1 xeu ISY Suinjay Bunsodos aoud 94 OJUO peano eq Sxseul Aug pue pue pees eq o uj ay P891 eq 919 u IA sei 2908 SGNVWW05 31000W_ AB aaa 41 lt 2 gt posj eu pue ungas Aq poreunuJal 919 BY sesuodsai 4 pojea 9 si uonipuoo ay pun ou PUB 3501 eq jim juenbesqns pue BY PILA 10449 34 Jo ay o dn spueuiuoo y pobbe eq 10119 ue pue pajouBi 01 ay 9sneo IM 10119 so xe3u s Aug 9 06 88 68 08 02 80 60 00 ay Aq pue Buys puewwod eu UNHA
6. ibwrt LOdaa ibwrt i set VX4801 VX4801 Programmable Digital I O Module A 29 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix Performance Verification A 30 ibwrt i ibrd 100 Observe response of OOFFOOFFOOFF 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 LOdFF ibwrt i set VX4801 ibwrt r m024ih1350h L135d00 t i ibwrt i ibrd 100 Observe response of 000000000000 Set the Slave to assert the external tri state signals to the odd bytes of the VX4801 and verify a response of FFOOFFOOFFOO set slave ibwrt L0d55 ibwrt i set VX4801 ibwrt i ibrd 100 Observe response of FFOOFFOOFF00 VX4801 Programmable Digital I O Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 ina VX4801
7. 4 SETUP Follow Installation guidelines p 2 1 The default condition of the VX4801 Module after the completion of power up self test is as follows All I O pins tri stated All bytes defined as inputs active high external handshake lines disabled Request True interrupts disabled LEDs When lit the LEDs indicate the following Power power supplies functioning Failed module failure MSG module is processing a VMEbus cycle RFI a VX backplane interrupt is requested RFD the external device strobes ready for data DAV Data AVailable line is low DRD the external device strobes data ready DAK Data AcKnowledge line is low ERR a programming error has occurred Vo the current byte is programmed as an output TRI the current byte is tri stated B7 BO indicate the state of each bit of the currently displayed byte Lit indicates the bit is high TTL logic 1 BYTE indicate which of the six bytes the bit LEDs B7 BO LEDs are currently displaying as follows Byte LED status Selected Byte 2 Byte 1 Byte O 0 unlit unlit unlit 1 unlit unlit lit 2 unlit lit unlit 3 unlit lit lit 4 lit unlit unlit 5 lit unlit lit O Guaranteed 888 88 SOURCE www artisantg com SZ 10 enn yBiy sane 6513 8513 0513 5991 0009 9366 11 IBU191X8 OY JO eui seiioeds yz
8. 5 4 2 5 PAR DK CR LF Case 1 is the power up default condition which sets handshake lines as positive edge triggered Case 2 sets the DAV and DAK pulses as negative edge true leaving RFD and DRD in their previously programmed default state Case 3 sets all handshake lines negative edge triggered Case 4 sets the DAK and DRD strobes as positive edge triggered Case 5 sets the DAV and strobes as positive edge triggered and the DRD and DAK strobes as negative edge triggered CAPAS 3 14 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 3 aia M Command Q Query Status Syntax 06 Purpose The Query Status command returns the status of various hardware and software states Description s one of the following letters which specifies what is to be returned A returns an ASCII error message see the N parameter D returns the state of the external Data Ready Strobe O indicates the handshake has not occurred and 1 indicates it has returns the programmed state of the VXIbus Request True interrupts and which conditions were active at the time the VX4801 s commander last acknowledged an interrupt from the module The response is formatted as a two character hexadecimal string Bit O represents a programming error bit 2 is RFD and Bit 3 is DRD A 1
9. 5191 8 eoeds IUM Buimojo aui jo S wog aseo JO 19ddn 13443 ui JUAS aq J930e18y9 pansst ay uo Buipuadap 199443 aq 91215 pawweiBosd 152 5 10 91636 ynejap si B utu SI 1 e y S ay pajnoaxa pue peAie2e Aay ay ur uo 2 ji pasouBi SI pue 19128 840 e2gds se pajeali 2 Y uojoo iues e lt 41 p234 Jaya pue jsnw puewwoo S19198J842 662 01 dn jo Bums e jo sisisuoo yoey SE SI 9INPOW LOBPXA XVINAS GNVWINOD ay 10 xe3u S pue 02010 puewwog e U l 5 J PUBLULUOD SJ o sn e1s SI ji SNLYLS QV3u SY 000 01d sj LANTOS JIM ay 10001099 os euop ApeeJje sey y J uoneiedo jim ejnpour ay NOILLVH3dO TVIWYON NI938 pj92 LOBPXA 941 uo 399449 ou seu HIOOIYL po12ojjeun aye suone1edo 1u811nO Buipued Aue pue SNQIXA SI SIGA ejnpotu ey yv319 9 npotu eui 129 Je S LOBPXA eui Aq pejeniui 918 gyep uou 0903014 JUBWINI
10. A rtisan tisan Technology Group is your source for quality Technology Group new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equipment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment 7 EQUIPMENT DEMOS HUNDREDS OF Instra REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com 7 information on price quotations drivers technical LEASING MONTHLY specifications manuals and documentation RENTALS ITAR CERTIFIED CEP BAD LE Contact 888 88 SOURCE sales artisantg com www artisantg com User Manual Tektronix VX4801 Programmable Digital I O Module 070 9153 03 Z This document applies for firmware version 1 00 and above Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Copyright Tektronix Inc rights reserved Tektronix products are covered by U S and foreign patents issued and pending Information in this publication supercedes that in all previously published material Specifications and price c
11. in any of these bit positions indicates the interrupt is enabled while a 1 in bit positions 4 6 and 7 indicate respectively which conditions were active when the interrupt was acknowledged Bit 7 is the most significant bit of the first hexadecimal character L returns the programmed state of the external tri state inputs The response is formatted as a two character hexadecimal string 00 through 3F A 1 in a bit position represents tri state level active high and a O active low Bit O 01 represents byte O bit 5 20 represents byte 5 M returns the module s programmed mode The response is formatted as a two character hexadecimal string 00 3F A 1 in a bit position represents an output and a 0 an input Bit O 01 represents byte O bit 5 207 represents byte 5 N returns an ASCII 00 99 numeric error code The codes and their messages are shown in the Error Responses listing at the end of this command description P returns the program selected edge of the external handshake signals and whether or not a handshake signal is active The response is formatted as a two character hexadecimal string OO 3F Bit O represents bit 1 RFD bit 2 DAV and 3 DAK A T in the bit position represents negative edge triggered and a O represents positive edge triggered Bits 4 and 5 indicate whether the input and output RFD handshakes respectively are enabled 1 enabled O disabled
12. 3 ground 4 ground 5 Data Available input 6 Data Acknowledge output 7 byte O bit O LSB 8 byte O bit 1 9 byte O bit 2 10 byte O bit 3 11 byte O bit 4 12 byte O bit 5 13 byte O bit 6 14 byte O bit 7 MSB 15 ground 16 External Tri State input for byte O 17 External Tri State input for byte 3 18 ground 19 External Tri state input for byte 1 20 byte 1 bit O LSB 21 byte 1 bit 1 22 byte 1 bit 2 23 byte 1 bit 3 24 byte 1 bit 4 25 byte 1 bit 5 26 byte 1 bit 6 27 byte 1 bit 7 MSB 28 ground 29 ground 30 byte 2 bit O LSB 31 byte 2 bit 1 32 byte 2 bit 2 33 byte 2 bit 3 34 byte 2 bit 4 35 byte 2 bit 5 36 byte 2 bit 6 37 byte 2 bit 7 MSB RE VX4801 A 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix 8 __________ _ Pinouts 53 38 ground 39 External Tri State input for byte 2 40 ground 41 ground 42 byte 3 bit O LSB 43 byte 3 bit 1 44 byte 3 bit 2 45 byte 3 bit 3 46 byte 3 bit 4 47 byte 3 bit 5 48 byte 3 bit 6 49 byte 3 bit 7 5 50 ground S4 1 ground 2 ground 3 byte 4 bit O LSB 4 byte 4 bit 1 5 byte 4 bit 2 6 byte 4 bit 3 7 byte 4 bit 4 8 byte 4 bit 5 9 byte 4 bit 6 10 byte 4 bit 7 5 11 ground 12 External Tri State input for byte 4 13 External Tri State input for byte 5 14 ground 15 ground 16 byte 5 bit O LSB 17 byte 5 bit 1 18 byte 5 bit 2 19 byte 5 bit 3 20 byte 5 bit 4 21 byte 5 bit 5 22
13. CALL ENTER R LENGTH96 ADDRESS STATUS The CALL ENTER statement inputs data into the string R from the IEEE 488 instrument whose decimal primary address is contained in the variable ADDRESS 6 Following the input the variable LENGTH contains the number of bytes read from the instrument The variable STATUS contains the number O if the transfer was successful or an 8 if an operating system timeout occurred in the PC Prior to using the CALL ENTER statement the string R must be set to a string of spaces whose length is greater than or equal to the maximum number of bytes expected from the VX4801 CALL SEND ADDRESS WRT STATUS The CALL SEND statement outputs the contents of the string variable WRTS to the IEEE 488 instrument whose decimal primary address is contained in the variable ADDRESS Following the output of data the variable STATUS contains a O if the transfer was successful and an 8 if an operating timeout occurred in the PC END Terminates the program FOR NEXT Repeats the instructions between the FOR and NEXT statements for a defined number of iterations GOSUBn Runs the subroutine beginning with line n EX GOSUB 750 runs the subroutine beginning on line 750 The end of the subroutine is delineated with a RETURN statement When the subroutine reaches the RETURN statement execution will resume on the line following the GOSUB command GOTO n Program branches to line n EX GOTO 320 directs execution to
14. but that may provide other services such as CLK100 SYNC100 STARBUS and trigger control See Shared Memory Protocol Two 2 bi directional 50 ohm differential ECL lines that provide for inter module asynchronous communication These pairs of timed and matched delay lines connect slot O and each of slots 1 through 12 in a mainframe The delay between slots is less than 5 nanoseconds and the lines are well matched for timing skew Two 2 bi directional 50 ohm differential ECL lines that provide for inter module asynchronous communication These pairs of timed and matched delay lines connect slot O and each of slots 1 through 12 in a mainframe The delay between slots is less than 5 nanoseconds and the lines are well matched for timing skew STart STop protocol used to synchronize modules A Slot O signal that is used to synchronize multiple devices with respect to a given rising edge of CLK100 These signals are individually buffered and matched to less than 2ns of skew A communications system that follows the command response cycle model In this model a device issues a command to another device the second device executes the command then returns a response Synchronous commands are executed in the order received A signal line on the VMEbus that is used to indicate a failure by a device The device that fails asserts this line A functional module that provides a 16 MHz timing signal on the Utility Bus o aa a A
15. or LO Load Override output L b o d LO b o d The Load Output command specifies the data bytes to be output the sequence in which it is be output and any masks which are to be overlaid onto the data prior to output by the module The Load Override command provides the capability to output a different sequence of bytes one time without destroying the last defined L command output sequence L load output command LO load override b one to six digits which specify the byte number O through 5 or for all bytes one or more of the following letters which specify various parameters D Load the data specified by d to the specified output 5 5 Set the bit indicated by d to a logic high the eight bits of a byte are defined as 00 through 07 with bit 00 being the least significant bit R Reset the bit indicated by d to a logic low the eight bits of a byte are defined as 00 through 07 with bit 00 being the least significant bit the data specified by to the specified output byte s OR the data specified by d to the specified output byte s x XOR the data specified by d to the specified output byte s d ASCII value 00 through FF required with o Note that d is an 8 bit wide byte value if the o parameter is a D or X and a bit number if the 0 parameter is an 5 or R optional character allowed to make the command more readable Default NON
16. possibly other message based protocols MODID Lines Module system identity lines Physical Address The address assigned to a backplane slot during an access Power Monitor device that monitors backplane power and reports fault conditions P1 The top most backplane connector for a given module slot in a vertical mainframe such as the Tektronix VX1400 The left most backplane connector for a given slot in a horizontal mainframe P2 The bottom backplane connector for a given module slot in a vertical C size mainframe such as the VX1400 or the middle backplane connector for a given module slot in a vertical D size mainframe such as the VX1500 P3 The bottom backplane connector for a given module slot in a vertical D size mainframe such as the Tektronix VX1500 Query A form of command that allows for inquiry to obtain status or data READY Indicator A green LED indicator that lights when the power up diagnostic routines have been completed successfully An internal failure or failure of 5 volt power will extinguish this indicator Register Based Device A VXIbus device that supports VXI register maps but not high level VXlbus communication protocols includes devices that are register based servant elements Requester A functional module that resides on the same module as a Master or Interrupt Handler and requests use of the DTB whenever its Master or interrupt Handler requires it Resource Manager A VXlIbus device that provides c
17. unused mainframe slots must be covered with the blank front panels supplied with the mainframe Based on the number of instrument modules ordered with the mainframe blank front panels are supplied to cover all unused slots Additional VXIbus C size single slot and C size double slot blank front panels can be ordered from your Tektronix supplier Verify that the mainframe is able to provide adequate cooling and power with this module installed Refer to the mainframe Operating Manual for instructions VX4801 2 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 2 rr ana aan If the VX4801 is used in a Tek CDS VXI Series Mainframe ali VX4801 cooling requirements will be met Installation Procedure 1 2 3 The VX4801 Module is piece of electronic equipment and therefore has some susceptibility to electrostatic damage ESD ESD precautions must be taken whenever the module is handled Record the module s Revision Level Serial Number located on the label on the top shield of the VX4801 and switch settings on the Installation Checklist Only qualified personnel should install the VX4801 Module Verify that the switches are switched to the correct values The Halt switch should be in the ON position unless it is desired to not allow the resource manager to reset this module Note that with either Halt switch position a hard reset will occur
18. 5 Power up default WH WH IH IH 1 2 M30 WH OH IH WH 3 M105L lt CR gt LF IL VL IH OH IH IL 4 M0120H345IL lt LF gt OH IL VL IL 5 M OL CR LF OL OL OL OL OL 6 M23I H or O H WH O H O H M231 H ___________ 3 12 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 VX4801 Case 1 is the power up default state Case 2 sets up byte 3 as an output Since the logic sense was not specified it remains in its previously programmed default state A is used to delimit this command Case 3 sets up bytes 1 O and 5 as active low All other bytes remain in their previously programmed state lt LF gt is used to delimit this command The CR is ignored Case 4 sets up bytes 0 1 and 2 as outputs active high and bytes 3 4 and 5 as inputs active low lt LF gt is used to delimit this command Case 5 sets all bytes to outputs active low For this command the LF is again the delimiter and the CR is ignored Case 6 sets up bytes 2 and 3 as inputs and all bytes as active high The variation of the command with the delimiter illustrates that the 1 portion of the argument is omitted in the first part of the command and the m portion of the argument is omitted in the second part of the command Artisan Techn
19. AS OUTPUTS M O 390 GOSUB 1650 UN TRI STATE ALL OUTPUTS 400 SET READ BACK DATA FORMAT I ALL BYTES 410 EXPECTED DATA IS 000000000000 420 430 WRTS L D55 LOAD OUTPUT BYTES WITH HEX55 440 GOSUB 1650 THE RESPONSE SHOULD BE 555555555555 450 THE LED S ON THE FRONT PANEL WILL DISPLAY 460 HEX55 FOR ALL BYTES EXPECTED DATA 15 470 555555555555 480 490 WRT 001122334455 IMPLICIT LOAD DATA NO COMMAND OR 500 GOSUB 1650 TERMINATOR IS NEEDED OUTPUT A 510 00 11 22 33 44 55 TO BYTES 0 THROUGH 6 520 RESPECTIVELY EXPECTED DATA IS 530 001122334455 540 550 WRT L1D01 50DFA 2D20 4D88 3DCC 560 GOSUB 1650 OUTPUT A HEX 01 TO BYTE 1 A HEX FA TO 570 BYTES 0 AND 5 A HEX 20 TO BYTE 2 A 580 HEX 88 TO BYTE 4 AND HEX CC TO BYTE 3 590 THE DATA SHOULD READ FA0120CC88FA 600 THE OUTPUT DATA SEQUENCE IS NOW CHANGED 610 TO BYTES 2 0 3 5 4 AND 1 RESPECTIVELY 620 630 WRT 001122334455 IMPLICIT LOAD DATA PER CURRENT SEQUENCE 640 GOSUB 1650 EXPECTED OUTPUT IS 220033554411 650 660 WRTS LO1S04 USE LOAD OVERRIDE COMMAND SET BIT 4 AEB AA VX4801 4 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 a a _ 670 60508 1650 BYTE 1 HIGH WITHOUT AFFECTING THE IMPLICIT 680 OUTPUT SEQUENCE EXPECTED OUTPUT IS 690 221033554411 700 i 710 WRT L123 80 USE THE OR
20. IBERR IBCNT 60 70 BDNAMES PCX CALL IBFIND BDNAMES 80 IF PCX96 lt O THEN PRINT Ibfind has failed END 90 100 REM INITIALIZE SYSTEM 110 ADDR 5 CALL IBPAD PCX ADDR 120 130 CLS CLEAR CRT SCREEN 140 ADDR4801 5 GPIB ADDRESS OF VX4801 CARD 150 TMS CHRS 10 DEFINE THE LINE FEED TERMINATOR 160 WRTS TMS RESET VX4801 TO POWER UP CONDITION 170 GOSUB 1770 A ER 4 4 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 180A TIMER 1 WHILE A gt TIMER WEND 190 RD SPACES 80 READ THE DEFAULT MESSAGE FROM THE CARD 200 GOSUB 1810 SHOULD RESPOND WITH READY 210 PRINT THE DEFAULT MESSAGE 220 LPRINT DEFAULT MESSAGE gt LEFTS RDS LEN RD 2 230 PRINT DEFAULT MESSAGE gt LEFTS RDS LEN RDS 2 240 250 WRTS S QA TMS ISSUE A SELF TEST S AND READ RESULT 260 USING QUERY QA A SEMI COLON IS USED 270 AS COMMAND TERMINATOR FOR S COMMAND AND 280 LINE FEED AS TERMINATOR FOR COMMAND 290 GOSUB 1770 300 RD SPACE 80 READ SELF TEST RESULTS FROM THE CARD 310 GOSUB 1810 THE RESPONSE SHOULD BE NO ERRORS 320 PRINT THE SELF TEST RESULTS 330 LPRINT SELF TEST RESULTS gt RD 340 PRINT SELF TEST RESULTS gt RDS 350 360 PRINT PRINT EXECUTING TEST 370 TESTNUM 1 380 WRTS M O T I I DEFINE ALL BYTES
21. LEDs indicate the status of power assertion of the VMEbus signal SYSFAIL backplane cycles data handshake signals and individual O bits In addition the Query command can be used to determine the current state of the module during operation Note that certain terms used in this manual have very specific meanings in the context of a VXIbus System These terms are defined in the VXibus Glossary Appendix C Io ei 1 2 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 LOGICAL ADDRESS Uso Figure 1 VX4801 Controls and Indicators A _ VX4801 1 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 Controis And Indicators The following controls and indicators are provided to select and display the functions of the VX4801 Module s operating environment See Figures 1 and 2 for their physical locations Switches Logical Address Switche LOGICAL ADDRESS Each function module in a VXIbus System must be assigned a unique logical address from 1 to 255 decimal The base VMEbus address of the VX4801 is set to NINA a value between 1 and FFh 255d by two hexadecimal rotary switches Align the wo s desired switch position with the arrow on the module shield The actual ph
22. R returns the state of the external Ready for Data Strobe O indicates the handshake has not occurred and 1 indicates it has ae VX4801 3 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 o aa 5 returns the programmed logic sense for each byte The response is formatted as a two character hexadecimal string OO through 3F 1 represents logical low true and a O represents logical high true Bit O 01 represents byte O bit 5 20 represents byte 5 T returns the actual current tri state condition of each output byte the OR of each byte s external tri state control line and its tri state condition as programmed by the T command The response is formatted as a two character hexadecimal string 00 3F Bits O through 5 represent bytes O through 5 For example bit 017 represents byte O bit 5 20 represents byte 5 1l in a bit position indicates the corresponding byte is tri stated For the OR and OD commands once the command has been issued subsequent input requests will continuously return the respective information until overridden by another Q command by an command or by reset or self test if an error is queued while the command or any O command other than QA or QN is the active input request mode the module will respond with a QE CR LF until either a QA or ON command is issued to acknowledge the e
23. SU snqix A SUNYWWOD W31SAS amang Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Table of Contents Section 1 General Information and Specifications A s AGE AA kaykaa 1 1 Controls And Indicators 1 4 SWIIClOS 1 4 AE AA AA 1 5 LEDS a AA Nase 1 6 BITE Built In Test Equipment 1 1 7 AA AA esa 1 9 Specifications sce RR RE Re eee pegs kausa agua gas cep asp ars be Cuna h 1 10 Section 2 Preparation For Use Installation Requirements And Cautions 2 1 Installation a eta DER ie eee Rate t BL a 2 2 Installation 2 4 Section 3 Operation Qus 3 1 aod pP 3 2 System Commands 3 2 Module Operation 2 2 3 2 Command Syntax 3 2 Command 3 3 Command Descriptions 3 5 SYSFAIL Self Test and Initialization 3 26
24. This LED lights when the external device strobes ready for data indicating it is ready for more data It is cleared when new data is output by the module DAV Indicates the level of the Data Available handshake signal This LED lights when the DAV line is low It clears when the DAV line goes high kt BZ rk aQ HH A 1 6 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 AA U DRD Indicates the state of the Data Ready handshake signal This LED lights when the external device strobes data ready indicating new input is valid It is cleared when the controller reads the input data DAK Indicates the level of the Data handshake signal This LED lights when the DAK line is low It is cleared when the DAK line is high BYTE Three LEDs that indicate which of the six bytes O through 5 the bit LEDs B7 BO LEDs are currently displaying as follows Byte LED status Selected Byte 2 Byte 1 Byte 0 0 unlit unlit unlit 1 unlit unlit lit 2 unlit lit unlit ERR Indicates a programming error has occurred This LED will remain lit until the error condition is cleared uo Indicates the programmed input output state of the current byte being displayed The LED is lit if the byte is programmed as an output and unlit if programmed as an input byte TRI indicates the tri
25. 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 V XIbus 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 c
26. and all programmed module parameters are reset to their default values If the Halt switch is in the OFF position the module will ignore the Reset bit and no action will take place Note that the module is not in strict compliance with the VXIbus Specification when the Halt switch is OFF Control of the Reset bit depends on the capabilities of the VX4801 s commander With a Tek CDS VX4521 for example the Reset bit is set if the VX4521 is programmed with a RESET command via the 488 bus Byte Select Switch The Byte Select Switch located on the front panel is a momentary action switch that controls which of the six I O bytes is currently being displayed on the LEDs Each time the switch is depressed the state of the next byte in sequence is displayed on the LEDs For example if the state of byte O is currently displayed the state of byte 1 will be displayed after the switch is depressed The BYTE LEDs wili display the number of the selected byte see BYTE in the listing of LEDs below Fuses The VX4801 Module has a single 5V fuse The fuse protects the module in case of an accidental shorting of the power bus or any other situation where excessive current might be drawn VX4801 1 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 eal If the 45V fuse opens the VXIbus Resource Manager will be unable to assert SYSFAIL INHIBIT on this module to disable S
27. at power on and when SYSRST is set true on the VXIbus backplane if the module s commander is a VX4520 or VX4521 Slot O Device Resource Manager SYSRST will be set true whenever the Reset switch on the front panel of the VX4520 or VX4521 is depressed Also note that when the Halt switch is in the OFF position the module is not in strict compliance with the VXIbus Specification The module can now be inserted into any slot of the chassis other than slot O If the VX4801 Module is inserted in a slot with any empty slots to the left of the module the VME daisy chain jumpers must be installed on the backplane n order for the VX4801 Module to operate properly Check the manual of the mainframe being used for jumpering instructions if a Tek CDS VX1400 or VX1401 Mainframe is being used the jumper points may be reached through the front of the mainframe There are five 5 jumpers that must be installed for each empty slot The five jumpers are the pins to the left of the empty slot _______ VX4801 2 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 2 Figure 3 Module installation 4 Installation of Cables If the module is being installed in a Tek CDS VX1400 or VX1401 Mainframe route the cables from the front panel of the module down through the cable tray at the bottom of the mainframe and ou
28. edges of the handshake signals and whether the handshake s are active the logic sense of each latch the programmed external tri state level of each latch The Reset command resets the board to its power up state E a VX4801 3 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 3 A A ee ee SS SSS 5 The Self Test command causes the module to execute self test and then return to its power up state T The Tri state Control command specifies whether the output bytes are tri stated high impedance or active This command is logically OR ed with the external tri state lines U The Update command specifies the conditions for which the inputs and outputs are updated update on command or update on external handshake control VER The Version command returns the current software revision level of the board X The X command is used to enable or disable the VXI Request True interrupt This interrupt can be programmed to be active when an error occurs when either external handshake is valid DRD RFD or when any combination of the three occurs 2 The Tri state Level command specifies the active level of the external tri state control lines ETSO ETS5 active high true or active low true A detailed description of each command in the same order as listed above is given on the following pages The syntax used in
29. 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 lt cr gt Equipment Requirements Loop back assembly item 3 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 mboh L5d55 tb5i b Setthe 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 m2ohl3ih t i c Setthe 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 O 0 and consequently that there is no data byte 3 2
30. flagged and the command ignored If the b parameter is omitted the command will have no effect The o and d parameters are optional However if 0 is specified without d an Invalid Hex Value error will be generated If an invalid parameter is specified an Invalid Load Command error will be generated Note that when using the RFD external handshake the most recent data received by the module is always the next to be output If two L commands or two full buffers of data are received before a strobe occurs the first data will be lost and the most recent data will be output To prevent this overwriting of data read the state of Ready For Data RFD with the OR command see Query Status command before sending additional data to the module If the data reported back by the OR command is a O then the last data output has not yet been accepted by the external device If a 1 is reported back then the outputs be updated with no loss of data The following examples show how a sequence of L commands and data will be output VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 M Case Command 22 Output Data Bytes hex 0 1 2 3 4 5 OO 1 Power up default none x 2 00 00 00 00 00 00 3 L D55 CR LF 0 1 2 3 4 5 55 55 55 55 55 55 4 001122334455 0 1 2 3 4 5 00 11 22 33 44 55 5 L1D0150DFA2D204D883DCC LF
31. 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 55 55 55 response and then reverse the logic sense of the even and odd bytes and verify the complementary response of 55AA55AA55 ibwrt r m024iL1350h L135d55 t i ibwrt i ibrd 100 Observe 55 55 55 ibwrt m024ih135oL ibwrt i ibrd 100 Observe 55AA55AAS5AA 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 pull up to 5 V which will appear as a high logic level when the in tri state mode Equipment Requirements Loop back assembly item 3 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 A 28 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 d
32. of inputs outputs and handshake lines can be set to either active high or active low under program control The active edge can also be programmed for handshake lines Ail 1 lines are both TTL and CMOS compatible with up to 24 mA of sink current provided for each output The 1 0 section of the module is fully isolated from system ground using opto isolators and an isolated power supply contained on the module External handshake control signals are provided for output and input data control Output data control signals are Ready For Data RFD Data Available DAV and External Tri State control ETSO ETS5 Input data control signals are Data Ready DRD and Data Acknowledge DAK The VX4801 provides full access to system status information which is especially helpful during system trouble shooting software de bugging and operational system checks At any time the system controller can read the state of the external handshake lines the programmed I O configuration the programmed active edges of ali handshake signals which handshake signals are active the programmed logic sense of each 1 byte the tri state condition of each output byte and up to date error data Built in Test Equipment BITE is provided on the module by an internal loop back path that allows the module to be tested with its outputs tri stated verifying 1 paths for each byte A self test is automatically performed on power up or upon command Front panei
33. spaces whose length is greater than or equal to the maximum number of bytes expected from the VX4801 CALL SEND ADDRESS Jb OUTS STATUS Outputs the contents of the string variable OUT to the IEEE 488 instrument whose decimal primary address is in the variable ADDRESS The variable STATUS is a O if the transfer was successful and an 8 if an operating timeout occurred in the PC END Terminates the program FOR NEXT Repeats the instructions between the FOR and NEXT statements for a defined number of iterations GOSUB n Runs the subroutine beginning with line n The end of the subroutine is marked with a RETURN statement When the subroutine reaches the RETURN statement execution will resume on the line following the GOSUB command GOTO n Program branches to line n IF THEN Sets up a conditional IF THEN statement Used with other commands so that IF the stated condition is met THEN the command following is effective REM or All characters following the REM command or a are not executed RETURN Ends a subroutine and returns operation to the line after the last executed GOSUB command CR Carriage Return character decimal 13 LF Line Feed character decimal 10 Artisan Technology Group Quality Instrumentation VX4801 PROGRAMMABLE DIGITAL 1 0 MODULE QUICK REFERENCE GUIDE Numbers in parentheses refer to the 5 in the Operating Manual aaa Be sure all switches are correctly set p 1
34. this interrupt will cause a Service Request SRQ to be generated on the IEEE 488 bus ID Device Type Status Control Protocol Response Data Low See Appendix A for definition of register contents FADE ones complement of binary value of model number with bit 11 set low required dc power is provided by the Power Supply in the VXIbus mainframe 5 Volt Supply 4 75V dc to 5 25V dc ai aa a a 1 12 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 2 Preparation For Use Installation Requirements And Cautions The VX4801 Module is a C size VXIbus instrument module and therefore be installed in any C or D size VXIbus mainframe slot other than slot O If the module is being installed in a D size mainframe consult the operating manual for the mainframe to determine how to install the module in that particular mainframe Setting the module s logical address switch defines the module s programming address Refer to the Controls and indicators subsection for information on selecting and setting the VX4801 Module s logical address Tools Required The following tools are required for proper installation Slotted screwdriver set Note that there are two printed ejector handles on the card avoid installing the card incorrectly make sure the ejector marked VX4801 is at the top In order to maintain proper mainframe cooling
35. via the VXIbus Byte Available command module specific commands made up of ASCII characters Module specific data may be in either ASCII or binary format VMEbus Interface Data transfer bus DTB slave A16 D16 only VX4801 m Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 BENE _ ___ _ Interrupt Level Interrupt Acknowledge VXlIbus Data Rate VXIbus Commands Supported VXIbus Protocol Events Supported VXlIbus Registers Device Type Register Contents Power Requirements Voltage Switch selectable levels 1 highest priority through 7 lowest D16 lower 8 bits returned are the logical address of the module Write 20 Kbytes sec maximum Read 400 Kbytes sec maximum VXIbus commands are accepted e g DTACK will be returned The following commands have effect on this module ail other commands will cause an Unrecognized Command Event BYTE AVAILABLE with or without END bit set BYTE REQUEST BEGIN NORMAL OPERATION READ PROTOCOL READ STATUS CLEAR GRANT DEVICE TRIGGER SET LOCK CLEAR LOCK IDENTIFY COMMANDER These commands are accepted but have no effect on the module VXIbus events are returned VME interrupts The following events are supported and returned to the VX4801 Module s commander REQUEST TRUE In IEEE 488 systems such as the VX4801
36. 0 WRTS 719 READ BACK DATA WITHOUT AND MASKS 1400 GOSUB 1650 EXPECTED DATA IS 001122334455 1410 1420 WRTS 103X11 USE INPUT OVERRIDE TO READ BYTE 3 XOR ED 1430 GOSUB 1650 WITH AN 11 HEX WITHOUT AFFECTING THE 1440 INPUT SEQUENCE DATA EXPECTED IS 22 1450 1460 WRTS READ BACK DATA WITHOUT ISSUING A COMMAND 1470 GOSUB 1650 IMPLICIT READ NOTE THAT THE PREVIOUS 1480 OVERRIDE COMMAND HAS NO EFFECT DATA 1490 EXPECTED IS 001122334455 1500 1510 WRTS 1543012 REDEFINE THE INPUT SEQUENCE 5 4 3 0 1 2 1520 60508 1650 DATA EXPECTED IS 554433001122 1530 1540 WRTS 10455 1XAA 2345 USE INPUT OVERRIDE TO READ BYTE 1 XOR ED 1550 GOSUB 1650 WITH AN AA ALONG WITH BYTES 2 3 4 5 1560 EXPECTED DATA IS BB22334455 1570 1580 LPRINT LPRINT 20 END OF TEST 1590 PRINT INPUT PRESS ENTER TO EXIT TEST AND RETURN TO DOS DUMMYS 1600 SYSTEM 1610 1620 END 1630 1640 _ VX4801 4 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 ___________ _ 1650 SUB FUNCTION OUTPUTS CONTENTS OF WRTS TO VX4801 AND READS DATA 1660 FROM THE MODULE INTO THE STRING RD INPUT AND OUTPUT 15 1670 OUTPUT TO A PRINTER 1680 1690 GOSUB 1770 1700 RD SPACE
37. 00 ibwrt i1801 3 ibrd 100 Observe 0000 and VX4801 DAV light off VX4801 Programmable Digital I O Module A 31 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 12401 Observe VX4801 DAV light on 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 i1801 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 A 32 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 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 1s strobed in with DRD from the slave the VX4801 will in turn generate the but only after the controller has read the data byte set VX4801 ibwrt r p urd m5ih t5i Se
38. 004H Defined by state of interface Offset 0006H WO Not used Protocol 0008H RO 11110111 1111 1111 F7FFh Response Defined by state of the interface Data High 000CH Not used Data Low w See Data Low definition below Data Low 000EH R See Data Low definition below man AAA A A 2 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix BIT DEFINITIONS Register Bit Location ID 15 14 13 12 11 0 Device Type 15 0 Status 15 14 Control 15 14 2 Protocol 15 14 13 12 11 10 9 4 Response 15 14 13 Bit Usage Device Class Address Space Manufact ID Device Type A24 32 Active MODID Device dependent Ready Passed Device dependent A24 32 Enable Device dependent SYSFAIL Inhibit Reset CMDR Signal Reg Master Interrupter FHS Shared Memory Reserved Device dependent Defined value of O Reserved DOR DIR ERR VX4801 Value 10 11 1111 1111 1100 VX4801 Usage Message Based A16 only Tek CDS 1111 0100 1101 1110 Ones comp of 801 x 1 0 XX XXXX XXXX 0 or 1 1 0 XX x XX XXXX XXXX XX 1 0 O _ 11 1111 1111 2220 Not used MODID line not active MODID line active Not used Per Spec Passed VXI Interface failure Not used No effect Not used Disables module from driving Sysfail Enables module to drive Sy
39. 01 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 486 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 V X4801 ERR light is on VX4801 Programmable Digital I O Module A 25 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix E Performance Verification 0 Observe VX4521 Slot 0 indicates S in 2nd digit NOTE The zero length read serves to un address the Slot O controller which allows it to detect the VXIbus interrupt and assert the 5 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
40. 1 WRT STATUS 310 ISSUE A SELF TEST S AND READ RESULT 320 USING QUERY QA A SEMI COLON IS USED 330 AS COMMAND TERMINATOR FOR S COMMAND AND 340 LINE FEED AS TERMINATOR FOR COMMAND 350 360 60508 840 READ THE DEFAULT MESSAGE CARD SHOULD 370 RESPOND WITH NO ERRORS 380 PRINT THE SELF TEST RESULTS 390 PRINT SELF TEST RESULTS gt RD 400 410 WRT M O T l L D55 TM DEFINE ALL BYTES AS OUTPUTS M O 420 UN TRI STATE ALL OUTPUTS TH 430 LOAD ALL OUTPUT BYTES WITH HEX55 440 CALL SEND ADDRESS4801 6 WRT STATUS 96 450 THE LED S ON THE FRONT PANES WILL DISPLAY 460 HEX55 FOR ALL BYTES 470 WRTS 2 I 5 READ BACK DATA USING I COMMAND 480 CALL SEND ADDRESS4801 96 WRT STATUS 96 490 GOSUB 840 READ THE DATA BACK 500 PRINT THE DATA IS gt RD PRINT THE DATA READ 510 THE DATA SHOULD READ 555555555555 520 WRTS 778899 TMS LOAD OUTPUTS WITH 77 88 99 AA BB CC 530 TO BYTES 0 THROUGH 5 RESPECTIVELY 540 CALL SEND ADDRESS4801 936 WRT STATUS 96 550 GOSUB 840 READ THE DATA BACK 560 PRINT THE DATA IS RD PRINT THE DATA READ 570 THE DATA SHOULD READ 778899AABBCC 580 PRINT End Of Test PRINT PRINT 590 END 600 610 620 SUB ROUTINE IDENTIFIES THE MEMORY LOCATION 630 CEC IEEE 488 INTERFACE CARD ROM 640 650 FOR amp H40 TO amp HEC STEP amp H4 660 FAILED 0 DEF SEG I amp H100 VX
41. 4801 4 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 al 670 IF CHRS 50 lt gt THEN FAILED 1 680 IF CHRS PEEK 51 lt gt E THEN FAILED 1 690 IF CHRS PEEK 52 lt gt C THEN FAILED 1 700 IF FAILED O THEN CECLOC I amp H100 710 NEXT I 720 RETURN 730 740 750 SUB ROUTINE FOR SERIAL POLL 760 IEEE 488 INSTRUMENTS 770 780 CALL SPOLL ADDRESS4801 SPOLL STATUS 790 IF POLL lt gt O THEN PRINT SERIAL POLL RETURNED gt 7 POLL GOSUB 750 800 IF POLL O THEN PRINT SERIAL POLL RETURNED gt POLL 810 RETURN 820 830 840 SUB ROUTINE FOR READING DATA FROM 850 IEEE INSTRUMENTS 860 870 RDS 80 ALLOCATE SPACE FOR THE INPUT STRING VARIABLE 880 CALL ENTER RD LENGTH ADDRESS4801 6 STATUS 890 808 LEFTS RD LENGTH96 TRIM STRING TO LENGTH 900 RETURN Example 2 10 CLEAR 60000 IBINIT1 60000 IBINIT2 IBINIT1 3 BLOAD bib m IBINIT1 20 CALL IBINIT1 IBFIND IBTRG IBCLR IBPCT IBSIC IBLOC IBPPC IBBNA IBONL IBRSC IBSRE IBRSV IBPAD IBSAD IBIST IBDMA IBEOS IBTMO IBEOT IBRDF IBWRTF IBTRAP IBDEV IBLN 30 CALL IBINIT2 IBGTS IBCAC IBWAIT IBPOKE IBWRT IBWRTA IBCMD IBCMDA IBRD IBRDA IBSTOP IBRPP IBRSP IBDIAG IBXTRC IBRDI IBWRTI IBRDIA IBWRTIA IBSTA IBERR IBCNT 96 40 50 COMMON SHARED NISTATBLK IBSTA
42. D command or reset or self test if external Data Ready Strobe has been defined as the condition to latch input data into the card and no strobe has been received since the last input request an N CR LF will be returned for both the and IO commands indicating no new data is available The state of the data returned represents the logic sense programmed with the mode M command If an command is issued with no arguments b is omitted the sequence will be cleared and the module will respond with a CR lt LF gt only If o and d are omitted the command specifies data in its new input form If o is specified without d an Invalid Input Command error will be generated If any error is queued the module will respond with a lt CR LF on the subsequent input requests NOTE responses from the and 10 commands are terminated in CR LF Example The example cases on the following page show how a sequence of commands and implicit inputs will be reported each case assumes the fines are at OO 11 22 33 44 and 55 for bytes O to 5 respectively A A 3 6 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 Case Command Module Response 1 Power up State 0 1 2 3 4 5 001122334455 CR LF 2 1123 lt LF gt 1 2 3 112233 lt CR gt lt LF gt 3 read command 1 2 3 112233 x CR LF
43. E all bytes are initially defined as inputs M command set to TTL logic 0 and tri stated T command The bytes can be programmed in any order and once programmed the setup remains valid unless specifically overridden by another L command by redefining the configuration M command or by a reset or self test command If any bytes are not programmed they will remain in their default or previously programmed state The Set Reset and Mask parameters S R X and 8 all operate on the last data output to a byte s and are valid only for the current command Typical use of the L command specifies an output byte and the data to be output For example L2D55 specifies that a 55 hex is to be output to byte 2 Once an output sequence has been defined with the L command ASCII hex data 00 FF may be written to the module without additional L commands The order in which the outputs were specified in the last Load command defines an 111 3 8 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 3 Example output sequence For example L321055 specifies that a 55 is to be output to bytes 3 2 and 1 This command also defines the output sequence to be bytes 3 2 1 ASCII hex data sent to the module will then be buffered until the amount of data received matches the amount required by the output sequence All bytes are thus phys
44. Guaranteed 888 88 SOURCE www artisantg com Section 1 Glossary A glossary of VXIbus terms is provided in Appendix In addition the following terms specific to the VX4801 Module are defined External Handshake Controls Output Data Ready For Data RFD Ready For Data is an input from an external device indicating it is ready for data This signal is programmable to be either positive or negative edge triggered true Data Available DAV Data Available is an output to an external device indicating valid data is available on the outputs This signal is programmable to be either positive or negative edge triggered true External Tri State control ETSO ETS5 Six external tri state control lines are provided one for each of the six bytes These lines are inputs from an external device which cause the corresponding byte to go into tri state high impedance The tri state control lines are programmable to be either active high or active low input Data Control Data Ready DRD Data ready is an input from an external device indicating valid data is at the inputs This signal is programmable to be either positive or negative edge triggered true Data Acknowledge DAK Data acknowiedge is an output to an external device indicating the input data has been accepted This signal is programmable to be either positive or negative edge triggered true E aS e mr J E VX4801 1 9 Artisan Technology Gro
45. MASK TO SET BIT 7 OF BYTES 1 720 GOSUB 1650 2 AND 3 THE NEW LOAD SEQUENCE IS NOW 730 DEFINED AS 1 2 3 EXPECTED DATA IS 740 229083054411 750 760 WRT 001122 OUTPUT 00 11 22 HEX TO BYTES 1 2 AND 3 770 GOSUB 1650 EXPECTED READBACK IS 220011224411 780 790 WRTS 71150243 REDEFINE OUTPUT SEQUENCE 1 5 0 2 4 3 800 GOSUB 1650 EXPECTED READBACK IS 220011224411 810 820 WRTS 001122334455 OUTPUT DATA PER NEW SEQUENCE 830 GOSUB 1650 EXPECTED READBACK IS 220033554411 840 850 WRTS L D33 OUTPUT HEX 33 TO ALL BYTES AND REDEFINE 860 GOSUB 1650 SEQUENCE TO 0 1 2 3 4 5 EXPECTED 870 READBACK IS 333333333333 880 890 WRTS LOSO2 1R04 2 amp 22 3X22 4 44 900 60508 1650 SET BIT 2 OF O RESET BIT 4 OF 1 910 A 22 HEX TO BYTE 2 22 HEX TO 920 BYTE 3 AND OR A 44 HEX TO BYTE 4 930 EXPECTED READBACK 15 372322117733 940 950 WRTS 0011 OUTPUT DATA PER NEW SEQUENCE NOTE THAT 960 GOSUB 1650 DATA IS NOT OUTPUT UNTIL THE REQUIRED NUMBER 970 OF BYTES IS RECEIVED EXPECTED READBACK IS 980 372322117733 990 1000 WRTS 223344 FILL OUT THE REQUIRED DATA EXPECTED 1010 GOSUB 1650 READBACK IS 001122334433 1020 1030 WRTS 71041055 USE LOAD OVERRIDE COMMAND TO SET BYTES 4 1 1040 GOSUB 1650 55 HEX EXPECTED READBACK 15 1050 005522335533 1060 1070 WRTS AABBCCDDEE OUTPUT AN AA BB CC DD A
46. ND EE HEX TO BYTES 1080 GOSUB 1650 0 THROUGH 4 RESPECTIVELY EXPECTED 1090 READBACK IS AABBCCDDEE33 1100 1110 PRINT INPUT PRESS ENTER TO CONTINUE DUMMYS 1120 THE FOLLOWING LINES SHOW HOW THE INPUT l COMMAND 15 USED 1130 THEY FOLLOW LINES 2 THROUGH 10 OF THE EXAMPLE FOLLOWING THE 1140 INPUT COMMAND IN THIS MANUAL 1150 A aaa 4 6 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 _ 1160 CLS STEPNUM 2 1170 WRTS R M O T I L 001122334455 TMS DEFINE ALL BYTES AS OUTPUTS 1180 UN TRI STATED 1190 GOSUB 1770 1200 1210 WRTS I READ BACK THE STATE OF ALL BYTES 1220 GOSUB 1650 EXPECTED DATA IS 001122334455 1230 1240 WRTS 71123 READ BACK THE STATE BYTES 1 2 3 1250 60508 1650 EXPECTED DATA IS 112233 1260 1270 WRT READ BACK DATA WITHOUT ISSUING A COMMAND 1280 GOSUB 1650 IMPLICIT READ DATA EXPECTED IS 112233 1290 1300 WRT I amp 55 READ BACK DATA USING THE AND MASK 1310 GOSUB 1650 ALL BYTES ARE AND ED WITH 55 HEX 1320 EXPECTED DATA IS 001100114455 1330 1340 WRTS READ BACK DATA WITHOUT ISSUING COMMAND 1350 GOSUB 1650 IMPLICIT READ NOTICE THAT THE DATA IS 1360 OUTPUT WITH THE MASK OVERLAID DATA 1370 EXPECTED 15 001100114455 1380 139
47. S 80 1710 1720 60508 1810 1730 LPRINT STEP STRS TESTNUM TAB 8 COMMAND WRTS 50 il DATA LEFTS RD IBCNT 2 1740 TESTNUM TESTNUM 1 1750 RETURN 1760 1770 SEND WRT TO 4801 1780 CALL IBWRT PCX WRTS 1790 RETURN 1800 1810 READ FROM 4801 1820 CALL IBRD PCX96 RDS 1830 RETURN 2 2 2 22 a 4 8 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix VXIbus Operation The VX4801 Module is a size singie slot VXIbus Message Based Word Serial instrument It uses the A16 D16 VME interface available on the backplane P1 connector and does not require any A24 or A32 address space The module is a D16 interrupter The VX4801 Module is neither a VXIbus commander or VMEbus master and therefore it does not have VXIbus Signal register The VX4801 is a VXIbus message based servant The module supports the Normal Transfer Mode of the VXIbus using the Write Ready Read Ready Data In Ready DIR and Data Out Ready DOR bits of the module s Response register A Normal Transfer Mode read of the VX4801 Module proceeds as follows 1 The commander reads the VX4801 s Response register and checks if the Write Ready and DOR bits are true IF they are the commander proceeds to the next step If not the commander continues to poll these bits until they become true 2 The command
48. 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 4 A 17 Appendix E Performance Verification A 19 VX4801 i Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com AA aa 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 To avoid electric shock or fire hazard do not operate this
49. T X where X is the invalid byte specified 11 INVALID LOAD COMMAND X where X is the invalid character 12 INVALID OR MISSING HEX VALUE X where X is the invalid hex character 13 INVALID BIT SPECIFIED X where X is the invalid bit number 14 INVALID INTERRUPT COMMAND X where X is the invalid character 15 MAXIMUM SEQUENCE LENGTH EXCEEDED XX where XX is the length of the sequence up to six sequence numbers are valid 99 UNKNOWN ERROR Sa nn VX4801 3 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 3 A s c Command R Reset Syntax R Description The Reset command resets the board to its power up state All 1 0 pins tri stated All bytes defined as inputs active high Ail external handshake lines disabled Request True interrupts disabled XD EM a 3 18 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 5 Self Test Syntax 5 Purpose The self test command causes the module to execute a self test and then return to its power up state Description The self test consists of internal circuitry tests and I O wraparound tests The results of a self test can be read using the Query Status commands QA or QN If the self test fails error 01 will be generated and the module s Fai
50. YSFAIL If the 5 fuse blows remove the fault before replacing the fuse Replacement fuse information is given in the Specifications section of this manual Figure 1 shows the location of this fuse on the VX4801 Module LEDs The following LEDs are visible at the top of the VX4801 Module s front panel to indicate the status of the module s operation POWER LED This green LED is normally lit and is extinguished if the 5V power supply fails or if the 5V fuse blows FAIL LED This normally off red LED is lit whenever SYSFAIL is asserted indicating a module failure Module failures include failure to correctly complete a self test loss of a power rail or failure of the module s central processor If the module loses any of its power voltages the Failed LED will be lit and SYSFAIL asserted A module power failure is indicated when the module s Power LED is extinguished MSG LED This green LED is normally off When lit it indicates that the module is processing a VMEbus cycle The LED is controlled by circuitry that appears to stretch the length of the VMEbus cycle For example a five microsecond cycle will light the LED for approximately 0 2 seconds The LED will remain lit if the module is being constantly addressed RFI Request for Interrupt This LED lights when VXI backplane interrupt is requested Like the MSG LED the pulse width is stretched to make it visible RFD Indicates the state of the Ready for Data handshake signal
51. able improperly set Slot 0 single step switch or loose or blown fuses Performance Verification Tests VXIbus Interface 24 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 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 Prerequisites All prerequisites listed on page A 20 VX4801 Programmable Digital I O Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 Response to Verify ibic 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 VX48
52. ace between VXIbus modules and between those modules and the external system A VXIbus instrument module that is 233 4 by 160 mm by 20 32 mm 9 2 by 6 3 in by 0 8 in the same size as a VMEbus double height short module In the VMEbus interface a system for resolving contention for service among VMEbus Master devices on the VMEbus A functional module that measures the duration of each data transfer on the Data Transfer Bus DTB and terminates the DTB cycle if the duration is excessive Without the termination capability of this module a Bus Master attempt to transfer data to or from a non Aa a VX4801 A 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix _________ _ existent Slave location could result in an infinitely long wait for the Slave response Client in shared memory protocol 5 that half of an SMP channel that does not control the shared memory buffers CLK10 10 MHz 100 ppm individually buffered to each module slot differential ECL system clock that is sourced from Slot O and distributed to Slots 1 12 on P2 It is distributed to each module slot as a single source single destination signal with a matched delay of under 8 ns CLK100 100 MHz 100 ppm individually buffered to each module slot differential ECL system clock that is sourced from Slot 0 and distributed to Slots 1 12
53. ady control line polarities are all individually program selectable as low or high true TTL and CMOS compatible 74AHCT245 driver _ MM LEM ln 1 10 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 D C Electrical Characteristics Output high ier Output low 2 Wel 0 24 mA Output low current lj Input high voltage Vin Input low voltage V Vil Input current lin Tristate leakage Current loz 0 5 There are 22 pull up resistors to 5V on all and handshake lines to account for floating inputs The inputs IC use 1 0 uA max while the pull down resistors require 5V 22 227 6 pA 10 to 55 C typical specs at 25 C A minus sign indicates current flowing out of the card Isolation Resistance gt 100e6 ohms at 500V dc Isolation Voltage gt 250V dc External Control Lines External Tri state Input 30 nS typical to Tri state Active 63 nS maximum Valid Output Data to Data Available Strobe 0 nS Data Acknowledge to Data Ready Strobe Delay O nS VXibus Compatibility Fully compatible with the VXlbus Specification for message based instruments with the Halt switch in the ON position VXI Device Type VXI message based instrument Revision 1 4 VXI Protocol Word serial VXI Module Size C size one slot wide Module Specific Commands module specific commands and data are sent
54. ality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 slotfor 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 5100 Controller IEEE 488 GPIB Interface 3 VXIbus System Controller 4 VX4801 Under Test 5 VX4801 Slave Test System Configuration Resource Mgr Slot 0 Functions VXIbus Talker Listener Controller VX4521 Slot 0 Resource Mgr IBM 486 PC with National Instruments GPIB P C2A card amp NI 488 2M software GPIB cable Tektronix P N 012 0991 00 Notapplicable Notapplicable Verify its performance 4 byte TTL CMOS 1 0 VX4801 Provides test signal 1 0 Provides Slot 0 functions Resource Mgr and GPIB VXIbus interface Provides VXIbus command and response interface Table 3 describes the V XIbus system configuration assumed in this procedure If your configuration is different you do not need to change it just note that you will obser
55. apable of asserting VMEbus interrupts and performing the interrupt acknowledge sequence IRQ The Interrupt ReQuest signal which is the VMEbus interrupt line that is asserted by an Interrupter to signify to the controller that a device on the bus requires service by the controller Local Bus A daisy chained bus that connects adjacent VXlbus slots Local Controller The instrument module that performs system control and external interface functions for the instrument modules in a VXIbus mainframe or several mainframes See Resource Manager Local Processor The processor an instrument module Logical Address smallest functional unit recognized by a VXlbus system it is often used to identify a particular module Mainframe Mainframe For example the Tektronix VX1400 Mainframe an operable housing that includes 13 C size VXIbus instrument moduie slots Memory Device storage element such as bubble memory RAM and ROM that has configuration registers and memory attributes such as type and access time Message A series of data bytes that are treated as a single communication with a well defined terminator and message body MM s rna 12 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix Message Based Device VXIbus device that supports VXI configuration and communication registers Such devices support the word serial protocol and
56. arriage return and line feed CR LF Command Summary Detailed descriptions of each command alphabetical order are given following the summary An overview of the commands is as follows The Input Data command specifies which bytes are to be read the order in which they are to be read and reported and any masks to be overlaid onto the data prior to reporting it ASCII hex data representing all input bytes selected input and or output bytes or selected bits of a byte by using a mask can be returned to the system controller using this command The Load Output command specifies the data to be output the order of output and any masks to be overlaid onto the data prior to output The ASCII hex data representing all output bytes selected output bytes single bits of a byte or mask overlays onto the byte s can be used to update the cards output data latches The Mode command defines which bytes are inputs and which are outputs and their active logic sense active high true or active low true The Strobe Pulse Sense command specifies the active edge of the handshake signals positive or negative edge triggered The Query Status command is used to read the current state of the module The information which can be obtained includes error data the state of the external handshake lines DRD RFD the current tri state condition of the 1 latches the programmed I O configuration the programmed active
57. art STop protocol used to synchronize VXIbus modules Extended Self Test Any self test or diagnostic power up routine that executes after the initial kernel self test program External System Controller The host computer or other external controller that exerts overall control over VXIbus operations FAILED Indicator A red LED indicator that lights when a device on the VXIbus has detected an internal fault This might result in the assertion of the SYSFAIL line VX4801 A 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com BEEN Mi o IACK Daisy Chain Driver The circuit that drives the VMEbus interrupt Acknowledge daisy chain line that runs continuously through ail installed modules or through jumpers across the backplane ID ROM An NVRAM storage area that provides for non volatile storage of diagnostic data Instrument Module A plug in printed circuit board with associated components and shields that may be installed in a VXibus mainframe An instrument module may contain more than one device Also one device may require more than one instrument module Interface Device A VXIbus device that provides one or more interfaces to external equipment Interrupt Handler A functional module that detects interrupt requests generated by Interrupters and responds to those requests by requesting status and identity information interrupter A device c
58. ately on command see the L load output command R Update the output data with the latest received command when the Ready For Data strobe RFD occurs Update the input data immediately on command see the input command D Update the input data specified by the last command when the Data Ready strobe DRD occurs Default UL update the output on command update the input on command Any or ali of the update parameters can be programmed in any order and once programmed the setup remains valid unless specifically overridden by another U command or by a Reset or Self Test command If a condition is not programmed it will remain in its default or previously programmed state is omitted the command will have no effect f an invalid parameter is specified an invalid Update Command error will be generated For the L condition the output data is updated based on the L Load command For the R condition the latest data received by the module will be output when an RFD strobe occurs or immediately if an RFD strobe has occurred since the last output command Note that output data may easily be overwritten and lost since the most recent data received is always output For example if two L commands are received before a strobe occurs the first data will be lost and the most recent data will be output To prevent this overwriting of data from occurring use the Data Available DAV handshake and the OR command to rea
59. byte 5 bit 6 23 byte 5 bit 7 5 24 ground 25 ground T 8 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix VXI Glossary The terms in this glossary are defined as used in the VXIbus System Although some of these terms may have different meanings in other systems it is important to use these definitions in VXibus applications Terms which apply only to a particular instrument module are noted Term Accessed Indicator ACFAIL A Size Card Asynchronous Communication Backplane B Size Card Bus Arbitration Bus Timer Definition An amber LED indicator that lights when the module identity is selected by the Resource Manager module and flashes during any 1 O operation for the module A backplane line that is asserted under these conditions 1 by the mainframe Power Supply when a power failure has occurred either ac line source or power supply malfunction or 2 by the front panel ON STANDBY switch when switched to STANDBY A VXlbus instrument module that is 100 0 by 160 mm by 20 32 mm 3 9 by 6 3 in by 0 8 in the same size as VMEbus single height short module Communications that occur outside the normal command response cycle Such communications have higher priority than synchronous communication The printed circuit board that is mounted in a VXIbus mainframe to provide the interf
60. cking TTL CMOS Data Tektronix part number 131 1344 00 Figure 4 1 0 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 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix E Performance Verification Byte 5 Tri St Byte 4 Tri St 29 I 4 P PP Byte 5 LSB Ll gt colle ee o OR Byte 4158 1 up DB 50 Male DB 50 Male ae Byte 3 Tri St Byte 3 Y 50 7 Byte 0 Tri St S GND js e e e e 0 P AHHH HH E y r lt F V O O O O PO e e e NG eue 294 76 DAK gt Byte 1 v pe i e e GND o el e GND e _ 2 GND DRd lt ati gt RFD Allow approximately 6 Byte 1 Tri St length of interconnect Wire between modules Byte 2 Tri St VX4801 Under test 1 VX4801 Slave Module 1 Figure 4 Loop Back Cable Assembly View of Solder Side VX4801 Programmable Digital I O Module A 21 Artisan Technology Group Qu
61. continue at line 320 AE VX4801 4 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 RN IF THEN Sets up a conditional IF THEN statement Used with other commands such as PRINT or GOTO so that IF the stated condition is met THEN the command following is effective EX IF 3 THEN GOTO 450 will continue operation at line 450 when the value of variable is 3 REM or All characters following the REM command ora are not executed These are used for documentation and user instructions EX REM CLOSE ISOLATION RELAYS RETURN Ends a subroutine and returns operation to the line after the last executed GOSUB command CR ASCII Carriage Return character decimal 13 lt LF gt ASCII Line Feed character decimal 10 Programming Example In BASIC The following sample BASIC program shows how commands for the VX4801 might be used This example assumes that the VX4801 has logical address 24 and is installed in a VXIbus mainframe that is controlled via an IEEE 488 interface from an external system controller such as an IBM PC or equivalent using a Capital Equipment Corp IEEE 488 interface The VXIbus IEEE 488 interface is assumed to have IEEE 488 primary address of decimal 21 and to have converted the VX4801 Module s logical address to an IEEE 488 primary address of decimal 24 Lines which are indented and not nu
62. d 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 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 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com EC Declaration of Conformity 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 t
63. d the state of Ready For Data RFD Each time the output data is updated DAV is strobed to tell the external device that new data is available The external device will then set RFD when it s ready for another output If the data reported back by the command is O then the last data output has not yet been accepted by the external device If a 1 is reported back then the outputs can be updated with no loss of data the external device has indicated a Ready For Data state Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 n For the condition input data is updated immediately when the Input command is received For the D condition data is strobed in when the DRD strobe occurs the external device indicates it has data ready The module will respond with a data acknowledge DAK strobe when the input data is read from the module The external device may then use the data acknowledge to update its data input for the VX4801 Module and indicate that it has new data ready for the VX4801 Module by setting the DRD line Note that once a DRD handshake occurs the module will ignore subsequent DRD handshakes until the data is read by the controller Use of the DAK handshake by the external device will prevent any DRD handshakes and data from being lost The DRD and RFD LEDs light when the handshake occurs edge triggered and do not reflect the active log
64. e module Description The format of the returned data is VERSION X X where X X is the current revision level 1 0 for example VX4801 3 23 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 al Command X interrupt enable or disable control Syntax or XI Purpose The X command is used to enable and disable VXIbus request true interrupts Description XA enable request true interrupt one of the following letters specifies E enable interrupt on error R enable interrupt on RFD handshake D enable interrupt on DRD handshake enable interrupt on any of the above conditions XI disable request true interrupt Default XI interrupt disabled The data can be programmed in any order and once programmed the setup remains valid unless specifically overridden by another X command or by a Reset or Self Test command If an interrupt is not specified it will be disabled If c is invalid an Invalid Interrupt Command error will be generated When a VXlbus Read Status command is sent to the VX4801 the module will set bit 6 of the returned status byte if the Request True Interrupt is set In IEEE 488 controller applications where the VX4801 is a slave to an IEEE 488 Communications Resource Manager Module such as the Tek CDS VX4521 the Request True interrupt is used to generate an 488 Service Request SRO Examples XAE interrupts when a pro
65. edure 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 lt cr gt 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 gt all bytes 1 gt inactive set VX4801 ibwrt r m135iL0240h L024d55 t i b Perform an input of all bytes and verify a response of 55AA55AAS5AA ibwrt i ibrd 100 Observe 55AA55AAS5AA c Repeatthe 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 m135ih0240L ibwrt i ibrd 100 Observe 55 55 55 VX4801 Programmable Digital I O Module A 27 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix 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
66. eed 888 88 SOURCE www artisantg com Appendix Custom Device special purpose VXibus device that has configuration registers so as to be identified by the system and to allow for definition of future device types to support further levels of compatibility Data Transfer Bus One of four buses on the VMEbus backplane The Data Transfer Bus allows Bus Masters to direct the transfer of binary data between Masters and Slaves DC SUPPLIES Indicator A red LED indicator that illuminates when a DC power fault is detected on the backplane Device Specific Protocol A protocol for communication with a device that is not defined in the VXlbus specification D Size Card A VXibus instrument module that is 340 0 by 366 7 mm by 30 48 mm 13 4 x 14 4 in x 1 2 in DTB See Data Transfer Bus DTB Arbiter A functional module that accepts bus requests from Requester modules and grants control of the DTB to one Requester at a time DUT Device Under Test ECLTRG Six single ended ECL trigger lines two on P2 and four on P3 that function as inter module timing resources and that are bussed across the VXlbus subsystem backplane Any module including the Slot O module may drive and receive information from these lines These lines have an impedance of 50 ohms the asserted state is logical High Embedded Address An address in a communications protocol in which the destination of the message is included in the message ESTST Extended ST
67. er up delay The Power LED will be on and all other LEDs off The MSG LED will blink during the power up sequence as the VXIbus Resource Manager addresses all modules in the mainframe The default condition of the module after power up is described in the SYSFAIL Self Test and Initialization subsection a VX4801 3 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 ___________ _ System Commands Although these non data commands are initiated by the VX4801 s commander for example for example the VX4520 or VX4521 Module rather than the system controller they have an effect on the VX4801 Module The following VXIbus Instrument Protocol Commands will affect the VX4801 Command Effect Clear The module clears its VXIbus interface and any pending commands Current module operations are unaffected Trigger The trigger command has no effect on the VX4801 Module Begin Normal Operation The module will begin operation if it has not already done so Read Protocol The module will return its protocol to its commander Read Status The module will return its status to its commander Module Commands A summary of the VX4801 s Module s commands is listed below This is followed by detailed descriptions of each of the commands A sample BASIC program using these commands is shown at the end of this section Command Syn
68. er writes the Byte Request command ODEFFh to the VX4801 s Data Low register 3 The commander reads the VX4801 s Response register and checks if the Read Ready and DOR bits are true If they are the commander proceeds to the next step If not the commander continues to poll these bits until they become true 4 The commander reads the VX4801 s Data Low register A Normal Transfer Mode Write to the VX4801 Module proceeds as follows 1 The commander reads the VX4801 s Response register and checks if the Write Ready and DIR bits are true If they are the commander proceeds to the next step If not the commander continues to poll the Write Ready and DIR bits until they are true 2 The commander writes the Byte Available command which contains the data OBCXX or OBDXX depending on the End bit to the VX4801 s Data Low register The VX4801 Module also supports the Fast Handshake Mode during readback In this mode the module is capable of transferring data at optimal backplane speed without the need of the commander s testing any of the handshake bits The VX4801 Module asserts BERR to switch from Fast Handshake Mode to Normal Transfer Mode per VXI _ VX4801 A 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix y _ Specification The VX4801 s Read Ready Write Ready DIR and DOR bits react properly in case the commander does no
69. erconnections and fixtures as needed to perform the procedure General Information and Conventions Please familiarize yourself with the following conventions which apply throughout this procedure m 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 23 Equipment Requirements Digital Volt Meter item 1 Loop Back Cable Assembly item 3 Prerequisites All prerequisites listed on page A 20 m 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 V XIbus 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 VX4801 Programmable Digital I O Module A 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www art
70. erence Also see CLK10 100 MHz Clock A 100 MHz 100 ppm clock synchronized with CLK10 Also see CLK 100 488 To VXIbus Interface A message based device that provides for communication between the IEEE 488 bus and VXIbus instrument modules VX4801 A 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix D User Service This appendix contains service related information that covers the following topics m Preventive maintenance m User replaceable Parts Preventive Maintenance You should perform inspection and cleaning as preventive maintenance Preventive main tenance when done regularly may prevent malfunction and enhance reliability inspect and clean the module as often as conditions require by following these steps 1 Turn off power and remove the module from the mainframe 2 Remove loose dust on the outside of the instrument with a lint free cloth 3 Remove any remaining dirt with lint free cloth dampened in a general purpose deter gent and water solution Do not use abrasive cleaners User Replaceable Parts Replacement parts are available through your local Tektronix field office or representative Changes to Tektronix instruments are sometimes made to accommodate improved com ponents as they become available Therefore when ordering parts it is important to in clude the following information in your order Part number m Inst
71. gnal lines are organized as six 8 bit bytes Each of the six bytes can be independently configured under full program control All commands and responses are in ASCII hex notation for ease of programming and to insure compatibility with the widest range of systems controllers Program controlled parameters include selection of any byte as either input output gt definition of masks for input and output data latch input data or control output data software command basis or on external handshake gt logic sense of input output and handshake lines full reporting of operating parameters at any time The data output can be controlled as bits as individual bytes and as groups of bytes Output is controlled on a command basis or on a qualified basis using external handshakes VX4801 m Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 i SS Data input is also fully under program control The module can report the state of all input bytes groups of input and or output bytes and single bits of a byte Input data can be updated on a command request basis or on a qualified basis using external handshakes User defined masks can be overlaid on the data prior to output Masks may also be applied to individual input bytes before they are returned to the system controller to improve data post processing speed and ease of data interpretation The sense
72. gramming error occurs XAR CR LF interrupts when the RFD handshake occurs XARDE LF interrupts when any of the three conditions occur XI CR LF disables all interrupts A 3 24 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 O rr P a Command 2 Tri state high impedance level Purpose The tri state level command specifies the active level of the external tri state control lines ETSO ETS5 Syntax Z 6 Description b byte number O through 5 or for ali bytes H or L Tri state line active high TTL logic 1 low TTL logic 0 respectively where tri state active is the state that puts the output lines in a high impedance state Default Z L all bytes external tri state active low The bytes can be programmed in any order and once programmed the setup remains valid unless specifically overridden by another Z command or by a Reset or Self Test command If any bytes are not programmed they will remain in their default or previously programmed state Note that all external tri state lines have 22K pull ups on them so the external tri states by default are not active if left unconnected If b is omitted the command
73. hange privileges reserved Printed in the U S A Tektronix Inc Box 1000 Wilsonville OR 97070 1000 TEKTRONIX and TEK are registered trademarks of Tektronix Inc Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 an
74. ic state of the handshake A lit LED indicates that a valid handshake has occurred on the DRD or RFD handshake lines The DAK and DAV LEDs reflect the logic state of the signal A lit LED indicates the handshake signal is at a TTL logic high for DAK and DAV When the DRD handshake is programmed the module will immediately drive OAK active to signal the external device that it is ready for input data When the RFD handshake is programmed the DAV signal will go active when a DRD strobe has occurred and data is output by the card Exampie The following example shows how a sequence of update commands will control the update condition s Update Conditions Case Command Output Input 1 Power up default L 2 UD lt LF gt L D 3 UR R D 4 UIL LF L 5 ULD lt CR gt lt LF gt L D Case 1 is the power up default condition which updates both outputs and inputs on command Case 2 updates the input on the DRD strobe the output remains in its previously programmed condition to update on command Case 3 will update the output on an RFD strobe Case 4 will update the inputs and outputs on command Case 5 will update the output on command and the input on a DRD strobe NEM aa a 3 22 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 Command VER Version Syntax VER Purpose The version command returns the current software revision level of th
75. ically updated at the same time when the total amount of is received In this example six ASCII hex bytes are required since two bytes are required for each output byte If 123456 were then sent to the card byte 3 would be loaded with 12 byte 2 with 34 and byte 1 with 56 to match the 3 2 1 sequence If an L command had not been previously issued this data would be ignored An automatically defines the sequence 0 1 2 3 4 5 Each time an L command is issued it defines a new output sequence The Load Override LO command is used to change specific data without affecting the L command s sequence as shown in the examples below Note that whenever a new L command is issued any buffered data in an incompleted buffer is lost The output sequence is also cleared whenever a new Mode M command is issued Note that a particular byte should only be defined once within the L command because it can appear only once in the sequence If a byte is defined more than once within the command only the last specified action is taken For example 110055 0044 would load 44 hex into byte O the load 55 hex action is ignored Similarly _0501 0503 would only set bit 3 of byte O Setting both bits can be accomplished by using the mask command LO 05 The byte s will be physically output based on the conditions defined by the U command If output is commanded to a byte which is defined as an input M command an error will be
76. ific Word Serial commands this module responds to and the resuits of these commands Read Protocoi Command 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 If the Data Low register is read after this command the contents are as follows eee ee RR 4 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix _ BIT DEFINITIONS Register Read Protocol Read STB Async Bit Location 15 14 11 10 9 8 7 5 0 Mode Control 15 12 11 4 Bit Usage VXI Rev Device Dependant Reserved RG EG Zero PI PH TRG 14 ELW LW Upper byte not used ROS not used Status not used Resp En Event Resp Mode Event Mode VX4801 Value 11111111 0 toro 1111 0111 11111111 O or 1 Oor 1 0 0 VX4801 Usage VXI Revision 1 4 not used Reserved response generation not supported event generation supported must be O per VXI specification programmable interrupts not supported programmable interrupt handlers not supported Word Serial Trigger command supported 488 2 protocol not supported VXlbus Instrument Protocol supported Extended Long Word protocol not supported Long Word protocol not supported not used not used set when a request true interrup
77. isantg com Appendix E Performance Verification Prerequisites Equipment Required 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 The verification sequences in this procedure are valid when the following requirements are met m 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 m The VX4801 has passed the power on self test m 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 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 1 Digital Volt Meter DVM 2 Digital 1 0 Module 3 Loop Back Cable Assembly Minimum Requirements Example Purpose 5 1 2 digit 100 VDC range accuracy FLUKE 8842A Checking isolation impedance 0 002 4 byte TTL CMOS data 1 0 Tektronix VX4801 Checking external functions Male DB 50 Connector two required Assemble as shown in Che
78. l handshakes Data input is also fully under program control The module can report the state of all input bytes groups of input and or output bytes and single bits of a byte Input data can be updated on a command request basis or on a qualified basis using external handshakes User defined masks can be overlaid on the data prior to output Masks may also be applied to individual input bytes before they are returned to the system controller The sense of inputs outputs and handshake lines can be set to either active high or active low under program control The active edge can also be programmed for handshake lines External handshake control signals are provided for output and input data control The VX4801 provides full access to system status information which is especially helpful during system trouble shooting software de bugging and operational system checks The VX4801 Module is programmed by ASCII characters issued from the system controller to the VX4801 Module via the module s VXIbus commander and the VXlbus mainframe backplane The module is a VXIbus Message Based instrument and communicates using the VXIbus Word Serial Protocol Refer to the manual for the VXIbus device that will be the VX4801 Module s commander for details on the operation of that device Power up The VX4801 Module will complete its self test and be ready for programming five seconds after power up Other modules in the VXIbus may require a longer pow
79. led LED wiil be lit VX4801 3 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 aaa Command Syntax Purpose Description Example T Tri state Control T b a The Tri state Control command specifies under software control whether individual output bytes are tri stated high impedance or not tri stated This command is logically OR d with the external tri state control lines ETSO 55 so if either is active the byte s will be tri stated The tri state command does not imply that bytes are output bytes or cause bytes to become output bytes b byte number 0 through 5 or for all bytes a either or A Tri state control active high impedance Tri state control inactive not tri stated Default T A bytes tri stated high impedance The bytes can be programmed in any order and once programmed the setup remains valid uniess specifically overridden by another T command or by a Reset or Seif Test command 1f any bytes are not programmed they will remain in their default state high impedance If b is omitted the command will have no effect If a is omitted an Invalid Tri State error will be generated This command is logically OR d with the external tri state lines ETSO ETS5 so if either is active the byte s will be tri stated The tri state command does not imply that bytes are output bytes o
80. mbered are comments which clarify what the program is doing at those points Example 1 10 REM INITIALIZE SYSTEM 20 GOSUB 620 DETERMINE MEMORY LOCATION OF CEC CARD 30 40 INIT O CALL INIT GPIB LEVEL 50 SEND 9 CALL SEND ADDRESS4801 96 WRTS STATUS 60 SPOLL 12 CALL SPOLL ADDRESS4801 96 POLL STATUS 70 ENTER 21 CALL ENTER RD LENGTH96 ADDRESS4801 STATUS 80 MUST BE PRECEEDED 90 RDS SPACES AND FOLLOWED 100 BY RDS LEFT RDS LENGTH 110 PCADDRESS 21 ADDRESS OF GPIB CARD IN THE 120 CONTROL O DEFINES THE PC S INTERFACE AS BUS CONTROLLER 130 140 CALL INIT PCADDRESS CONTROL INITIALIZE THE PC S INTERFACE CARD 150 CLS CLEAR CRT SCREEN 160 ADDRESS4801 5 GPIB ADDRESS OF VX4801 CARD 170 RD 80 SPACE FOR THE INPUT STRING VARIABLE ee 4 2 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 180 TMS CHR 10 DEFINE THE LINE FEED TERMINATOR 190 200 60508 750 CALL SERIAL POLL AND PRINT RESULTS 210 WRT TM RESET VX4801 POWER UP CONDITION 220 CALL SEND ADDRESS4801 96 WRT STATUS 96 230 GOSUB 840 READ THE DEFAULT MESSAGE CARD SHOULD 240 RESPOND WITH READY 250 i 260 PRINT THE DEFAULT MESSAGE 270 PRINT DEFAULT MESSAGE gt RD 280 290 5 0 5 300 CALL SEND ADDRESS480
81. ment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment 7 EQUIPMENT DEMOS HUNDREDS OF Instra REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com 7 information on price quotations drivers technical LEASING MONTHLY specifications manuals and documentation RENTALS ITAR CERTIFIED CEP BAD LE Contact 888 88 SOURCE sales artisantg com www artisantg com
82. mmand or by a Reset or Self Test command Input can be requested for both input and output bytes Typical use of the command simply defines a sequence of bytes to be read with the sequence defined by the order of the digits following the command For example 1123 specifies that the data from bytes 1 2 and 3 are to be reported in the order of byte 1 first byte 2 second and byte 3 third followed by CR LF Additional input of the same sequence does not require redefining the command Successive reads from the module will return new data in the defined sequence each terminated by CR LF For example 1321 specifies an input sequence of 3 2 1 If bytes 1 2 and 3 contained 11 22 and 33 hex the module would report 332211 CR LF when read Subsequent reads of the module will report the update state of bytes 3 2 and 1 An in the command automatically defines the byte sequence to be 0 1 2 3 4 5 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 3 BENDUM M1 Each time command is issued it defines new input sequence The input override command 10 is used to look at a specific byte s without affecting the 1 command s sequence as shown the example below Once the command has been issued its setup and sequence including masks remain valid until overridden by another command a OR or O
83. mmand defines which bytes are inputs and which are outputs and their active sense M b byte number O through 5 or for all bytes m or O Input or Output respectively H L Logic state High or Low true respectively Default all inputs active high true The bytes can be programmed in any order and once programmed the setup remains valid unless specifically overridden by another M command or by a Reset or Self Test command If any bytes are not programmed they will remain in their default or previously programmed state If m or i is omitted the default or previously programmed state will be used for the omitted parameter of the byte s being programmed If b is omitted the command will have no effect If both m and 1 are omitted or an invalid parameter is sent an invalid Mode Command error will be generated If the logic state is programmed as active high true then a 1 on an input or output command reflects a TTL logic 1 on the I O pin if the logic state is programmed as active low true then a 1 on an input or output command reflects a TTL logic O on the 1 0 pin NOTE The Mode command automatically resets the sequence set up by the L Load command to null and clears any pending RFD handshakes The following examples show how a sequence of mode commands will affect the configuration setup of the card Case Command Byte 1 and Sense L Q 1 2 3 4
84. nd 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 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 VX4801 Programmable Digital I O Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 VX4801 Programmable Digital I O Module A 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com A rtisan tisan Technology Group is your source for quality Technology Group new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equip
85. o 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 Electrostatic Discharge Immunity IEC 801 3 RF Electromagnetic Field Immunity IEC 801 4 Electrical Fast Transient Burst Immunity IEC 801 5 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 amp foil which has low impedance connections to shielded connector housings at both ends should be connected to this product Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com aaa nanana The programming examples in the manual see Section 4 are written in Microsoft GW BASIC using the following commands PROGRAMMING CALL ENTER R LENGTH ADDRESS STATUS Inputs data into the string R from the IEEE 488 instrument whose decimal primary address is in the variable ADDRESS96 LENGTH the number of bytes read from the instrument STATUS O if the transfer was successful or an 8 if an operating system timeout occurred in the PC To use the CALL ENTER statement the string R must be set to a string of
86. ology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 P Strobe Pulse Senses Syntax P p e Purpose The Strobe Pulse Sense command specifies the active edge of the handshake signals Description p one of the following single letters which specifies the strobe pulse A Data Available Strobe R Ready for Data Strobe D Data Ready Strobe K Data Acknowledge Strobe All strobes e specifies the active edge of the specified strobe as follows positive edge triggered strobe pulse negative edge triggered strobe pulse Default P all pulse senses positive edge triggered The bytes can be programmed in any order and once programmed the setup remains valid unless specifically overridden by another P command or by a Reset or Self Test command If an edge is not programmed it will remain in its default or previously programmed state If e or p is omitted the command will have no effect If an invalid parameter is specified an Invalid Pulse Command error wiil be generated This command assumes the U update command has specified the use of the handshake signals If not this command wiil have no effect until a U command is issued Example The following examples show how a sequence of puise commands will control the pulse trigger active edges Pulse Edges Case Command A R D K 1 Power up default 2 PAK CR lt LF gt 3 P LF
87. on P3 It is distributed to each module siot in synchronous with CLK10 as a single source single destination signal with a maximum system timing skew of 2 ns and a maximum total delay of 8 ns Commander In the VXIbus interface a device that controls another device a servant A commander may be a servant of another commander Command A directive to a device There are three types of commands In Word Serial Protocol a 16 bit imperative to a servant from its commander In Shared Memory Protocol a 16 bit imperative from a client to a Server or vice versa In a Message an ASCII coded muiti byte directive to any receiving device Communication Registers In word serial protocol set of device registers that are accessible to the commander of the device Such registers are used for inter device communications and are required on all VXIbus message based devices Configuration Registers A set of registers that allow the system to identify a module device type model manufacturer address space and memory requirements In order to support automatic system and memory configuration the VXIbus standard specifies that all devices have a set of such registers all accessible from P1 on the VMEbus C Size Card A VXibus instrument module that is 340 0 by 233 4 mm by 30 48 mm 13 4 by 9 2 in by 1 2 in _ Zi KM VIIAHA o n 10 VX4801 Artisan Technology Group Quality Instrumentation Guarant
88. onfiguration management services such as address map configuration determining system hierarchy allocating shared system resources performing system self test diagnostics and initializing system commanders Self Calibration routine that verifies the basic calibration of the instrument module circuits and adjusts this calibration to compensate for short and long term variables Self Test set of routines that determine if the instrument module circuits will perform according to a given set of standards A self test routine is performed upon power up VX4801 A 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix _____________ Servant Server Shared Memory Protocol Slot O Controller Slot O Module SMP STARX STARY STST SYNC100 Synchronous Communications SYSFAIL System Clock Driver A VXibus message based device that is controlled by a commander A shared memory device that controls the shared memory buffers used in a given Shared Memory Protocol channel A communications protocol that uses a block of memory that is accessible to both client and server The memory block operates as a message buffer for communications See Slot 0 Module Also see Resource Manager A VXibus device that provides the minimum VXibus slot O services to slots 1 through 12 CLK10 and the module identity lines
89. or L1D01 50DFA 2D20 4D88 3DCC lt LF gt 1 5 0 2 4 3 FA 01 20 CC 88 FA 6 001122334455 1 5 0 2 4 3 22 00 33 55 44 11 7 LO1S04 no change 22 10 33 55 44 11 8 L123480 CR LF 1 2 3 22 90 83 D5 44 11 9 001122 1 2 3 22 00 11 22 44 1i 10 1150243 1 5 0 2 4 3 22 00 11 22 44 11 11 001122334455 1 5 0 2 4 3 22 00 33 55 44 11 12 14033 0 1 2 3 4 5 33 33 33 33 33 33 13 L0S02 1R04 2 amp 22 3X22 4444 lt CR LF 0 1 2 3 4 37 23 22 11 77 33 14 0011 37 23 22 11 77 33 15 223344 00 11 22 33 44 33 16 1041055 00 55 22 33 55 33 17 AABBCCDDEE AA BB CC DD EE 33 Case 1 is the initial state of the outputs All outputs are in a tri state condition Case 2 defines all bytes as outputs and un tri states them The 1 command at the end of the line can be used to read back the output data and verify that it is all Os if an input request is issued following this command Case 3 loads all outputs with 55 hex with the defining the sequence as 012345 BEND 3 10 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 o d m q a Case 4 is data received from the system controller The data is output in the order it is received according to the current sequence Case 5 loads each byte individually and redefines the sequence to be 150243 The line below case 5 shows the same command using the optional character Case 6 is more data again ou
90. product Symbols on the Product The following symbols may appear on the product AN m DANGER Protective Ground ATTENTION Double High Voltage Earth Terminal Refer to Manual 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 Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com VX4801 Programmable Digital 1 0 Module Section 1 General Information and Specifications introduction The VX4801 Module is a printed circuit board assembly for use in a mainframe conforming to the VXIbus Specification such as the VX1400 or VX1401 C size mainframe used in the Tek CDS IAC System The VX4801 provides 48 optically isolated TTL or CMOS compatible bidirectional digital 1 lines The VX4801 is especially useful in applications which require isolation between the UUT Unit Under Test and the test equipment This is often the case when the possibility exists of a ground loop between the UUT and the test station ground This can occur when the UUT has its own floating power source as is often the case in space craft components or sub assemblies The 48 programmable 1 0 si
91. product with covers Covers panels removed Use Proper Fuse avoid fire hazard use only the fuse type and rating specified for this product Do Not Operate in avoid electric shock do not operate this product in wet or damp conditions Wet Damp Conditions Do Not Operate in To avoid injury or fire hazard do not operate this product in an explosive Explosive Atmosphere atmosphere Product Damage Precautions Provide Proper Ventilation prevent product overheating provide proper ventilation Do Not Operate With If you suspect there is damage to this product have it inspected by qualified Suspected Failures service personnel VX4801 Programmable Digital I O Module iii Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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
92. r cause bytes to become output bytes The following examples show how a sequence of tri state commands will control the output state of each byte For this example it is assumed that all external tri state command inputs ETSO ETS5 are inactive Case Command Byte Tri state Control Q 1 2 3 4 5 1 Power up default A A A A A A 2 T123I CR A 3 TO1A23145A lt LF gt A 4 TE 1 tri state control active high impedance Case 1 is the power up default condition which tri states all bytes high impedance Case 2 sets the tri state control inactive for bytes 1 2 and 3 leaving O 4 and 5 in their previousiy programmed state Case 3 tri states bytes O and 1 enables bytes 2 and 3 non tri stated and tri states bytes 4 and 5 Case 4 sets tri state inactive for all bytes all bytes non tri stated Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 u gkpkgkgtc LLL UU Command Syntax Purpose Description VX4801 U Update U c The update command specifies whether inputs and outputs are updated immediately on receiving a programming command or L command or following a programming command when external handshake signais Data Ready or Ready For Data strobes occur a single letter which specifies the update conditions Valid entries L Update the output data immedi
93. riving the odd byte inputs odd inputs not pulled low set VX4801 VX4801 Programmable Digital I O Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix E Performance Verification ibwrt r ml135ih0240h L024d00 t135i ibwrt i ibrd 100 Observe response of OOFFOOFFOOFF 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 m024ih1350h L135d00 t024i ibwrt i ibrd 100 Observe response of FFOOFFOOFF00 3 Verify the external tri state signals with the following steps a Setup the Slave VX4801 to disable the external tri state signals ETSO ETS5 to the VX4801 device under test set slave ibwrt r m0oh LOdFF t0i b Setup 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 vr m135ih0240oh L024d00 t i ibwrt i ibrd 100 Observe response of 000000000000 Setthe Slave to assert the external tri state signals to the even bytes of the VX4801 and verify a response of OOFFOOFFOOFF set slave
94. rror condition If s is not one of the specified characters the module will respond with READY Examples The following examples show how each of the above commands will respond on power up Command Response read no command READY CR LF OA NO ERRORS CR lt LF gt QD 1 lt CR gt LF Ql 00 lt CR gt lt LF gt OL 00 lt CR gt lt LF gt OM 00 lt CR gt lt LF gt ON 00 lt CR gt lt LF gt 00 lt CR gt LF OR 1 CR LF OS O0 CR LF QT 3F CR lt LF gt i SS 3 16 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 en _ Error Responses Number Error Message 00 NO ERRORS 01 SELF TEST FAILURE BYTE X COUNT Y where X is an ASCII O through 5 indicating the byte failing self test and is an 5 000 to 255 indicating the bit pattern causing the failure 02 SYNTAX ERROR 03 INPUT BUFFER OVERFLOW 04 INVALID MODE COMMAND X where X is the invalid character 05 INVALID PULSE COMMAND X where X is the invalid character 06 INVALID TRI STATE LEVEL COMMAND X where X is the invalid character 07 INVALID TRI STATE COMMAND X where X is the invalid character 08 INVALID UPDATE COMMAND X where X is the invalid character 09 INVALID INPUT COMMAND X where X is the invalid character 10 SPECIFIED ON AN INPU
95. rrupts cause an on 488 systems Self test can also be run at any time during normal operation by using the S command The self test consists of internal circuitry tests and 1 wraparound tests The results of self test can be read using the query status commands or ON If the self test fails error 01 will be generated and the module s Failed LED will be lit SYSFAIL Operation SYSFAIL becomes active during power up hard or soft reset self test or if the module loses any of its power voltages When the mainframe Resource Manager detects SYSFAIL set it will attempt to inhibit the line This will cause the VX4801 Module to deactivate SYSFAIL in all cases except when 5 volt power is lost RE 3 26 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 4 Programming Examples This section contains example programs which demonstrate how the various programmable features of the VX4801 are used The examples are written in BASIC using an IBM or equivalent computer as the system controller Definition of BASIC Commands The programming examples in this manual are written in Microsoft GW BASIC These examples use the GW BASIC commands described below f the programming language you are using does not conform exactly to these definitions use the command in that language that will give the same result Command Result
96. rument type or model number m Instrument serial number m Instrument modification number if applicable VX4801 A 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix D User Replaceable Parts Part Description Part Number User Manual 070 9153 XX Label Tek CDS 950 0938 00 Label VXI 950 1075 00 Fuse Micro 4 Amp 125 V Fast 159 0374 00 Collar Screw Metric 2 5 x 11 Slotted 950 0952 00 Shield Front 950 1328 00 Screw Phillips Metric 2 5 x 4 FLHD SS 211 0867 00 18 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com aw A Appendix Performance Verification This procedure verifies the performance of the VX4801 Programmable Digital 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 m Thorough knowledge of test instrument operation and proper measurement techniques m Knowledge of VXIbus system components and command language programming m Ability and facility to construct int
97. sfail Reset Not reset Servant only No Signal Reg Slave only Interrupter Fast Handshake capability No Shared Memory capability Not used Not used Per VXI Per VXI 1 indicates that instrument data may be read at this time 1 indicates that instrument data may be sent to this module No VXI error has occurred VXI error has occurred e AYA Ny yg VX4801 A 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix BEND zzz e ll BIT DEFINITIONS Register Bit Location Bit Usage VX4801 Value VX4801 Usage Response 10 Read Ready 1 or O Indicates that data may be read from this module at this time Set by the instrument following a Byte Request or any other VXI command requiring readback Cleared on reset or when no data is left to send 9 Write Ready 1 0 indicates that VXI commands or instrument data may be written at this time 8 FHS Active 1 Indicates that this module is capable of supporting fast handshake not requiring handshake at this point in time 7 Locked 1 or O Follows the state of the Clear Lock and Set Lock VXIbus commands 6 0 Device dependant XXX XXXX Not used Data High not implemented Data Low read write Word Serial Commands A write to the Data Low register causes this module to execute some action based on the data written This section describes the device spec
98. state condition of the byte currently being displayed A lit LED indicates the byte is tri stated B7 BO Indicates the state of each bit of the currently displayed byte The LED being lit indicates the bit is high TTL logic 1 An unlit LED indicates the bit is low TTL logic 0 B7 is the most significant bit and BO the least significant bit BITE Buiit In Test Equipment BITE is provided on the module by an internal loop back path which allows the module to be tested with the outputs tri stated The self test automatically tests and verifies all loop back paths for each byte VX4801 1 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 Amin Self test is automatically performed on power up and can also be commanded All the outputs are checked with their corresponding inputs and with the output drivers in tri state Front panel LEDs indicate the status of Power assertion of the VMEbus signal SYSFAIL backplane cycles handshake signals and other system operating parameters in addition the Query command can be used to determine the current state of the module during operation including error codes see the Query command in the Command Descriptions subsection 54 53 150 DIGITAL TUB Figure 2 VX4801 Front Panel 1 8 VX4801 Artisan Technology Group Quality Instrumentation
99. t has been generated Cleared upon the execution of this command not used command successful command unsuccessful this occurs if bits O or 1 of this command are 1 indicating that a request is being made to have responses and or events sent as signals This module supports interrupts rather than signals not used if bits 15 12 are 1111 echoes bit 3 of the command if bits 15 12 are 1111 echoes bit 2 of the command interrupts are supported interrupts are supported _ _ _ VX4801 A 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix NN a Register Bit Location Bit Usage VX4801 Value VX4801 Usage Control Response 15 12 1111 command passed 11 7 not used 11111 not used 6 0 1111111 no responses supported VX4801 Interrupts The VX4801 will interrupt its commander with the following event if any of the errors described by the ERR command occur and an INT command has been issued to the VX4801 Module to enabie interrupts Request True 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 1 1 1 1 O 1 Logical Address gt M aaa aa A 6 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix B Input Output Connections Pinouts S3 1 Ready for Data output RFD 2 Data Ready input DRD
100. t support the Fast Handshake Mode A Fast Handshake Transfer Mode Read of the VX4801 proceeds as follows 1 The commander writes the Byte Request command ODEFFh to the VX4801 s Data Low register 2 The commander reads the VX4801 s Data Low register The VX4801 Module has no registers beyond those defined for VXIbus message based devices All communications with the module are through the Data Low register the Response register or the VXIbus interrupt cycle Any attempt by another module to read or write to any undefined location of the VX4801 s address space may cause incorrect operation of the module As with all VXIbus devices the VX4801 module has registers located within a 64 byte block in the A16 address space The base address of the VX4801 device s registers is determined by the device s unique logical address and can be calculated as follows Base Address V 40H COOOH where V is the device s logical address as set by the Logical Address switches VX4801 Configuration Registers Below is a list of the VX4801 Configuration registers with a complete description of each In this list RO Read Only WO Write Only R Read and W Write The offset is relative to the module s base address REGISTER DEFINITIONS Register Address Value 15 0 ID Register 0000H RO 1011 1111 1111 1100 BFFCh Device Type 0002H RO See Device Type definition below Status 0004H R Defined by state of interface Control 0
101. t the rear of the mainframe Connect the cable to the VX4801 Module s 54 53 interface If a special cable is needed 73A 657P and 73A 782P Hooded Connectors may be used to cable between the module s output connectors and the UUT A A A 2 2 VX4801 2 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 2 mA Installation Checklist installation parameters may vary depending on the mainframe being used Be sure to consult the mainframe Operating Manual before installing and operating the VX4801 Module Revision Level Serial No Mainframe Slot Number Switch Settings VXIbus Logical Address Switch Interrupt Level Switch Halt Switch Cabling installed S3 Cable 54 Cable Performed by Date A 2 4 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 Operation Overview The VX4801 Module provides 48 optically isolated TTL or CMOS compatible bidirectional digital 1 O lines 48 programmable 1 signal lines are organized as six 8 bit bytes Each of the six bytes can be independently configured under fuli program control All commands and responses are in ASCII hex notation The data output can be controlled as bits as individual bytes and as groups of bytes Output is controlled on a command basis or on a qualified basis using externa
102. tax Command protocol and syntax for the VX4801 Module is as follows 1 Each command consists of a string of up to 255 characters Every command must end with either a line feed lt LF gt or a semi colon delimiter A CR is treated as a white space character and is ignored if received 2 All commands are operated on in the order they are received and executed when the delimiter is received 3 If a given parameter is omitted within a command either its default state or its last programmed state will be in effect depending on the particular command issued 4 Any character may be sent in either upper or lower case form 5 Any of the following white space characters whose 8 bit hexadecimal values are given below are allowed within the command string and are ignored by the module A A A ARA 3 2 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 6 7 00 08 08 20 80 89 8B 90 Any command syntax programming errors will cause the command to ignored and an error will be flagged All commands up to the occurrence of the error will remain valid The invalid command and all subsequent commands will be lost and no commands will be accepted until the error condition is cleared either through a hardware or software reset or by reading the error out with the Q command responses from the module are terminated by a c
103. the command descriptions is optional parameter group of parameters ASCII character optional repetition Note that the and characters are not part of the command 3 4 VX4801 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 Command Descriptions Command Syntax Purpose Description Input command or 10 input Override command lO b o d The Input command specifies the data to be input the order in which it is be input and any masks which are to be overlaid onto the data prior to reporting it The Input Override command provides the capability to read a different input sequence one time without destroying the last defined command input sequence input command 10 input override b one to six digits which specify the byte number O through 5 or all bytes one of the following AND the data specified by d to the specified input byte s OR the data specified by d to the specified input byte s X XOR the data specified by d to the specified input byte s d ASCII mask value 00 through FF required with o an optional character which is allowed to make the command more readable Default 1 input all bytes The bytes can be programmed in any order and once programmed the setup remains valid uniess specifically redefined by another co
104. tput in the order it is received according to the current sequence Case 7 uses the load override command to force bit 4 of byte 1 high without changing the sequence Case 8 OR s the current data of bytes 1 2 and 3 with an 80 hex and redefines the output sequence to 123 Case 9 loads new data into bytes 1 2 and 3 Case 10 redefines the output sequence without affecting the data Case 11 loads data for the newly defined sequence Case 12 loads all bytes with 33 hex Case 13 sets bit 2 of byte O resets bit 4 of byte 1 AND s byte 2 with hex 22 XOR s byte 3 with hex 22 and OR s byte 4 with a hex 44 Case 14 has no effect on the outputs because not enough data has been received based on the last sequence defined 01234 Case 15 supplies the rest of the data needed for the sequence and the new data is output Case 16 uses the override command to force bytes 4 and 1 to a hex 55 Case 17 outputs new data based on the sequence from case 12 which is still in effect Note that each time a Load command is received a new sequence is defined for any subsequent data and that the Load Override command does not affect the output sequence _ VX4801 3 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 NENNEN _ Purpose Syntax Description Example M Mode The Mode co
105. up Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 1 ____________ Specifications Number of O Channels Configuration Byte Transfer Polarity Input Data Input Control Output Data Output Control Tri State Control Mask Capability Byte Ordering Interrupt Modes External Control Logic Sense Signal Type 48 lines selectable as input or output on an 8 bit byte basis Also tri state programmable on an 8 bit byte basis All input and output bytes individually selectable as active high or active low Returned as two hexadecimal ASCII characters per byte On program command or with external Ready For Data and Data Available handshake Programmed as two hexadecimal ASCII characters per byte or by an H or L character on an individual bit basis On program command or with external Data Ready and Data Acknowledge handshake On program command on an individual byte or by individual external tri state control signals for each byte On an individual byte basis for input or output AND OR and XOR masking provided A predefined sequence for input or output byte transfer may be programmed Bytes may be transferred in any required order Program selectable on programming error Ready For Data handshake and or Data Ready handshake Data Available Ready For Data Data and Data Re
106. ve your device names and addresses in test sequences Note that no secondary addressing is assumed Table 3 Test System Configuration Assumed GPIB Device VXIbus Logical GPIB Primary Device Name VXI Slot Address Address GPIBO GPIBO PC card NA 30 VX4521 VX4521 Slot 0 OD hex 13 VX4801 under test VX4801 Slot 1 1 VX4801 slave Slave Slot 2 02 2 A 22 VX4801 Programmable Digital I O Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 Temperature and Relative Humidity Date of Last Calibration Verification P erformed by Certificate Number 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 1 0 Data Bytes Tri State Control Signals Internal External Handshake Control Signals Transmit Receive VX4801 Programmable Digital I O Module A 23 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix Performance Verification Self Test The
107. 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 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 Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 5 100 Observe NO ERRORS set VX4801 ibwrt s qa ibrd 100 Observe NO ERRORS NOTE If at any time in this proc
108. vice such as the VX4801 s commander sets the Reset bit in the VX4801 s Control register At power up as well as during self test all module outputs are tri stated During a power up or hard or soft reset the following actions take place 1 The SYSFAIL VME system failure line is set active indicating that the module is executing a self test and the Failed LED is lit In the case of a soft reset SYSFAIL is set However all Tek CDS commanders such as the VX4521 will simultaneously set SYSFAIL INHIBIT This is done to prevent the resource manager from prematurely reporting the failure of a card 2 Self test consists of outputting to each byte binary O through 255 and verifying via loopback circuitry that the data is correct 3 If the self test completes successfully the SYSFAIL line is released and the module enters the VXIbus PASSED state ready for normal operation SYSFAIL will be released within five seconds in normal operation If the self test fails the SYSFAIL line remains active and the module makes an internal record of what failure s occurred It then enters the VXibus FAILED state which allows an error message to be returned to the module s commander The default condition of the VX4801 Module after the completion of power up self test is as follows All I O pins tri stated bytes defined as inputs active high external handshake lines disabled Request True interrupts disabled these inte
109. will have no effect If I is omitted or an invalid parameter is specified an Invalid Tri state Level Command error wiil be generated NOTE The external Tri state lines are logically OR d with the Tri state Control command T so if either is active the byte s will be tri stated Example The following example shows how a sequence of tri state level commands will control the external tri state active levels of each byte individual Byte Case Command Tri state Active Levels 9 1 2 3 4 5 1 Power up default L L L L L L 2 Z123H CR LF L H H H L L 3 ZO1H23L45H LF H H L L H H 4 Z H H H H H H H Case 1 is the power up defauit condition which sets all external tri state level inputs to active low Case 2 sets external tri states for bytes 1 2 and 3 as active high leaving O 4 and 5 in their previously programmed state Case 3 sets O and 1 high 2 and 3 low and 4 and 5 high Case 4 sets all external tri states for all bytes active high VX4801 3 25 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Section 3 BEENDEN Mili SYSFAIL Self Test and Initialization The VX4801 Module will execute a self test at power up upon direction of a VXIbus hard or soft reset condition or upon command A VXIbus hard reset occurs when another device such as the VXIbus Resource Manager asserts the backplane line SYSRST A VXIbus soft reset occurs when another de
110. ysical address of the VX4801 Module is on a 64 byte boundary If the switch representing the most significant digit MSD of the logical address is set to position X and the switch representing the least significant digit LSD of the logical address is set to position Y then the base physical address of the VX4801 will be 64d XYh 49152d For example M 5 L L S Base Physical A D D Addr d Ah A 64 10 49152 497924 15h 1 5 64 21 49152 504964 where L A Logical Address MSD Most Significant Digit LSD Least Significant Digit IEEE 488 Address Using the VX4801 Module in an IEEE 488 environment requires knowing the module s IEEE 488 address in order to program it Different manufacturers of IEEE 488 interface devices may have different algorithms for equating a logical address with an IEEE 488 address If the VX4801 is being used in a Tek CDS IEEE 488 IAC system consult the operating manual of the Tek CDS Resource Manager IEEE 488 Interface Module being used If the VX4801 is being used in a MATE system VXIbus logical addresses are converted to IEEE 488 addresses using the algorithm specified in the MATE IAC standard MATE STD IAC This algorithm is described in detail in the 73A 156 Operating Manual If the VX4801 is not being used in a Tek CDS IAC System consult the operating manual of the IEEE 488 interface device being used for recommendations on setting the logical address a pMoOeC

Download Pdf Manuals

image

Related Search

Related Contents

Télécharger le manuel d`utilisation - Mobiles    Corriente CA y CD  Radio Shack 17-919 User's Manual  ENGINES`  GB Stirling Engine Kit HB11-AS2 F Boîte de construction – moteur  Vermont Casting 3225,3226, 3227, 3228, 3229, 3230, 3231, 3232, 3350, 3351, 3352, 3353, 3354, 3360, 3361, 3362, 3363, 33646, 33656, 3366, 3367, 3368, 3369, 3390, 3391, 3392, 3393, 3394, 3395, 3396, 3397, 3398, 3399 Fan User Manual  Amana NED5800DW Dimension Guide  Cypress Perform CY7C1515KV18 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file