User Manual Option 01 VXI Interface Daughter Board 070-9180-01 This document applies for firmware version 1.00 and above.
Copyright Tektronix, Inc. 1995. All rights reserved. Licensed software products are owned by Tektronix or its suppliers and are protected by United States copyright laws and international treaty provisions. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.
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.
Table of Contents General Safety Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii vii Getting Started Product Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controls and Indicators . . .
Table of Contents Appendix D: Replaceable Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D–1 Parts Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Replaceable Parts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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.
General Safety Summary Do Not Operate With Suspected Failures If you suspect there is damage to this product, have it inspected by qualified service personnel. 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.
General Safety Summary Compliances Overvoltage Category Consult the product specifications for Overvoltage Category, and Safety Class. The following defines overvoltage categories: CAT III: Distribution level mains, fixed installation.
Preface This manual assumes you are familiar with VXIbus instruments and operation and with the purpose and function of this instrument. Please read and follow all instructions for installation and configuration. Use the Installation Checklist to ensure proper installation and to record your initial settings. The Operating Basics section gives a summary of VXIbus operation and presents an overview of the operation of this instrument.
Getting Started This section begins with a brief description of the Option 01 VXI Interface Module, and explains how to configure and install the module on a relay switching module in a VXIbus mainframe. When the Option 01 is installed on a relay module, a quick functional check (described in this section of the User Manual for the relay module) assures that the instrument operates properly.
Getting Started The Local Bus Interface function of the Option 01 provides serial I/O interface for control of scanner slave and SurePatht relay modules, monitors the power fuses of all local bus slave modules that it controls, and provides a serial input interface to identify each local bus slave that it controls. As part of the self test, SurePatht modules automatically verify the control logic every time a relay operation is performed. Figure 1–1 shows the Option 01.
Getting Started VXI interface & slave controller daughter board Backplane connectors Front panel connectors VXI backplane local bus Daughter board connectors Figure 1–2: Typical SurePath Configuration Fuses Each relay module that the Option 01 Module controls has a fuse that limits the amount of current that the module can draw from the VXI backplane +5 V power pins.
Getting Started Accessories Table 1–1 lists the standard accessories included with the Option 01. Table 1–1: Standard Accessories Accessory Part Number Option 01 User Manual 070-9180-XX Option 01 Reference 070-9198-XX Controls and Indicators The following controls are provided to select the functions of the Option 01 operating environment. Switches The Logical Address switches and VMEbus Interrupt Level Select switch must be correctly set to insure proper operation.
Getting Started For example: Base Physical Address L.A. HI LO decimal hex A16 016 A16 (64 * 10) + 49152 = 49792 (4016 * A16) + C00016 = C28016 1516 116 516 (64 * 21) + 49152 = 50496 (4016 * 1516) + C00016 = C54016 LA. is the Logical Address IEEE-488 Address In order to use and program the Option 01 daughter board in an IEEE-488 environment you must know the IEEE-488 address of the module.
Getting Started selecting and setting the Logical Address switch of the module. This switch defines the programming address of your module. To avoid confusion, it is recommended that the slot number and the logical address be the same. NOTE. Verify that the mainframe is able to provide adequate cooling and power with this module installed. Refer to the mainframe Operating Manual for instructions. If the installed Option 01 is used in a Tektronix mainframe, all Option 01 cooling requirements are met.
Getting Started Connectors Option 01 Switching Module Connectors Figure 1–3: Mounting the Option 01 Option 01 VXI Interface Module User Manual 1–7
Getting Started 4. Make sure that the mainframe power is off. 5. Insert the module with the Option 01 installed into one of the instrument slots of the mainframe (see Figure 1–4). Refer to the User Manual for the switching module for detailed installation instructions.
Getting Started Installation Checklist Installation parameters will vary depending on the mainframe being used. Be sure to consult the mainframe operating manual before installing and operating the module. Revision Level: __________ Serial No.
Getting Started Functional Check The Option 01 VXI Interface Module executes a self test at power-on, on direction of a VXIbus hard or soft reset condition, or on command. The power-on self test consists of an interface self test and an instrument self test. The self test requested by command performs only the instrument self test. A VXIbus hard reset occurs when another device, such as the VXIbus Resource Manager, asserts the backplane line SYSRESET*.
Getting Started During a commanded self test: 1. SYSFAIL* is not asserted. 2. The module executes the same instrument self test as is executed upon power on. 3. When the self test is completed, the modules controlled by the Option 01 are restored to their pre-test state. SYSFAIL* Operation SYSFAIL* becomes active during power-on, hard or soft reset, or self test, or if the module loses 5 V power. When the mainframe Resource Manager detects SYSFAIL* set, it will attempt to inhibit the line.
Operating Basics The Option 01 VXI Interface Module is a VXIbus message-based instrument and communicates using the VXIbus Word Serial Protocol. The module is programmed by issuing ASCII characters from the system controller to the Option 01 via the module VXIbus commander and the VXIbus mainframe backplane. Refer to the manual for the VXIbus device that will be the Option 01 daughter board’s commander for details on the operation of that device.
Operating Basics Instrument I/O: VXIbus Basics NOTE. If the user’s mainframe has other manufacturers’ computer boards operating in the role of VXIbus foreign devices, the assertion of BERR* (as defined by the VXIbus Specification) may cause operating problems on these boards. The Option 01 Module, when installed on a switching module, is a C-size single slot VXIbus Message-Based Word Serial instrument.
Operating Basics The module also supports the Fast Handshake Mode during readback. In this mode, the module is capable of transferring data at optimal backplane speed without needing the commander to test any of the handshake bits. The Option 01 daughter board asserts BERR* to switch from Fast Handshake Mode to Normal Transfer Mode, per VXI Specification. The Option 01 Read Ready, Write Ready, DIR and DOR bits react properly, in case the commander does not support the Fast Handshake Mode.
Operating Basics Configuration Registers Table 2–1 contains a list of the Option 01 Configuration registers and a complete description of each register. The offset is relative to the module base address.
Operating Basics The contents of the Device register of the Option 01 Module depends on the model number of the relay module that it is installed on, as shown in Table 2–3. Table 2–3: Device Register Bit Definitions Relay Model No.
Command Syntax Command protocol and syntax for the Option 01 daughter board are as follows: H A command string consists of a string of ASCII-encoded characters terminated by a .
Command Syntax In the next example, the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of the first VX4330. The commands route:configure:join m1,(1:6) route:configure:join m2,(1:2) route:configure:join m3,(1:4) connect the commons of sections 1 through 6 on the first VX4330, sections 1 and 2 on the second VX4330 and sections 1 through 4 on the third VX4330.
Command Syntax In the query route:close? (@m1(1:64)) the query header is the string “route:close?”. The argument associated with this query is the channel list “(@m1(1:64))”. At least one white space character must be sent before the channel list argument. Syntax Example H All characters in a command can be sent in either upper or lower case form. H Multiple data parameters passed by a command are separated by a comma (,).
Command Syntax SCPI/IEEE 488.2 Command Elements The definition of elements used in SCPI/IEEE 488.2 commands and command descriptions is as follows: ASCII integer representation of a decimal number. ASCII integer, fixed point or floating point representation of a decimal number. A user-defined ASCII string to be associated with the local bus address of a relay module.
Command Syntax H VX4350 General Purpose Switching module: The range of this field is 1 to 64. It specifies one of 64 relays on the VX4350. H VX4380 Matrix: ! ! The range of the first field is 1 to 4. It specifies the row of a relay in one of the sections of the VX4380. The range of the second field is 1 to 16. It specifies the column of a relay in one of the sections of the VX4380. The range of the third field is 1 to 4. It specifies a section of the VX4380.
Command Syntax The following are examples of valid s for Tektronix VX4320, VX4330, VX4350, VX4372, VX4374, and VX4380 relay modules. In these examples it is assumed that the Option 01 is installed on a VX4320 Module. A VX4330, VX4350, VX4372, VX4374, and VX4380 are installed in consecutive slots to the right of the VX4320. The default module names for the VX4320, VX4330, VX4350, VX4372, VX4374 and VX4380 in this example are m1, m2, m3, m4, m5, and m6 respectively.
Command Syntax As the syntax diagram shows, channels on more than one relay module may be specified in a . The next example specifies channels on three different relay modules. Channels Specified (@m1(1!1), m2(4!6), m6(3!13!2)) Channel 1 of section 1 on the VX4320, Channel 4 of section 6 of the VX4330, and the channel on the VX4380 that connects row 3 to column 13 in section 2.
Command Syntax specified in a [ROUTe:]CLOSe command, the last channel specified will be closed. For example, the commands route:configure:join m2,(1:6) route:close:mode scan,m2,(1:6) join the commons of all six sections of the VX4330 Module and set the mode of the [ROUTe]:CLOSE to scan mode for all six sections of the VX4330. The command route:close (@m2(1!1,1!6)) will then result in channel 1 of section 6 being closed and all other channels on the module being opened.
Command Syntax For commands directed to a VX4372 or VX4374 which has two scanner sections: Sections Specified Section 1 (1,2) Sections 1 and 2 (1:2) Sections 1 and 2 error/event queue When the command parser detects a syntax error or data range error, it places an error message describing the error in the Error/Event queue. Bit 2 of the Status Byte Register is set to indicate that this queue is not empty.
Functional Command Groups This section lists the Option 01 system and module commands. System Commands The following low-level commands are typically sent by the module’s commander, and are transparent to the user of the module. (An exception is the Read STB command, which is sent whenever a Serial Poll on an IEEE-488 system is performed.) Most commanders or Slot 0 devices have specific ASCII commands that cause the commander to send one of these low-level commands to a specified instrument.
Syntax and Commands Table 3–1: Summary of Option 01-Specific SCPI Commands Subsystem Command Functions Controlled ABORt Place initiated scan in the idle state CLOSe Close specified relays; DWELl CONFigure Configuration: DISJoin, JOIN ID? Return model numbers of modules controlled by the Option 01 INITiate Place trigger subsystem in armed state: IMMediate, CONTinuous MODule Module name functions: DEFine, CATalog?, DELete MODE VX4330 only; set mode to scan or mux OPEN Open specified relays:
Syntax and Commands Table 3–2: Summary of IEEE-488.2 Common Commands (Cont.) Command/Syntax Description Reset* *RST The Option 01 VXI interface is placed in its power-up state with some exceptions. Service Request Enable *SRE Sets the contents of the Service Request Enable register. Service Request Enable Query *SRE? Returns the current value of the Service Request Enable register in format.
Command Descriptions This section lists the Option 01-specific SCPI commands and queries in alphabetic order. The IEEE-488.2 Common Commands are listed in the next section.
Command Descriptions TRIGger[:SEQuence]:COUNt TRIGger[:SEQuence]:DELay TRIGger[:SEQuence][:IMMediate] TRIGger[:SEQuence]:SOURce BUS | HOLD | IMMediate | TTLTrg 3–16 Option 01 VXI Interface Module User Manual
Command Descriptions ABORt Command Syntax ABORt Query Syntax N/A *RST Value N/A Limits N/A Related Commands Description Examples ROUTe:SCAN INITiate[:IMMediate] TRIGger[:SEQuence]:SOURce TRIGger[:SEQuence]:IMMediate TRIGger[:SEQuence]:COUNt TRIGger[:SEQuence]:DELay This command places an initiated scan sequence in the idle state. The following example defines a scan sequence of 10 relays. The sequence is aborted after the third relay in the sequence is closed.
Command Descriptions 3–18 Command Response Open the second relay and close the third relay in the sequence. Abort the scan sequence.
Command Descriptions CLOSe Command Syntax Query Syntax Query Response *RST Value Limits "# "# Indicates which relays are closed. All relays on all modules are set to the open position. The limits on the relay numbers in the portion of this command depend on the model number of the relay module(s) specified in the .
Command Descriptions VX4330, VX4350, and VX4380 for more information on the format of relay numbers for these modules. Related Commands Description Examples 3–20 [ROUTe:]OPEN [ROUTe:]MODule:DEFine OUTPut:TTLTrg[:STATe] This command closes the relays specified in the portion of this command. In these examples the Option 01 is installed on a VX4350 Module. A VX4380 and VX4320 are installed in consecutive slots to the right of the slot containing the VX4350.
Command Descriptions Command Syntax [ROUTe:]CLOSe :DWELl, Query Syntax *RST Value Limits Related Commands Description Examples N/A The close dwell time of all modules is set to 0 seconds. The value of the time specified in this command must be between 0 and 6.5535 seconds. [ROUTE:]CLOSe [ROUTe:]SCAN OUTPut:TTLTrg[:STATE] Set the time to wait after closing a relay before proceeding and pulsing any enabled VXI TTL trigger signals.
Command Descriptions After this sequence, each time the VXI TTL trigger 2 is pulsed low, the following sequence of events occurs: 1. One second delay. This is the delay specified in the trigger:Sequence:delay command. 2. The current relay in the scan list is opened. 3. 0.5 second delay. This is the delay specified in the route:open:dwell command. 4. Close the next relay in the scan list. 5. 0.25 second delay. This is the delay specified in the route:close:dwell command. 6.
Command Descriptions Examples In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this module. Command Response Set all six sections of the first VX4330 to mux mode. Configure all six sections of the first VX4330 to 20-to-1 2-wire scanner/mux. Close the first 10 relays in section one of the first VX4330.
Command Descriptions CONFigure Command Syntax [ROUTe:]CONFigure ,, Query Syntax N/A *RST Value N/A Limits Related Commands Description This command is valid only for VX4330 Scanner Modules. The section numbers specified in the portion of this command must be between 1 and 6 for this command.
Command Descriptions Examples In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this module. Command Response route:configure fwire,m1,(1:6) Configure all six sections of the first VX4330 as 10-to-1 4-wire scanners. route:mode scan,m1,(1:3) Set the mode of operation of sections 1, 2, and 3 of the first VX4330 to scan. In this mode, only one channel in a section is closed at a time.
Command Descriptions Scan mode: any one of the inputs can be individually connected to the one-wire output without any concern. Mux mode: any group of even inputs or any group of odd inputs can be connected to the one-wire output at the same time. OWIRE configuration: each section of the VX4330 is a 1×20 Hi wire MUX and a 1×20 Lo wire MUX, with switching between Hi and Low performed automatically. The VX4330 can not function as a 1×40 MUX.
Command Descriptions Limits Related Commands Description Examples N/A [ROUTe:]CONFigure:JOIN [ROUTE:]CONFigure [ROUTe:]CLOSe:MODE Disconnect the commons of all sections of a scanner module. This command is supported for VX4330, VX4372, and VX4374 Modules. In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this module. A VX4374 is installed in the slot to the right of the third VX4330.
Command Descriptions VX4330, if two or more sections that are set to scan mode are joined, then when a [ROUTe:]CLOSe command closes a relay in one of these sections, all relays in the sections are opened before the specified relay is closed. Examples 3–28 In these examples the Option 01 is installed on a VX4330 Module. Two additional VX4330 Modules are installed in consecutive slots to the right of this module. A VX4374 is installed in the slot to the right of the third VX4330.
Command Descriptions ID? Command Syntax [ROUTe:]ID? *RST Value N/A Limits N/A Related Commands [ROUTe:]MODule:CATalog? Description This query returns a list of the model numbers of the modules controlled by the Option 01. The first model number returned is that of the module that the Option 01 is installed on. Subsequent model numbers are those of modules in consecutive slots to the right of the first module. Examples In these examples the Option 01 is installed on a VX4350 Module.
Command Descriptions INITiate Command Syntax INITiate [:IMMediate] Query Syntax N/A Query Response N/A *RST Value Related Commands Description The trigger subsystem is in the idle state. ABORt ROUTe:SCAN TRIGger[:SEQuence][:SOURce] TRIGger[:SEQuence][:IMMediate] TRIGger[:SEQuence][:COUNt] TRIGger[:SEQuence][:DELay] This command places the trigger subsystem in the armed state.
Command Descriptions Command Syntax Command Response trig Open the first relay and close the second relay in the sequence. trig Open the second relay and close the third relay in the sequence. trig Open the third relay in the sequence. Place the trigger subsystem in the idle state. INITiate :CONTinuous Query Syntax N/A Query Response N/A *RST Value Related Commands Description Examples The trigger subsystem is placed in the IDLE state.
Command Descriptions 3–32 Command Response trigger:sequence: source hold Disable all trigger sources. initiate:continuous Place the trigger subsystem in the arm state. trigger:seq:imm Override the hold placed on triggers. Close channel 1 in section 1 of the VX4330. trigger:seq:imm Override the hold placed on triggers. Open channel 1 in section 1, then close channel 2 in section 1 of the VX4330. trigger:seq:sour imm Remove the hold placed on triggers. Set the trigger source to immediate.
Command Descriptions MODule Command Syntax [ROUTe:]MODule [:DEFine] , Query Syntax [ROUTe:]MODule [:DEFine]? Query Response *RST Value See examples. Default module names are assigned as follows: The module that has a Option 01 VXI Interface daughter board installed is assigned module name “M1”. Modules without the Option 01 VXI Interface daughter board in consecutive slots to the right of module “M1” are assigned module names “M2”, “M3”, ..., “M11”.
Command Descriptions Command Syntax Command Response route:module:define matrix,2 Assign module name “matrix” to the VX4380. route:close (@matrix (4!16!3)) Close the relay at row 4 column 16 in section 3 of the VX4380. route:module:define? gp_switch 1 [ROUTe:]MODule :CATalog? *RST Value N/A Limits N/A Related Commands Description Examples 3–34 [ROUTe]:MODule:DEFine[:NAME] [ROUTe]:MODule:DELete[:NAME], [ROUTe]:MODule:DELete:ALL This command returns a list of defined module names.
Command Descriptions Command Syntax [ROUTe:]MODule :DELete [:NAME] Query Syntax N/A *RST Value N/A Limits N/A Related Commands Description Examples Command Syntax [ROUTe]:MODule:DEFine[:NAME] [ROUTe]:MODule:CATalog? [ROUTe:]MODule:DELete[:ALL] This command deletes a module name definition. After this command is executed, the specified module name is no longer associated with a relay module.
Command Descriptions Related Commands Description Examples 3–36 [ROUTe]:MODule:DEFine[:NAME] [ROUTe]:MODule:CATalog? [ROUTe:]MODule:DELete[:NAME] This command will delete all module name definitions.
Command Descriptions OPEN Command Syntax Query Syntax Query Response *RST Value Limits [ROUTe:]OPEN [ROUTe:]OPEN? See examples. All relays on all modules are set to the open position. The limits on the relay numbers in the portion of this command depend on the model number of the relay module(s) specified in the .
Command Descriptions and VX4380 for more information on the format of relay numbers for these modules. The [ROUTe:]OPEN command is not supported for the VX4320 Module. This module contains eight 4-to-1 RF multiplexors. One and only one channel in each multiplexor is closed at all times. Related Commands Description Examples 3–38 [ROUTe:]CLOSe [ROUTe:]MODule:DEFine This command closes the relays specified in the portion of this command.
Command Descriptions Command Syntax Command Response route:open? (@m1(1,2,3,4)) 1100 This response indicates that relays 1 and 2 on the VX4350 are open and relays 3 and 4 on this module are closed. route:open? (@scanner (3!2)) 1 This response indicates that channel 3 of section 2 of the VX4320 is open. Note that a route:module:define scanner,3 command has been received prior to this query.
Command Descriptions Command Syntax [ROUTe:]OPEN :DWELl , Query Syntax *RST Value Limits Related Commands Description Examples N/A The open dwell time of all modules is set to 0 seconds. The value of the time specified in this command must be between 0 and 6.5535 seconds. [ROUTE:]OPEN [ROUTe:]SCAN This command sets the time to wait after opening a relay before proceeding. In the following example the Option 01 is installed on a VX4330 Module.
Command Descriptions 3. 0.5 second delay. This is the delay specified in the route:open:dwell command. 4. Close the next relay in the scan list. 5. 0.25 second delay. This is the delay specified in the route:close:dwell command. 6. Pulse VXI TTL trigger 1 low for 3 sec.
Command Descriptions OUTPut Command Syntax ! ! Query Syntax Query Response *RST Value Related Commands Description Examples 3–42 Indicates whether a VXI TTL trigger is enabled. ROUTe:CLOSe ROUTe:SCAN One or more VXI TTL triggers may be enabled. Triggers that are enabled are pulsed low for 3 sec after a relay is closed by the Option 01 after a time specified by the ROUTe:CLOSe:DWELl command.
Command Descriptions PFAil Command Syntax Query Syntax *RST Value [ROUTe:]PFAil N/A All relays on all modules are opened when power is removed from the VXI chassis. Limits N/A Related Commands N/A Description This command specifies the state that all latching relays on all modules controlled by the Option 01 are to be placed in when power is removed from the VXI chassis containing the modules. must be OPEN or SAME.
Command Descriptions SCAN Command Syntax Query Syntax *RST Value Limits [ROUTe:]SCAN N/A No scan list is defined. The limits on the relay numbers in the portion of this command depend on the model number of the relay module(s) specified in the .
Command Descriptions Related Commands Description TRIGger[:SEQuence]:SOURce TRIGger[:SEQuence]:COUNt TRIGger[:SEQuence]:DELay TRIGger[:SEQuence]:IMMediate INITiate[:IMMediate] [ROUTe:]CLOSe:DWELl [ROUTe:]OPEN:DWELl This command defines a list of relay closures to sequence through. This list is called a scan list. When the ROUTe:SCAN command is received, all relays in this list are opened.
Command Descriptions 3–46 Command Response trigger:sequence: source immediate Define a trigger source of “immediate”. This means to sequence through the scan list without waiting for a trigger event. trigger:sequence:count 5 Sequence through the entire scan list five times. route:close:dwell gp,.5 Wait 0.5 seconds after closing a relay on the VX4350. initiate:immediate Begin sequencing through the scan list.
Command Descriptions STATus Command Syntax STATus :OPERation :CONDition? *RST Value 0 Limits N/A Related Commands N/A Description Examples Command Syntax This query returns the contents of the SCPI Status Operation Condition register. For the Option 01, the value of this register is always equal to 0.
Command Descriptions Examples Command Response status:operation: enable 1 stat:oper:enab? Command Syntax 00001 STATus :OPERation [:EVENt?] *RST Value 0 Limits N/A Related Commands N/A Description Examples Command Syntax This query returns the contents of the SCPI Status Operation Event register. For the Option 01, the value of this register is always equal to 0.
Command Descriptions Examples Command Syntax Command Response status:questionable: condition? 00000 STATus :QUEStionable :ENABle Query Syntax STATus :QUEStionable :ENABle? Query Response *RST Value Indicates whether the Status Operation Event is enabled. 0 Limits N/A Related Commands N/A Description Examples This command sets the contents of the SCPI Status Operation Event Enable register.
Command Descriptions Command Syntax STATus :QUEStionable [:EVENt?] *RST Value Limits N/A Related Commands N/A Description Examples 3–50 0 This query returns the contents of the SCPI Status Questionable Event register. For the Option 01, the value of this register is always equal to 0.
Command Descriptions SYSTem Command Syntax Query Response Each response is terminted with a carriage return and a line feed.
Command Descriptions –211, “Trigger ignored” –213, “Init ignored” –222, “Data out of range; Channel number x on module y” –222, “Data out of range; Channel number x!x on module y” –222, “Data out of range; Channel number x!x!x on module y” –222, “Data out of range; Invalid module address specified” –222, “Data out of range; Invalid section number” –222, “Data out of range; Invalid sequence count” –222, “Data out of range; Invalid trigger delay” –222, “Data out of range; Invalid VXI TTL Trigger level” –222,
Command Descriptions Description Examples Command Syntax If an error condition is detected by the Option 01, it places an error message describing the condition in the error/event queue. The SYSTem:ERRor? query requests the Option 01 to remove the oldest message in the error/event queue and place it into the output queue. If the error/event queue is empty, a “No error” message is placed in the output queue.
Command Descriptions Related Commands Description None This query returns the following ASCII string in the output queue: “1994.0” Examples 3–54 Command Response “1994.0” “1994.
Command Descriptions TRIGger Command Syntax TRIGger [:SEQuence] :COUNt Query Syntax *RST Value Limits Related Commands Description Examples Command Syntax N/A 1 The count specified in this command must be between 1 and 65535. ABORt, ROUTe:SCAN TRIGger[:SEQuence]:SOURce TRIGger[:SEQuence][:IMMediate] TRIGger[:SEQuence]:DELay This command specifies the number of times to sequence through an entire scan sequence.
Command Descriptions *RST Value Limits Related Commands Description Examples Command Syntax 0 The time specified in this command must be between 0 and 6.5535 seconds. ABORt, ROUTe:SCAN TRIGger[:SEQuence]:SOURce TRIGger[:SEQuence][:IMMediate] TRIGger[:SEQuence]:DELay This command specifies the time to wait after a trigger event is detectedbefore opening the current relay in a scan list. A trigger event is enabled with teh TRIGger:[SEQuence]:SOURce command.
Command Descriptions Related Commands Description Examples Command Syntax ABORt, ROUTe:SCAN TRIGger[:SEQuence]:SOURce TRIGger[:SEQuence]:COUNt TRIGger[:SEQuence]:DELay Sequence to the next relay in an initiated scan list without waiting for a trigger event and without waiting the time specified in a TRIGger[:SEQuence]:DELay command. Command Response route:scan (@m1(1,2),m2(1:64)) Define a scan sequence consisting of relays 1 and 2 on relay module “m1” and relays 1 through 64 on module m2.
Command Descriptions TRIGger[:SEQuence][:COUNt] TRIGger[:SEQuence][:DELay] Description This command selects a trigger source. When a trigger event is detected from an enabled trigger source, the next relay in an initiated scan sequence is closed after the current closed relay is opened. The action of opening the currently closed relay and closing the next relay in a scan list is called sequencing the scan list. Specifying BUS in the TRIGger[:SEQuence]:SOURce command enables a IEEE488.
IEEE-488.2 Common Commands This section lists the IEEE-488.2 common commands and queries recognized by the Option 01. *CLS Clear Status. This commands clears the following: Event Status register (ESR) Error/Event queue Output queue *ESE Event Status Enable (ESE) command. This command defines the mask for setting the Event Status Summary bit (bit 5) in the Status Byte register (*STB?).
IEEE-488.2 Common Commands cleared by an *ESR? or *CLS command only. When converted to a binary number, the bits of the ESR correspond to: bit 0 (LSB) 1 2 3 4 5 6 7 (MSB) Operation Complete Request Control Query error Device Dependent error Execution error Command error User Request Power On The Error bits are set whenever the module detects an error. The error values from –100 to –199 are Command errors. Error values from –200 to –299 are Execution errors.
IEEE-488.2 Common Commands *OPC Operation Complete. This command causes the module to set the Operation Complete bit in the Event Status register (ESR) when all pending commands and queries are complete. *OPC? Operation Complete query. This command causes the module to place a “1” in the Output queue when all pending commands and queries are complete. All commands following *OPC are suspended until the pending operations are complete.
IEEE-488.2 Common Commands consecutive slots to the right of module “M1” are assigned module names “M2”, “M3”, ..., “M11”. All sections on all scanner modules are disjoined All sections of all VX4330 Modules are set to operate in the mux mode Close dwell time of all modules is set to 0 seconds Open dwell time of all modules is set to 0 seconds All relays on all modules are opened when power is removed from the VXI chassis *SRE Service Request Enable (SRE) register.
IEEE-488.2 Common Commands exception of bit 6) are also returned in response to a VXI Read STB command. Bit 6 is read destructively in response to a VXI Read STB command. Bit 6 is not read destructively is response to a *STB? query. The Status Byte register is encoded as follows: Bit No. Meaning bit 0 (lsb) Not used bit 1 Not used bit 2 Set when the Error/Event queue contains one or more error messages. bit 3 Not used bit 4 Set when the Output buffer contains one or more query responses.
IEEE-488.2 Common Commands *TRG Trigger Command. This command is equivalent to a VXI Trigger command. This command is valid only after the following commands have been received by the Option 01: Command Description [ROUTe:]SCAN Define a scan list TRIGger [:SEQuence] :SOURce BUS Select a VXI Trigger command as a trigger source. INITiate[:IMMediate] Initiate the scan list. This command places the trigger subsystem in the “ARM” state.
IEEE-488.2 Common Commands trigger system is placed in the IDLE state, the Option 01 will place SCPI –211,“Trigger Ignored” error messages in the Error/Event queue. The IEEE-488.2 Specification equates the *TRG command with an IEEE-488.1 Group Execute Trigger (GET) command. IEEE-488-to-VXI interface modules typically convert IEEE-488.1 GET commands to VXI Trigger commands. For this reason, the Option 01 equates the *TRG command with a VXI Trigger command. *TST? Self Test query.
Status and Events The Status and Event Reporting System reports asynchronous events and errors that occur in the Option 01 VXI Interface Module. This system consists of four 8-bit registers and two queues that you access through the command language. You can use these registers and queues to query the instrument status and control the interrupts that report events.
Status and Events Table 4–1: The Status Byte Register Bit Decimal Value Function 0–1 – Not used. 2 4 Error/Event queue Not Empty indicates that information is contained in the Error/Event queue and is waiting to be read. 3 – Not used. 4 16 Message Available shows that output is available in the Output queue. 5 32 Event Status Bit indicates that one or more events have occurred and the corresponding bits in the Standard Event Status register have been set.
Status and Events Table 4–2: The Service Request Enable Register (Cont.) Bit Decimal Value Function 3 8 Not used 4 16 Message Available Bit indicates that a service request will be generated when a message is placed in the Output queue. 5 32 Event Status Bit indicates that events summarized in bit 5 of the Status Byte register will generate a service request. 6–7 – Not used If, for example, the *SRE? query returns a value of 48, bits 4 and 5 are set in the Service Request Enable register.
Status and Events The following example assumes that all bits have been enabled using the Event Status Enable register (see the next section for information about this register). If a *ESR? query returns a value of 128, bit 7 (decimal value of 128) is set indicating that the instrument is in the initial power-on state. Event Status Enable Register The Event Status Enable register, shown in Table 4–4, controls which events are summarized in the Event Status bit (bit 5) of the Status Byte register.
Status and Events Status and Event Reporting Process Figure 4–1 shows how to use the Status and Event Reporting system. In the explanation that follows, numbers in parentheses refer to the circled numbers in Figure 4–1.
Status and Events When output is sent to the Output queue (for example, a response to a query), the message available bit in the Status Byte register is set to one (4). When a bit in the Status Byte register is set to one and the corresponding bit in the Service Request Enable register is enabled (5), the master status summary bit in the Status Byte register is set to one and a service request is generated (6).
Status and Events Table 4–5: Command Error Messages (Bit 5 in Standard Event Status register) (Cont.) Code Message –121 Invalid character in number –123 Exponent too large Table 4–6 lists the execution error messages that can occur during execution of a command. Parameter y in these error messages represents the local bus address of the module that the error message applies to.
Status and Events Table 4–7 lists the device dependent error messages that can occur during Option 01 operation.
Appendix A: Specifications Table A–1: VXI Instrument Characteristics Characteristics Description VXI General Characteristics The instrument provides a VXI interface that complies with Revision 1.4. The VXI interface is defined by the VXI Consortium, Inc. Interface Type Message Based (1.4) Protocols Word Serial (WSP) TTL Outputs VXI TTLTRG* Lines TTLTRG0* through TTLTRG7* under program control.
Appendix A: Specifications Table A–1: VXI Instrument Characteristics Characteristics EN 55011, Class A FCC Description The instrument complies with the requirements of EN 55011 for radiated, conducted, and magnetic emissions, when installed in a suitable VXI chassis. A suitable VXI chassis is defined as one which contains adequate EMC shielding which makes contact with the RF gasket on the front and rear shields of the VX43xx Module.
Appendix A: Specifications Table A–3: Option 01-Specific Characteristics (Cont.) Characteristics Description Slave Module Model No. Register Contents (hexadecimal) VX4320 F6BF VX4330 F6B5 VX4350 F6A1 VX4380 F683 VXI TTL Trigger Outputs One or more of the VXI TTLTRG* signals may be driven. All TTLTRG* outputs may be disabled. VXI TTL Trigger Inputs One of the VXI TTLTRG* signals may be selected to be polled or to act as an interrupt source to the module’s microprocessor.
Appendix B: Examples This example script demonstrates how the some of the various programmable features of the Option 01 are used to control from 1 to 12 relay modules. These modules can consist of any combination of VX4320, VX4330, VX4350, VX4372, VX4374 and VX4380 relay modules. In these examples, the Option 01 is installed on a VX4320 Module. A VX4330, VX4350, VX4372, VX4374, and VX4380 are installed in consecutive slots to the right of the VX4320.
Appendix B: Examples This response indicates that the Power On bit of the Standard Event Status register is set. This indicates that this is the first time an *ESR? query has been sent to the Option 01 since power was applied to the module. H Check the contents of the Standard Event Status register again. WRITE READ *ESR? 000 The content of the Standard Event Status register is equal to zero because this register is read destructively.
Appendix B: Examples H Open channels 11 through 20 on the VX4350 Module. WRITE H open (@m3(11:20)) Query the close state of channels 1 through 20 on the VX4350 Module. WRITE READ close? (@m3(1:20)) 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 A query response of 1 indicates that the corresponding channel is closed, and a response of 0 indicates that the channel is open. H Query the open state of channels 1 through 20 on the VX4350 Module.
Appendix B: Examples H Query the close state of the relays in section 4 of the VX4380. WRITE READ route:close? (@m6(1!1!4:4!16!4)) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Note that the channel close states are returned in the following order: 1!1!4, 1!2!4, 1!3!4, ..., 1!16!4, 2!1!4, 2!2!4, 2!3!4, ..., 2!16!4, 3!1!4, 3!2!4, 3!3!4, ..., 3!16!4, 4!1!4, 4!2!4, 4!3!4, ...
Appendix B: Examples WRITE H Set the number of times to sequence through the defined scan list to 3. WRITE H *SRE 32 *ESE 1 Sequence through the scan list 3 times and set the Operation Complete bit in the Standard Event Status register when finished. WRITE WRITE H trigger:sequence:source immediate Enable the Operation Complete bit of the Standard Event Status register to generate a VXI Request True interrupt to the commander of the Option 01 Module.
Appendix B: Examples H Check the contents of the Status Byte register. WRITE READ The *ESR? query caused the Operation Complete bit of the Standard Event Status register to be cleared. This caused bit 5 of the Status Byte register to be cleared, which caused bit 6 of the Status Byte register to be cleared.
Appendix C: User Service This appendix contains service-related information for the Option 01 that covers the following topics: H Performance Verification H Preventive maintenance H Troubleshooting H User-replaceable parts Performance Verification Consult the User Manual of the module on which the Option 01 is mounted. You may use the Functional Check procedure listed in the Getting Started section of that manual to verify that the module is operating correctly.
Appendix C: User Service User-Replaceable Parts Refer to Appendix D for replaceable parts information.
Appendix D: Replaceable Parts This section contains a list of the replaceable modules for the . Use this list to identify and order replacement parts. Parts Ordering Information Replacement parts are available through your local Tektronix field office or representative. Changes to Tektronix products are sometimes made to accommodate improved components as they become available and to give you the benefit of the latest improvements.
Appendix D: Replaceable Parts Using the Replaceable Parts List This section contains a list of the mechanical and/or electrical components that are replaceable for the . Use this list to identify and order replacement parts. The following table describes each column in the parts list. Parts List Column Descriptions Column Column Name Description 1 Figure & Index Number Items in this section are referenced by figure and index numbers to the exploded view illustrations that follow.
Appendix D: Replaceable Parts Manufacturers Cross Index Mfr.
Appendix D: Replaceable Parts Replaceable Parts List Fig. & Index Number Tektronix Part Number Serial No. Effective Serial No. Discont’d Qty Name & Description Mfr. Code Mfr. Part Number 070–9180–XX 1 MANUAL,TECH:USERS 80009 070–9180–01 070–9198–XX 1 MANUAL,TECH:QUICK REFERENCE GUIDE,VXI INTERFACE OPT 01 TK2548 070–9198–00 1 163–0431–01 1 IC,MEMORY:CMOS,EPROM,PRGM (U31,REF. DESIG. PRINTED ON CKT. BRD.) 80009 163–0431–01 2 160–9792–00 1 IC,DIGITAL:CMOS,PRGM (U45,REF. DESIG.
Glossary and Index
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. Not all terms appear in every manual. Accessed Indicator An amber LED indicator that lights when the module identity is selected by the Resource Manager module, and flashes during any I/O operation for the module.
Glossary 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. 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.
Glossary D-Size Card A VXIbus instrument module that is 340.0 × 366.7 mm × 30.48 mm (13.4 × 14.4 in × 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 VXIbus subsystem backplane.
Glossary 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.
Glossary MODID Lines Module/system identity lines. Physical Address The address assigned to a backplane slot during an access. Power Monitor A device that monitors backplane power and reports fault conditions. P1 The top-most backplane connector for a given module slot in a vertical mainframe. The left-most backplane connector for a given slot in a horizontal mainframe.
Glossary perform according to a given set of standards. A self test routine is performed upon power-on. Servant A VXIbus message-based device that is controlled by a commander. Server A shared memory device that controls the shared memory buffers used in a given Shared Memory Protocol channel. Shared Memory Protocol 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.
Glossary 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. SYSFAIL* A signal line on the VMEbus that is used to indicate a failure by a device. The device that fails asserts this line. System Clock Driver A functional module that provides a 16 MHz timing signal on the Utility Bus.
Glossary 488-To-VXIbus Interface A message based device that provides for communication between the IEEE-488 bus and VXIbus instrument modules.
Index A Accessories, 1–4 ARM, 3–17 C *CLS, 3–59 command, 3–19, 3–24, 3–28, 3–29, 3–32, 3–36, 3–41, 3–42, 3–43, 3–47, 3–51, 3–55 Command Descriptions ARM, 3–17 command, 3–19, 3–24, 3–28, 3–29, 3–32, 3–36, 3–41, 3–42, 3–43, 3–47, 3–51, 3–55 command error messages, 4–6 Command Syntax, 3–1 Syntax Example, 3–3 Commands.
Index R Register Event Status Enable, 4–4 Service Request Enable, 4–2 Standard Event Status, 4–3 Status Byte, 4–1 *RST, 3–61 S Service Request Enable Register, 4–2 Specifications, A–1 *SRE, 3–62, 4–2 *SRE?, 3–62, 4–2 Standard Event Status Register, 4–3 Status, 4–1 Status and Event Reporting Process, 4–5 Index–2 Status and Event Reporting System, 4–1 Status Byte Register, 4–1 *STB?, 3–62, 4–1 Switches, 1–4 Logical Address Switches, 1–4, 1–6 SYSFAIL*, 1–11 System Error and Event que