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.

Executing any of <strong>the</strong> three commands sets on <strong>the</strong> ISW device-busy bit, which remains onduring <strong>the</strong> conversion time. When <strong>the</strong> conversion is complete, an interruption request ispresented to <strong>the</strong> processor, <strong>the</strong> device-busy bit is turned off and <strong>the</strong> device-end bit isturned on. Condition code 2 is returned to all immediate commands issued (except readISW or read DSW) while <strong>the</strong> module is busy or has a pending interruption.The normal analog input programming routine is shown in Figure F-1 of "Appendix F."Convert Analog Input0 5 8 11 16 20 26 31Op code R Fun Zeros Mod DA MA0 0 0 0 1 XXX 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 XX XXXX1 1 1 1 ii II 1 1 1 1 III 1 1 1 1 1 1 1 1 1 10 8-F 2 0 0 9 0-3 XThis command starts an analog-to-digital conversion cycle based upon control informationcontained in <strong>the</strong> index register (R), or <strong>the</strong> accumulator if R=000. The control informationword has <strong>the</strong> format:0 15Not usedMpxr addrR R R 0 X XXX X XXI I 1 1 1 1 1 1 1 1 1 I I\ws•Ne■•r''..ao.s,••■■■■•■,,awr's■•••■,,■.,0 0-7 0-7 XThe range bits (RRR) in <strong>the</strong> control word specify <strong>the</strong> input voltage range and <strong>the</strong> amplifiergain desired, as shown in <strong>the</strong> following table.RRR Bits Input Voltage Range Amplifier Gain000 Automatic gain001 +10 mV 512010 +20 mV 256011 +40 mV 128100 +80 mV 64101 +160 mV 32110 +640 mV 8111 +5.12V 1When automatic gain is specified (RRR bits =000), <strong>the</strong> optimum gain (one of <strong>the</strong> sevenamplifier gains) is selected automatically, based upon <strong>the</strong> input signal voltage. Theselected gain can be returned to <strong>the</strong> program, along with <strong>the</strong> converted signal data, byissuing a read-ADC command. Since <strong>the</strong> indication of gain requires three bits, <strong>the</strong> inputdata itself is reduced to 12 bits plus sign.The range bits (RRR) have no significance if <strong>the</strong> high-level amplifier is installed.This convert-analog-input command starts an analog-to-digital conversion cycle of <strong>the</strong>analog input point specified by <strong>the</strong> multiplexer address field in <strong>the</strong> control word. Aninterruption request occurs at <strong>the</strong> end of <strong>the</strong> conversion cycle. The results of <strong>the</strong> conversionare <strong>the</strong>n obtained by issuing a read-ADC, a read-ADC-extended-precision, or aread-and-convert-ADC command.With ei<strong>the</strong>r <strong>the</strong> read-ADC command or <strong>the</strong> read-and-convert-ADC command, <strong>the</strong> dataformat is in short form (12 bits plus sign) if automatic gain was specified, or in standardform (14 bits plus sign) if a particular range was specified. The read-ADC-extended-precisioncommand always returns <strong>the</strong> data in standard form.<strong>IBM</strong> 5014 Analog Input Module Model Cl 11-3

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

Saved successfully!

Ooh no, something went wrong!