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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Read and Convert ADC0 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 0 1 0 0 1 0 0 XXXXXXI 1 I 1 II 1 1 1 I 1 1 III 1 1 1 1 1 1 1 1 1 1•■■■••■■•■••• ••••••••■■• •–■••••,-■-•0 8-F 4 0 2 9 0-3 XThis command is used for repetitive operations on a single analog input point. Theread-and-convert-ADC command stores <strong>the</strong> binary output value from <strong>the</strong> ADC into <strong>the</strong> indexregister (R), or <strong>the</strong> accumulator if R=000, and starts ano<strong>the</strong>r conversion cycle.Data transferred to <strong>the</strong> register can have ei<strong>the</strong>r of two formats, depending upon whe<strong>the</strong>r<strong>the</strong> last convert command requested automatic gain or selected a particular amplifier gain.If automatic gain was selected, <strong>the</strong> 16 bits of data have <strong>the</strong> format:01 13 15S Data RRRTwelve bits of binary data plus sign (S bit) are returned. The RRR field indicates whichamplifier gain Was automatically selected by <strong>the</strong> amplifier. (Refer to <strong>the</strong> table in <strong>the</strong>"Convert Analog Input" command description.) If RRR=000, an overload conditionoccurred with <strong>the</strong> automatic gain selection.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 OLFourteen 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.The conversion cycle started by a read-and-convert-ADC command does not depend on anexternal synchronization pulse, nor can it be started by an external synchronization pulse.

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

Saved successfully!

Ooh no, something went wrong!