The document describes the VME hardware which makes up a Gemini Standard Controller.
For each item described below, the important characteristics are given, along with a guide price (which does not include sales taxes but has typical discount rates applied), and a list of one or more suppliers for the items in both the US and the UK. Within the Specification subsections below, lines flagged with the character � are suitable for use in a purchase order for the relevant item.
For those with little or no experience of VME, The VMEbus Handbook by Wade D. Peterson, published by the VFEA International Trade Association is an excellent introductory text.
TABLE 1. MSE/12 VME Crate Specifications -------------------------------------------------------------------------------------- AC Input 115 Volts or 230 Volts auto-sensing, 47 to 63 Hz Input Power 800 Watts maximum @ 75% Efficiency DC Supply +5 Volts @ 8 to 80 AmpsThe crate is delivered with a hardware manual which describes the unit and contains set-up and installation instructions, maintenance and troubleshooting procedures and the wiring schematics.
+12 Volts @ 0 to 8 Amps
-12 Volts @ 0 to 8 Amps Rear Panel Connectors 2 off DB15 cut-outs, 50 off DB25 cut-outs, 4 off DB50 cut-outs
4 off BNC cut-outs, 1 off Centronics cut-out Dimensions 14.0" H x 17.0" W (19" with flanges) x 21.0" D Weight Approximately 40 Pounds Airflow 200 Cubic Feet per Minute, giving 3 CFM per slot minimum. Noise Level 55 dBA Operating Temperature 32� to 122� F
0� to 50� C Humidity 5% to 95% non-condensing Shock 11 ms duration, 15 G peak Approximate Price $ 4,000 (US) [HCE/21: $ 5,000]
� 4,000 (UK) [HCE/21: � 4,600] --------------------------------------------------------------------------------------
TABLE 2. IOC Specifications ------------------------------------------------------------------- Input Power +5 Volts @ 3.5 Amps (typ.), 4.5 Amps (max.)
+12 Volts @ 1 Amp (max.)
-12 Volts @ 0.1 Amps (max.) Connections I/O is via the VMEbus P2 connector & TM1x7 module Dimensions 1 slot x 6U Forced Air 32� to 131� F
Temperature 0� to 55� C Humidity 5% to 90% non-condensing Approximate $ 6,500 (US)
Price � 4,100 (UK) -------------------------------------------------------------------
Similar to the Installation Guide, in slightly more detail.
External signal connections, board parts list, full circuit diagrams.
Board-level hardware description, I/O chip register maps.
Description of diagnostics and built-in test software.
Other debugger commands, system calls, booting etc.
TABLE 3. Transition Module Specifications ------------------------------------------------------------------------ Input Power nil Connections DIN41612 96-way socket for connection to MVME167,The cables needed to wire this unit up to the backpanel of the MSE/12 are described in Section 3.2 on page 18 below, with drawings and parts lists given in Appendix B.0.
4 off EIA-232-D Serial ports via 2 off IDC50 connectors,
Ethernet via IDC20 connector, SCSI via IDC50 connector,
Centronics Printer via IDC36 connector. Dimensions 5.1" W x 4.6" D Approximate $ 150 (US)
Price � 95 (UK) ------------------------------------------------------------------------
TABLE 4. Time Bus Module Specifications ------------------------------------------------------------------------------------- Input Power +5 Volts @ 1.5 AmpsDocumentation is provided with the card in the form of an Operation and Technical Manual describing the card's features, installation and set-up instructions, programming model, hardware interfaces, and circuit diagrams and a parts list for the board. The GPS receiver has an additional manual describing its extra functions.
+12 Volts @ 0.05 Amps
12 Volts @ 0.03 Amps Connections 2 off BNC sockets for IRIG-B timecode Input and Output,
DB15 socket for various clock and event signals,
High-Density DB15 plug for GPS receiver module connection.
Non-GPS signals are also available via the P2 backplane connector. Dimensions 1 slot x 6U Operating 32� to 158� F
Temperature 0� to 70� C Humidity 5% to 90% non-condensing Approximate Price $ 2,000 (US) [bc637VME: $ 4,000]
� 2,000 (UK) -------------------------------------------------------------------------------------
TABLE 5. Synchro Bus Module Specifications --------------------------------------------------------------------------- Input Power +5 Volts @ 5 Amps (max.) Connections 2 off 2.5 mm ST bayonet sockets for input and output fibres.Each card is supplied with a Product Manual which describes the card and its programming interface, card installation and set-up, VMIC's warranty and repair policy, and a complete parts list and circuit diagram.
Maximum 1,000 ft fibre between nodes. Dimensions 2 slots x 6U Operating 32� to 113� F
Temperature 0� to 45� C Humidity 20% to 80% non-condensing Approximate $ 7,600 (US)
Price � 5,800 (UK) ---------------------------------------------------------------------------
-------------------------------------------------- Feet Metres Feet Metres -------------------------------------------------- 01 5 1.5 06 200 60.9 02 25 7.6 07 350 106.7 03 50 15.2 08 500 152.4 04 100 30.4 09 1,000 304.8 05 150 45.7 --------------------------------------------------
TABLE 6. DC Servo Controller Specifications --------------------------------------------------------------------- Input Power +5 Volts @ 1.5 AmpsThe documentation for the PMAC consists of a 2 inch thick Users Manual plus an addendum which document the firmware, and a 41 page hardware reference covering the external connections and jumper settings, optional accessories, and circuit-diagrams.
+12 Volts @ 0.3 Amps
-12 Volts @ 0.25 Amps Connections IDC plugs on front panel for various connections.
Motors and encoders connect via VMEbus P2 connector(s). Dimensions 2 slots x 6U Operating 32� to 140� F
Temperature 0� to 60� C Humidity 10% to 95% non-condensing Approximate $ 3,200 (US) [8 channel: $ 4,000], [DPRAM: +$ 400]
Price � 2,900 (UK) ---------------------------------------------------------------------
TABLE 7. Stepper Motor Controller Specifications -------------------------------------- Input Power +5 Volts @ 3 Amps (max.) Connections via VMEbus P2 connector. Dimensions 1 slot x 6U Operating 32� to 122� FThe OMS card comes with a User's Manual which describes the card, jumper settings and external connections, the programming interface and firmware command structure, Oregon's warranty and repair procedures and a full circuit diagram.
Temperature 0� to 50� C Humidity 0% to 90% non-condensing Approximate $ 1,900 (US)
Price � 1,800 (UK) --------------------------------------
TABLE 8. TTL I/O Specifications --------------------------------------------------------------- Input Power +5 Volts @ 2.7 Amps (typ.), 4.2 Amps (max.). Connections 2 off IDC50 plugs on front panel. OutputThe card is supplied with a manual which describes the connections and jumper settings, programming interface and full circuit diagrams.
Vol = 0.5 Volts @ 48 mA, 0.4 Volts @ 16 mA
Characteristics Voh = 2.0 Volts @ 15 mA, 2.4 Volts @ 3 mA Dimensions 1 slot x 6U Operating 32� to 149� F
Temperature 0� to 65� C Humidity 5% to 95% non-condensing Approximate Price $ 700 (US)
� 600 (UK) ---------------------------------------------------------------
TABLE 9. Digital Output Specifications ---------------------------------------------------- Input Power +5 Volts @ 1.62 Amps (typ.). Connections 2 off IDC50 plugs on front panel. OutputThe card is supplied with a manual which describes the connections and jumper settings, programming interface and full circuit diagrams.
Iol = 100 mA max.
Characteristics Voh = 30 Volts max. Dimensions 1 slot x 6U Operating 32� to 149� F
Temperature 0� to 65� C Humidity 5% to 95% non-condensing Approximate Price $ 700 (US)
� 600 (UK) ----------------------------------------------------
TABLE 10. Analogue Input Specifications ---------------------------------------------------------------------- Input Power +5 Volts @ 2.1 Amps. Connections IDC50 plug on front panel. Inputs 0 to +10 Volts, 10 MΩ �ιν., 100 �&PHgr; �αξ. Conversion 12 bits, linearity �0.5 LSB, accuracy �0.01% FSR max.,The card is supplied with two manuals, for the card and the AMD Am9513 chip which it uses for conversion sequencing. The card manual describes the module and its connections, installation and jumper settings, programming, and the calibration procedure, and also includes full circuit diagrams.
temperature drift 40 ppm/�C max. Dimensions 1 slot x 6U Operating 32� to 149� F
Temperature 0� to 65� C Humidity 5% to 95% non-condensing Approximate $ 1,400 (US)
Price � 1,300 (UK) ----------------------------------------------------------------------
TABLE 11. Analogue Output Specifications -------------------------------------------------------------------- Input Power +5 Volts @ 2.5 Amps (typ.), 3.6 Amps (max.). Connections Panduit plug on front panel, test I/O via VMEbus P2 Outputs �10 Volts (-040) or 0 to +10 Volts (-140) @ 5 mA max. Conversion Gain error �0.05% FSR typ., Offset �0.025% FSR,The card is supplied with an Instruction Manual which describes the module and its connections, gives configuration and installation instructions including calibration, describes the programming interface and VMIC's warranty and repair procedures, and also contains full circuit diagrams and parts lists.
Linearity �0.25 LSB typ., Temperature drift �10 ppm/�C Dimensions 1 slot x 6U Operating 32� to 131� F
Temperature 0� to 55� C Humidity 20% to 80% non-condensing Approximate $ 2,400 (US)
Price � 2,000 (UK) --------------------------------------------------------------------
The MSE/12 chassis is delivered with a US-style power cable. Note that as well as being fitted with a US plug, the cable is not rated for European mains voltage, thus it should only be used with 110 Volt mains --- a different IEC mains cable is required for 240 Volt operation.
Before installing any cards into the chassis, it is recommended that the power supply output be checked, although step 6 below may be omitted if the necessary equipment or suitably knowledgeable personnel are not available.
The �12 Volt supplies may not be within specification if there is no load on the 5 Volt rail, indicated by the relevant LED's glowing faintly. For this reason there is little to be gained in measuring these voltage rails unless there is a particular reason to suspect the PSU. If desired a suitable load resistor (I used a 50 Watt 0.5 Ohm load) can be connected between the busbars to draw at least 8 Amps from the 5 Volt supply, at which the 12 Volt rails should be within range (� 5%).
This completes the testing of the enclosure. Switch the unit off, unplug from the mains and remove any testing apparatus.
TABLE 12. TM1x7 Jumpers X1 to X4 --------------------------------------------------- Pin Signal Pin Signal DTEJumper X6 allows configuration of the Transmit and Receive clock lines for Serial Port 4. The other ports do not support these signals, which are only needed for synchronous devices which require an external clock signal to be connected. Jumpers J9 and J10 on the MVME167 card are used to set the direction of the clock signals.
DCE
Setting Setting --------------------------------------------------- 1 TXD 2 Port pin 2 1-2 1-3 3 Port pin 3 4 RXD 3-4 2-4 5 RTS 6 Port pin 4 5-6 5-7 7 Port pin 5 8 CTS 7-8 6-8 9 DTR 10 Port pin 20 9-10 9-11 11 Port pin 8 12 DCD 11-12 10-12 ---------------------------------------------------
TABLE 13. TM1x7 Jumper X6 ------------------------------------------------- Pin Signal Pin Signal Setting ------------------------------------------------- 1 TRXC4 (P2.A28) 2 Port 4 pin 15 out 3 Port 4 pin 17 4 RTXC4 (P2.A32) out 5 TRXC4 (P2.A28) 6 Port 4 pin 24 out -------------------------------------------------Jumper X7 allows connections to be made to the serial port Protective Ground lines (pin 1). These may be required for correct earthing of serial cable screens, although for development purposes they can usually be left unconnected. The Common signal is not connected anywhere other than to this jumper, and can be grounded using 9-10, or connected to some other ground source if required.
TABLE 14. TM1x7 Jumper X7 --------------------------------------- Pin Signal Pin Signal Setting --------------------------------------- 1 Port 1 pin 1 2 Common out 3 Port 2 pin 1 4 Common out 5 Port 3 pin 1 6 Common out 7 Port 4 pin 1 8 Common out 9 GND 10 Common out ---------------------------------------Jumper X8 is designed for special configuration of the printer port. It should only be necessary to install the jumpers shown if there is a need to use this port and the printer needs the ground return connections on pins 19 to 21.
TABLE 15. TM1x7 Jumper X8 ------------------------------------------------- Pin Signal Pin Signal Setting ------------------------------------------------- 1 Printer pin 19 2 GND [1-2] 3 Printer pin 20 4 GND [3-4] 5 PRFAULT* 6 INPRIME* out 7 GND 8 Printer pin 21 [7-8] -------------------------------------------------If a VME crate is to be installed on the telescope and thus be subject to alignment away from the horizontal, it may be desirable to bolt the Transition Module into the rack. A retainer has been designed for this purpose (see drawing in Appendix B.3, 2 off required), which attaches the board to the rear of the backplane. If these are to be used, the IOC must be installed in the bottom slot, as the other slots do not allow access to suitable mounting screw holes.
The module incorporates a single LED, which indicates that the +12 Volt supply is present. This supply is obtained from the MVME167 card however, so the IOC must also be installed for it to illuminate.
If retainers are to be used, remove the bolts adjacent to the P2 connector of the bottom slot which attach the VME backplane to the chassis, and attach the retainers to the transition module as shown in the assembly drawing. Plug the serial port and Ethernet cables into the relevant IDC plugs on the board. The module plugs into the slot 0 backplane connector, and if used the retaining bolts can be screwed home. Fit the other ends of the cables into their relevant holes in the back panel and attach using the relevant panel mounting kit. Note that Port 1 is the system Console, and should use the relevant back panel cut-out.
TABLE 16. MVME167 Jumper Settings ----------------------------------------------------- Jumper Settings Location ----------------------------------------------------- J1 1-2, 3-4, 5-6, 7-8, 9-10, Near LED's 11-12, 13-14, 15-16 J2 1-2 Near LED's J6 2-3 Near P2 connector J7 2-3 Near P2 connector -----------------------------------------------------Exceptions to the above settings are:
The testing procedure is as follows:
Copyright Motorola Inc. 1988-1994, All Rights Reserved
MVME167 Debugger/Diagnostics Release Version 2.2 - 01/14/94
COLD Start
Local Memory Found =01000000 (&16777216)
MPU Clock Speed =33Mhz
167-Bug>
If the LED sequence is as described but no text appears on the terminal, the most likely cause is the RS232 connections. The use of an RS232 diagnostic box or a Magic Cable is recommended in the event of any problems, as there are so many different ways of interpreting the standard. Also examine the Transition Module cabling, especially the DB25 IDC sockets, and if necessary check the continuity of the connections back to the Transition Module itself.
If the 167-Bug> prompt is not displayed and the board goes straight into the self-tests, it has been left in System mode. To switch back to the normal Bug mode, press the ABORT button on the MVME167 front panel, and type the commands shown in bold type below, including the full stop. All punctuation in the screen displays is significant and often essential to the test.
167-Diag>ENV
Bug or System environment [B/S] = S? B
Field Service Menu Enable [Y/N] = N? N.
Update Non-Volatile RAM (Y/N)? Y
Reset Local System (CPU) (Y/N)? Y
after which the system will reset as shown in step 7 above.
The debug monitor contains extensive self-test software for the devices built into the card. To run the self-tests, type the commands shown in bold type below. The full list of tests has been omitted, and normally the results of all tests appear on the same display line, overwriting the previous test result. The full self-test can take quite a long time (worth a break for coffee while it completes!).
167-Diag>ST
RAM QUIK: Quick Write/Read............ Running --->
and concluding with
167-Diag>
The tests performed are described in detail in the MVME167BUG User's Manual, and do not require any external hardware to run. The manual also lists some extra tests which can be performed but take a long time to execute, require external hardware or which just display extended diagnostic information. If any of the normal self-tests fail, contact your Motorola supplier.
The tests on the remaining cards will be performed using the facilities of the debug monitor, thus it is not necessary to install vxWorks or EPICS on the host workstation before checking the hardware. The points described above about static precautions, card inspection and installation apply to all cards, and will not be repeated.
Although the VMEbus makes no distinction between which slot a card can be installed in, there are a number of signals which are daisy-chained along the bus, thus it makes sense to populate the chassis in order, starting with the slot next to the MVME167 card. If a slot is to be left empty for any reason and there are cards installed further away from the CPU it is essential to install jumpers in the backplane to allow these daisy-chain signals to propagate beyond the gap. Some of the cards described below are 2 slots wide but only make connections to the VMEbus from the first of these slots, and for these cards backplane jumpers must be installed in the second slot. The position of these jumpers is described in the Enclosure Hardware manual, pages 3-4 and 3-5.
TABLE 17. bc635VME Switch Settings ------------------------------------------------ Switch Sets Setting Switch Sets Setting ------------------------------------------------ SW1-1 A6 On SW2-1 A14 Off SW1-2 A7 On SW2-2 A15 On SW1-3 A8 On SW2-3 Bus Type On SW1-4 A9 On SW2-4 Bus Type On SW1-5 A10 On SW1-6 A11 On SW1-7 A12 On SW1-8 A13 On ------------------------------------------------The jumpers select various I/O options associated with the external connections to the card. The default settings are used:
TABLE 18. bc635VME Jumper Settings --------------------------------------------- Jumper Configures Setting --------------------------------------------- JP1 Modulated IRIG-B Timecode 3-4 JP2 Single Ended GPS 1PPS input 1-2 JP3 GPS Receiver Type 1-2 JP4 Auxiliary RS422 Output 3-4, 5-6 JP5 RS422 Input Termination 1-2 ---------------------------------------------
TABLE 19. VMIVME5578 Jumper Settings ----------------------------------------------------------------------- Jumper Configures Setting Jumper Configures Setting ----------------------------------------------------------------------- E2 A24 Address Space Out E1 A31 to A24 Any E3 Supervisor + User Access 2-3 E4 A23 In E5 System Reset Out A22 In E6 26.1 Mbytes/second Out A21 Out E7 Transfer Error Interrupt In A20 In E8 Node ID See Text A19 In E9 Optic Control Factory A18 In -----------------------------------------------------------------------The Node ID jumpers E8 must be set uniquely for every Reflective Memory card on the fibre ring. For development purposes where only a single node is available the setting does not matter, but for the delivered hardware the Node ID will be specified by the Gemini Software and Controls Group.
The 5578 is a double-width module which only makes connections to one of its VMEbus slots, thus when installing it the backplane daisy-chain jumpers must be installed for the second (upper) slot. It is good practice to do this even if there are no cards installed further down the rack in case one is added at a later stage.
F0200005 E1? 0=
**WARNING: NO MATCH**
F0200005 61? .
167-Diag>CF
RAM Configuration Data:
Starting/Ending Address Enable [Y/N] =N ? Y
Starting Address =00000000 ? F0200040
Ending Address =01000000 ? F023FFFC.
167-Diag>RAM
RAM QUIK: Quick Write/Read............... Running ---> PASSED
RAM ALTS: Alternating Ones/Zeroes........ Running ---> PASSED
RAM PATS: Patterns....................... Running ---> PASSED
RAM ADR: Addressability.................. Running ---> PASSED
RAM CODE: Code Execution/Copy............ Running ---> PASSED
RAM PERM: Permutations................... Running ---> PASSED
RAM RNDM: Random Data.................... Running ---> PASSED
RAM BTOG: Bit Toggle..................... Running ---> PASSED
RAM PED: Local Parity Memory Detection... Running ---> BYPASS
RAM REF: Memory Refresh.................. Running ---> PASSED
F0200000 XX27 40XX NNE1 .'@XX.
167-Diag>RAM
RAM QUIK: Quick Write/Read................ Running ---> PASSED
RAM ALTS: Alternating Ones/Zeroes......... Running ---> PASSED
RAM PATS: Patterns........................ Running ---> PASSED
RAM ADR: Addressability................... Running ---> PASSED
RAM CODE: Code Execution/Copy............. Running ---> PASSED
RAM PERM: Permutations.................... Running ---> PASSED
RAM RNDM: Random Data..................... Running ---> PASSED
RAM BTOG: Bit Toggle...................... Running ---> PASSED
RAM PED: Local Parity Memory Detection.... Running ---> BYPASS
RAM REF: Memory Refresh................... Running ---> PASSED
167-Diag>MD F0200000:3
F0200000 XX27 40XX NNE5 .'@XX.
The tests described here assume that only one Reflective Memory card is available. If a second card can be obtained then it is possible to test the communications between the two cards. This is easiest if a second enclosure and IOC are also used as it avoids the need to change the card addresses. Two cards can be tested in the same chassis, but the base address for the second card must be set to 600000, A00000 or E00000 or communication will not take place. Don't forget to set the Node IDs differently for the two cards. The memory area starts 64 bytes (40 hex) above the base address, F0200040 for the normally addressed card.
Further tests including experimenting with direct PMAC commands can be done by building an RS232 cable and connecting the PMAC directly to a terminal or computer. The cable needs a 26-way IDC housing at one end which plugs into J4, and an IDC 25 way female D connector at the other, connecting pin 1 to pin 1. The result is a DCE serial connection, which runs at 9600 baud, 8 bits, no parity, 1 stop bit. These settings can be changed using jumpers on the board --- see the PMAC-VME Hardware Reference Manual for details.
TABLE 20. OMS VME8-8 Jumper Settings --------------------------------------------------------- Jumper Configures Setting Jumper Configures Setting --------------------------------------------------------- J25 A15 Out J15 IRQ1 Out A14 Out IRQ2 Out A13 Out IRQ3 Out A12 Out IRQ4 Out A11 Out IRQ5 In A10 Out IRQ6 Out A9 In IRQ7 Out A8 In J26 J2 Out J27 AM5 Out J1 In AM0 Out J0 Out AM1 In USER Out AM4 In J35 SYNC1 Out A7-A4 See Text SYNC0 Out ---------------------------------------------------------Jumper J34 is not mentioned the table above because it is dependent on the particular application, setting the polarity of the limit inputs for the various motor axes.
The standard EPICS distribution can support up to 8 OMS cards, and the addresses for these are selected using the A7 to A4 pins of jumper J27. The test instructions below assume that the module is set to card 0; adjustments to the addresses given will be needed if a different card number is used. The different settings are as follows:
TABLE 21. OMS VME8-8 Jumper J27 ---------------------------------- A7 A6 A5 A4 ---------------------------------- 0 FC00 In In In In 1 FC10 In In In Out 2 FC20 In In Out In 3 FC30 In In Out Out 4 FC40 In Out In In 5 FC50 In Out In Out 6 FC60 In Out Out In 7 FC70 In Out Out Out ----------------------------------The I/O connections to the OMS card are all made through the P2 backplane connector. The simplest way to make these connections is to use an IDC connector, 64 way DIN41612 using rows A+C. The IDC cable can be split into groups of 8 conductors with each group comprising the signals for one motor axis (see page 4-2 of the User's Manual for the pin assignments).
The module test for the OMS card presented here does not attempt to check the specialised functionality of the card at all, it just verifies that it is possible to send commands to the on-board CPU and that a sensible reply is returned.
FFFFFC00 FFFF FF00 FF00 FF50 FF00 FFFF FFFF FFFF .......P........
FFFFFC01 FF? 'W'
**WARNING:NO MATCH**
FFFFFC01 FF? 'Y'
**WARNING:NO MATCH**
FFFFFC01 0A? =
FFFFFC01 0D?
FFFFFC01 56?
FFFFFC01 4D?
FFFFFC01 45?
FFFFFC01 38?
FFFFFC01 20?
FFFFFC01 76?
FFFFFC01 65?
FFFFFC01 72?
FFFFFC01 20?
FFFFFC01 32?
FFFFFC01 2E?
FFFFFC01 30?
FFFFFC01 39?
FFFFFC01 2D?
FFFFFC01 38?
FFFFFC01 0A?
FFFFFC01 0D? .
The string returned above is ASCII for `VME8 ver 2.09-8'. There may be some difference in the firmware revision number reported in later cards, so the later characters returned may vary slightly. As with the PMAC, the fact that the CPU has interpreted the command correctly and responded implies that OMS card is probably working correctly additional testing would require extra hardware and software and is probably not worth doing.
Chapter 7 of the User's Manual presents a simple demonstration program which can be used to type command strings directly to the card. The program presented is for the VMEPROM debug monitor; a version for the MVME167 card is given below. To use it, either type in the assembly code as shown (the assembler redisplays the instructions in a more verbose form after they are entered), or enter the hex instruction codes directly. The monitor contains a disassembler which should be used to check that the code entered is correct the command DS E000:D lists the routine.
0000E000 11FC0000 FC05 MOVE.B #0,FFFFFC05
0000E006 4E4F0001 SYSCALL .INSTAT
0000E00A 6712 BEQ.B E01E
0000E00C 08380006 FC07 BTST.B #6,FFFFFC07
0000E012 67F8 BEQ.B E00C
0000E014 558F SUBQ.L #2,A7
0000E016 4E4F0000 SYSCALL .INCHR
0000E01A 11DFFC01 MOVE.B (A7)+,FFFFFC01
0000E01E 08380005 FC07 BTST.B #5,FFFFFC07
0000E024 67E0 BEQ.B E006
0000E026 1F38FC01 MOVE.B FFFFFC01,-(A7)
0000E02A 4E4F0020 SYSCALL .OUTCHR
0000E02E 60D6 BRA.B E006
To run the program type G E000. Use the terminal's Break key or the MVME167 ABORT button to return to the debug monitor. It is a good idea to type ENWY as the first commands. The EN will not be displayed (it is a request to the OMS to turn on command echoing), and the WY prints the model and revision string as in the previous test.
TABLE 22. XVME-240 Switch and Jumper Settings ------------------------------------ J/S Configures Setting ------------------------------------ S1 1 IRQ0 Closed 2 IRQ1 Closed 3 IRQ2 Closed S2 1 A10 See Text 2 A11 Closed 3 A12 Open 4 A13 Closed 5 A14 Open 6 A15 Open 7 User Mode Access Closed J2 Short Address B J3-10 Interrupt Inputs Not Used ------------------------------------Position 1 of Switch S2 should be closed for XVME-240 card 0, open for card 1. The tests below assume that card 0 is being tested (base address D000); for card 1, the base address is D400, and the addresses used will need to be modified to match.
All the I/O signals emerge from the two IDC plugs on the front panel see manual pages 2-12 to 2-14 for the pin definitions. The EPICS device driver defines ports 0 to 3 as input signals (connector JK1), and ports 4 to 7 as outputs (JK2), and does not support the use of the Interrupt Input or Flag Output Lines.
FFFFD081 00? 1=
FFFFD000 FF56 FF4D FF45 FF49 FF44 FF58 FF59 FF43 .V.M.E.I.D.X.Y.C
FFFFD010 FF32 FF34 FF30 FF20 FF20 FF20 FF20 FF31 .2.4.0. . . . .1
FFFFD020 FF20 FF31 FF31 FF20 FF00 FF00 FF00 FF00 . .1.1. ........
FFFFD030 FF00 FF00 FF00 FF00 FF00 FF00 FF00 FF00 ................
FFFFD086 0000? 1=
FFFFD086 0001? 2
FFFFD086 0002? 4
FFFFD086 0004? 8
FFFFD086 0008? 10
FFFFD086 0010? 20
FFFFD086 0020? 40
FFFFD086 0040? 80
FFFFD086 0080? 100
FFFFD086 0100? 200
FFFFD086 0200? 400
FFFFD086 0400? 800
FFFFD086 0800? 1000
FFFFD086 1000? 2000
FFFFD086 2000? 4000
FFFFD086 4000? 8000
FFFFD086 8000? FFFF
FFFFD086 FFFF? AAAA
FFFFD086 AAAA? 5555
FFFFD086 5555? 00FF.
FFFFD088 0000? 1=
FFFFD088 0001? 2
FFFFD088 0002?
FFFFD086 00FF? 0
FFFFD088 FFFF? 0
**WARNING:NO MATCH**
FFFFD088 FFFF?
FFFFD08A FFFF? 0
**WARNING:NO MATCH**
FFFFD08A FFFF?
FFFFD08C FFFF? 0
**WARNING:NO MATCH**
FFFFD08C FFFF?
FFFFD08E FFFF? 0
**WARNING:NO MATCH**
FFFFD08E FFFF? .
Additional tests could obviously be added using external hardware, but unfortunately a loop-back cable is not trivial to make because of the way the pinouts of the two connectors have been defined.
TABLE 23. XVME-220 Switch and Jumper Setting --------------------------------- J/S Configures Setting --------------------------------- S1 1 A10 Closed 2 A11 Open 3 A12 Closed 4 A13 Closed 5 A14 Open 6 A15 Open 7 User Mode Access Closed 8 Short Address Closed J2 Short Address B ---------------------------------All I/O signals emerge from the front panel of the card. As these are Open-Collector, an external voltage must be applied if it is desired to monitor or test the outputs (section 2.9 of the manual gives an application example).
FFFFC881 00? 1=
FFFFC800 FF56 FF4D FF45 FF49 FF44 FF58 FF59 FF43 .V.M.E.I.D.X.Y.C
FFFFC810 FF32 FF32 FF30 FF20 FF20 FF20 FF20 FF31 .2.2.0. . . . .1
FFFFC820 FF20 FF31 FF31 FF20 FF00 FF00 FF00 FF00 . .1.1. ........
FFFFC830 FF00 FF00 FF00 FF00 FF00 FF00 FF00 FF00 ................
FFFFC882 00000000? 1=
FFFFC882 00000001? 2
FFFFC882 00000002? 4
FFFFC882 00000004? 8
FFFFC882 00000008? 10
FFFFC882 00000010? 20
FFFFC882 00000020? 40
FFFFC882 00000040? 80
FFFFC882 00000080? 100
FFFFC882 20000000? 40000000
FFFFC882 40000000? 80000000
FFFFC882 80000000? FFFFFFFF
FFFFC882 FFFFFFFF? AAAAAAAA
FFFFC882 AAAAAAAA? 55555555
FFFFC882 55555555? 0.
TABLE 24. XVME-566 Settings --- All Cards ------------------------------------------------------------------------------ Switch Configures Setting Jumper Configures Setting ------------------------------------------------------------------------------ S1 1 IRQ2 Closed J1 Use IACK Daisy-Chain B 2 IRQ1 Open J2 Use IACK Daisy-Chain B 3 IRQ0 Open J3 Short Address Space B S3 7 Short Address Space Closed J5 A/D Format In 8 User Mode Access Closed J16 A/D Format B ------------------------------------------------------------------------------The following table shows the address switch settings, which vary by according to whether the card inputs are to be Single-Ended (SI) or Differential (DI), and also by the card number of each type. The card also has a Pseudo-Differential mode, which can be used and should be treated as another Single-Ended card.
TABLE 25. XVME-566 Address Switch Settings -------------------------------------------------------------------------------- SI[0] SI[1] SI[2] SI[3] DI[0] DI[1] DI[2] DI[3] -------------------------------------------------------------------------------- Register Base 6000 6400 6800 6C00 7000 7400 7800 7C00 S3 1 Closed Closed Closed Closed Closed Closed Closed Closed 2 Open Open Open Open Open Open Open Open 3 Open Open Open Open Open Open Open Open 4 Closed Closed Closed Closed Open Open Open Open 5 Closed Closed Open Open Closed Closed Open Open 6 Closed Open Closed Open Closed Open Closed Open Memory Base 000000 010000 020000 030000 040000 050000 060000 070000 S2 1 Closed Closed Closed Closed Closed Closed Closed Closed 2 Closed Closed Closed Closed Closed Closed Closed Closed 3 Closed Closed Closed Closed Closed Closed Closed Closed 4 Closed Closed Closed Closed Closed Closed Closed Closed 5 Closed Closed Closed Closed Closed Closed Closed Closed 6 Closed Closed Closed Closed Open Open Open Open 7 Closed Closed Open Open Closed Closed Open Open 8 Closed Open Closed Open Closed Open Closed Open --------------------------------------------------------------------------------Finally the available analogue conversion options are as follows:
TABLE 26. XVME-566 Analogue Input Settings ------------------------------------------------- Parameter Option Settings ------------------------------------------------- Input Type Single-Ended J9 A+C, J14 Out, J15 In Differential J9 B, J14 Out, J15 Out Pseudo-DI J9 A+D, J14 Out, J15 In Range 0-10 Volts J8 A, J10 A �5 Volts J8 A, J10 B �10 Volts J8 B, J10 B Gain 1 J7 A+B 4 J7 C+D 10 J7 E+F -------------------------------------------------The card inputs are all connected to the front-panel connector JK1, for which the pinouts are listed in page 2-25 of the manual.
FFFF6081 80? 81=
FFFF6000 FF56 FF4D FF45 FF49 FF44 FF58 FF59 FF43 .V.M.E.I.D.X.Y.C
FFFF6010 FF35 FF36 FF36 FF20 FF20 FF20 FF20 FF31 .5.6.6. . . . .1
FFFF6020 FF20 FF31 FF31 FF20 FF00 FF00 FF00 FF00 . .1.1. ........
FFFF6030 FF00 FF00 FF00 FF00 FF00 FF00 FF00 FF00 ................
167-Diag>CF
RAM Configuration Data:
Starting/Ending Address Enable [Y/N] =N ? Y
Starting Address =00000000 ? F0000000
Ending Address =01000000 ? F000FFFC.
167-Diag>SRAM
SRAM QUIK: Quick Write/Read...................... Running ---> PASSED
SRAM ALTS: Alternating Ones/Zeroes............... Running ---> PASSED
SRAM PATS: Patterns.............................. Running ---> PASSED
SRAM ADR: Addressability......................... Running ---> PASSED
SRAM CODE: Code Execution/Copy................... Running ---> PASSED
SRAM PERM: Permutations.......................... Running ---> PASSED
SRAM RNDM: Random Data........................... Running ---> PASSED
SRAM BTOG: Bit Toggle............................ Running ---> PASSED
SRAM PED: Local Parity Memory Error Detection.... Running ---> BYPASS
SRAM REF: Memory Refresh Test.................... Running ---> BYPASS
It is not a simple matter to get the card to execute an analogue conversion, thus it is not possible to test or calibrate the card without additional software.
TABLE 27. VMIC 4100 Switch and Jumper Settings ---------------------------------------- J/S Configures Setting ---------------------------------------- S2 1 A15 Closed 2 A14 Open 3 A13 Closed 4 A12 Closed 5 A11 Closed 6 A10 Closed 7 A9 Closed 8 A8 Open 9 A7 Closed JB Supervisor Mode Access Out JC 1 Async Updates, Ch 03 Out 2 Async Updates, Ch 47 Out 3 Async Updates, Ch 811 Out 4 Async Updates, Ch 1215 Out 5 Internal Update Trigger Out ----------------------------------------The final address bits are set based on the card number as follows:
TABLE 28. VMIC 4100 Switch S1 --------------------------------------- 1 2 3 4 --------------------------------------- 0 4100 Closed Closed - - 1 4120 Open Closed Not 2 4140 Closed Open Used 3 4160 Open Open - - ---------------------------------------The P3 connector on the front panel provides all the analogue output signals, along with a ground line for each signal --- the pin assignments are given on page 5-9 of the Instruction Manual. The connector itself is not a normal IDC format as it comprises 32 connections and the rows are spaced 0.2 inches apart. According to the manual, the cable connector required for this socket is manufactured by Panduit, part number 120-332-435E.
Testing of the 4100 card is limited by the simple interface which is presents to the programmer.
FFFF4100 0000? C100.
Effective address: FFFF4105
Effective data : 0800
Effective address: FFFF4105
Effective data : 0FFF
The card uses the top data bit (D15) to differentiate between control and DAC data, with the top bit set to indicate control information as in 1 above. Use data values only in the range 0 to FFF.
TABLE 29. Additional VME Hardware Supported by EPICS --------------------------------------------------------------------------------------------- Supplier Model Function Contact --------------------------------------------------------------------------------------------- Acromag 9441 Digital I/O - 16 I, 16 O with opto-isolation gjn Analogic DVX 2502 16-bit high speed analog in, 200 kHz 8 channel winans Analogic DVX 2503 16-bit high speed analog in, 400 kHz 8 channel winans APS FOBO Fibre Optic Binary Output, 16 channel gjn Burr Brown MPV902 Binary output module mrk Burr Brown MPV910 Binary input module mrk Data Cube MaxVideo 20 Integrated Image Processing system djc Data Cube Digimax Digitizer and Display Device djc Data Cube Roi-store Region-Of-Interest Storage Device djc ESRF VAROC Absolute Encoder 16 ch, (any Sync Serial Device) coulter Joerger VTR-1 Waveform analyzer mrk Mizar 8310 Counter/timer (200 nsec res), 10 delay channels jbk Motorola MVME-162 Intelligent IP carrier (not an IOC) winans National 1014 Single port GPIB controller winans Omnibyte COMET Waveform analyzer mrk Oregon VMEX-6 6 axis stepper motor controller jbk Oregon VMEX-4E 4 axis stepper motor controller, 2 incremental encoder jbk Oregon VME44-4E 4 axis stepper motor controller, 4 incremental encoder jbk Pep Modular 5230-1/5230-11 VME Piggyback host and Bitbus Ctlr IP board saunders Xycom XVME-210 Digital input mrk Xycom XVME-402 BITBUS Controller winans ---------------------------------------------------------------------------------------------A more reliable source of information on drivers is the EPICS applications mailing list, as this is received by most EPICS developers. If you are searching for an interface to perform some particular functionality it is often worth asking if another group are already using something similar, as this is quite often the case. To subscribe to the list, send the request "ADD me@my.email.address epics_applications" in the body of an email to listserv@aps.anl.gov.
TABLE 30. TM1x7 Serial Cable Parts List ------------------------------------------------------------ Reference Qty Description RS Part ------------------------------------------------------------ CON1 1 50 way IDC housing, bump polarised 461-247 CON2,3 2 25 way D female, IDC fitting 470-847 4 Screwlock kit 469-617 1 50 way IDC ribbon cable, grey ------------------------------------------------------------The cables should be manufactured according to the following drawing:
Lengths a and b above are different for the two cables:
------------------------------ Cable Cut Cable a b ------------------------------ Ports 1/2 474 452 427 Ports 3/4 450 427 402 ------------------------------
TABLE 31. TX1x7 Ethernet Cable Parts List ------------------------------------------------------------------- Reference Qty Description RS Part ------------------------------------------------------------------- CON4 1 20 way IDC housing, bump polarised 461-203 CON5 1 15 way female D connector - IDC fitting 472-657 (CON5) 1 Slidelock assembly for 15 way D 472-102 1 15 way IDC ribbon cable, grey -------------------------------------------------------------------Manufacture the cable according to the following drawing:
TABLE 32. Standard Controller VME A16 Address Space ----------------------- Start End Card ----------------------- 4000 403F BC635 4100 411F VMI4100[0] 4120 413F VMI4100[1] 4140 415F VMI4100[2] 4160 417F VMI4100[3] 6000 63FF XY566SE[0] 6400 67FF XY566SE[1] 6800 6BFF XY566SE[2] 6C00 6FFF XY566SE[3] 7000 73FF XY566DI[0] 7400 77FF XY566DI[1] 7800 7BFF XY566DI[2] 7C00 7FFF XY566DI[3] C800 CBFF XY220 CC00 CC0F MVME167[0] D000 D3FF XY240[0] D400 D7FF XY240[1] FC00 FC0F OMS[0] FC10 FC1F OMS[1] FC20 FC2F OMS[2] FC30 FC3F OMS[3] FC40 FC4F OMS[4] FC50 FC5F OMS[5] FC60 FC6F OMS[6] FC70 FC7F OMS[7] -----------------------
TABLE 33. Standard Controller VME A24 Address Space -------------------------- Start End Card -------------------------- 000000 00FFFF XY566SE[0] 010000 01FFFF XY566SE[1] 020000 02FFFF XY566SE[2] 030000 03FFFF XY566SE[3] 040000 04FFFF XY566DI[0] 050000 05FFFF XY566DI[1] 060000 06FFFF XY566DI[2] 070000 07FFFF XY566DI[3] 200000 23FFFF VMI5578 7FA000 7FA1FF PMAC[0] 7FA200 7FA3FF PMAC[1] 7FA400 7FA5FF PMAC[2] 7FA600 7FA7FF PMAC[3] --------------------------
TABLE 34. Standard Controller CPU A32 Address Space --------------------------------------------------------- Start End Card --------------------------------------------------------- 00000000 00FFFFFF MVME167 16 Mb DRAM F0000000 F0FFFFFF MVME167 VMEbus Standard Address Space FF800000 FFEFFFFF MVME167 ROM, SRAM FFF00000 FFFEFFFF MVME167 Local I/O Devices FFFF0000 FFFFFFFF MVME167 VMEbus Short Address Space ---------------------------------------------------------