12.07.2015 Views

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If a particular amplifier gain was selected by <strong>the</strong> last convert command, <strong>the</strong> 16 bitsof data have <strong>the</strong> format:0 1 15S Data OLill 111111 till••••■••\,■•••••■••■•voar/...•••■,,0•1■■•••■■•■,......,X • XFourteen bits of binary data plus sign (S bit) are returned. The single-bit OL field isset on if an overload condition occurred with <strong>the</strong> program-selected amplifier gain.The convert portion of <strong>the</strong> read-and-convert-ADC command converts <strong>the</strong> analog inputpoint specified by <strong>the</strong> last convert command, utilizing <strong>the</strong> same amplifier gain. Thus, ifautomatic gain was specified by <strong>the</strong> last convert command, <strong>the</strong>n automatic gain is also usedby each subsequent execution of <strong>the</strong> read-and-convert-ADC command.Since this command performs repetitive operations on a single analog input point, <strong>the</strong>solid-state multiplexer is monopolized during this time. To terminate this repetitive readsequence and free <strong>the</strong> multiplexer, a read-ADC command must be issued if <strong>the</strong> result of <strong>the</strong>last conversion cycle is needed by <strong>the</strong> program. However, any command o<strong>the</strong>r than <strong>the</strong>read-and-convert-ADC command may be issued to terminate <strong>the</strong> repetitive read sequence.Read ISW0 5 8 11 16 20 26 31Op code R Fun Zeros Mod DA MA0 0 0 0 1 X XX 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 1 0 0 XXXXXXtill i i II fill III 11111 111110 8-F 4 0 3 9 0-3 XThis command stores <strong>the</strong> 16-bit interrupt status word (ISW) associated with <strong>the</strong> analoginput control into <strong>the</strong> index register (R), or <strong>the</strong> accumulator if R=000.Interrupt Status Word (ISW): The 16 bits in <strong>the</strong> interrupt status word are set byconditions occurring after a convert-analog-input, convert-analog-input-with-externalsynchronization,or read-and-convert-analog-input command is completed, but while <strong>the</strong>device is still busy. Since <strong>the</strong>se errors cannot be indicated to <strong>the</strong> program by <strong>the</strong>condition code, interruptions result from setting on any ISW bit except <strong>the</strong> busy bit.Setting on any one of bits 3 through 7 also sets on <strong>the</strong> summary status indicator when <strong>the</strong>resulting interruption request occurs. After <strong>the</strong> interruption is accepted, <strong>the</strong> executionof any command directed to <strong>the</strong> analog input control resets <strong>the</strong> ISW.The significant bits in <strong>the</strong> ISW and <strong>the</strong>ir meanings are:Significant Bits Meaning3 Analog-to-digital converter inoperative.5 Invalid analog data. The polarity of <strong>the</strong> input voltage changed during<strong>the</strong> conversion cycle.7 Overload. The voltage read by <strong>the</strong> ADC was greater than <strong>the</strong> inputvoltage range selected by <strong>the</strong> amplifier.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!