GE IC697VAL348 user manual Test Mode Programming

Page 30

3

Test Mode Programming

Any of the eight DAC outputs may be selected to pass to an ADC board over test bus 2 to verify the DAC outputs. If a MUX is present in the analog backplane then any DAC output can be selected to go to that board for test purposes over test bus 1. Generally the programming sequence for utilizing one of the two test buses is as follows:

If IMMEDIATE DAC UPDATE MODE is employed, then a Control Word should first be written to the CSR. This Control Word information includes which test bus the DAC output is to be routed to, and whether the output is to be isolated or connected to the P3 connector (refer to Table 3-4 on page 3-4 and Table 3-5 on page 3-5). The DAC to be updated is then loaded with a 16-bit word.

The channel is updated and passes out the selected test bus.

An output may also be updated under program control to route to a specified test bus. The board must have previously been jumpered to accommodate the DELAYED DAC UPDATE MODE as shown in “Program Controlled and External Start Convert Mode” on page 2-9. The programming sequence is as follows:

First, a 16-bit word or two 8-bit bytes are written to the address of the DAC channel that is to be updated. The data is stored in the DAC Register and will be converted by setting the proper bits in a Write cycle to the CSR. The CSR must be written to at the same address as that of the DAC channel that has previously been loaded plus 10 HEX. For example, if the user wanted to convert Channel no. 2 which was written to address XXXX0062 HEX, then the Control Word would be written to address XXXX0072 HEX (XXXX0062 and 10 HEX). Data bit D09 when written as "one" to the CSR initiates the analog conversion of the previously stored 16-bit word.

The test modes can only be used if an ADC board exists in the same GE Fanuc analog (P2) backplane as the Digital-to-Analog Converter Board.

GFK-2059

Chapter 3 Programming

3-7

Image 30
Contents GE Fanuc Automation As Used in this Publication CimstarContents Introduction, Description, and Specifications Reference Material and Other GE Fanuc ManualsGeneral Description Functional Description Safety Summary Ground the SystemConfiguration and Installation Physical Installation Do not install or remove boards while power is appliedConfiguration Jumper Function Preset ConditionBefore Applying Power Checklist Digital-to-Analog Converter Board InstallationBoard Address Selection Switches Read this Direction OFF, Open = ON, Closed =Address Modifier Address Modifier Response Selection Digital Code Selection JA Offset Binary TWO’S Complement CodeProgram Controlled and External Start Convert Mode Connector Descriptions Rear View of Board PC Board Row B Signal Mnemonic P2 ConnectorPin Number Row a Signal Mnemonic Row C Signal MnemonicPC Board P3 Connector Row B Signal Mnemonic Row CDigital-to-Analog Converter Board Calibration Table P3 ConnectorDAC Zero Offset and Gain Calibration Channel Offest PotSide Programming DAC Channels 0 to 7 Address Write Only 1Control and Status RegisterDAC Channels Address Map D15 MSB D00 LSBImmediate DAC Update Mode Digital-to-Analog Converter Board Programming Options Control Register Data Format and Definitions D09 D08 Delayed DAC Update Mode Test Mode Programming Program Example Delayed DAC Update Mode END Analog Output Control in Immediate DAC Update Mode Analog Out PathwayControl Word D15 to D0 Hex Value DAC Programming Sequence Delayed DAC Update Mode Analog Output Control in Delayed DAC Update Mode Theory of Operation Operational Overview Immediate DAC Update Mode Program Control Update Mode Digital-to-Analog Converter Board Functional Block Diagram VMEbus Interface Description A01 A02 A03 A04 VMEbus Interface Logic and Interface Signals DIG GND Maintenance