GE IC697VAL348 Digital-to-Analog Converter Board Programming Options, Immediate DAC Update Mode

Page 26

3

Digital-to-Analog Converter Board Programming Options

There are two types of registers that must be written to for proper operation of the DAC board. One is the CSR, and the other is the DAC. The order in which they are written to may differ depending on the method used to start a conversion.

Immediate DAC Update Mode

The IMMEDIATE DAC UPDATE MODE is described in “Program Control Update Mode” on page 4-4 and the board is configured for this mode when received from the factory. Once this has been set up, a 16-bit word can be written to any DAC channel where it will begin immediate analog conversion. When byte transfer (8-bit) is used to load the DAC channel, conversion begins immediately upon the loading of the high byte (D15 to D8).

All eight DAC channels can be initiated to a value, as described in the preceding paragraph, before they are connected to the external circuitry. After powering up the board, load the DAC channels with the initial 16-bit word (or two 8-bit bytes) required (positive true offset binary or binary two's complement coding, Table 3-3 below). A control word can then be written to the CSR to enable the DAC outputs to the P3 connector. The CSR bit description for this mode of operation is detailed in Table 3-4 on page 3-4 and Table 3-5 on page 3-5.

Table 3-3. DAC Data Format Analog Output versus Digital Input (±10 V Scale)

Digital Input Code

Offset Binary Coding

Analog Output Voltage

Two’s Complement

 

 

(MSB)

D15

0000

0100

1000

1000

1100

1111

0000

0000

0000

0000

0000

1111

0000

0000

0000

0000

0000

1111

(LSB)

D0

0000

0000

0000

0001

0000

1111

-10.000V

-5.000V

0.000V

305μV

+5.000V

9.99969V

-Full Scale

-1/2 Scale

Zero

+LSB

+1/2 Scale

+Full Scale

1000

1100

0000

0000

0100

0111

0000

0000

0000

0000

0000

1111

0000

0000

0000

0000

0000

1111

0000

0000

0000

0001

0000

1111

The analog output may be calculated by the input code written by the processor to the selected

DAC channel as follows:

Analog Output = -10 V + ([(Digital Input Code in decimal) X 20]/65536)

GFK-2059

Chapter 3 Programming

3-3

Image 26
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 Pot Side 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 OptionsControl Register Data Format and Definitions D09 D08 Delayed DAC Update Mode Test Mode Programming Program Example Delayed DAC Update Mode END Control Word D15 to D0 Hex Value Analog Output Control in Immediate DAC Update ModeAnalog Out Pathway 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