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.

The analog-to-digital converter furnishes an overload indication in <strong>the</strong> data word when<strong>the</strong> signal level falls outside of a range that can be converted.A temperature reference attachment is available for use in <strong>the</strong> cold junction compensationof <strong>the</strong>rmocouple inputs.I/O CommandsThe prepare I/0 and halt I/O commands are used as described in Chapter 4 under"Input/Output Instruction" and in this chapter under "Module Device Addresses."Immediate read and immediate write commands transfer data between <strong>the</strong> analog inputcontrol and <strong>the</strong> processor module. The setting of <strong>the</strong> modifier field bits in <strong>the</strong> commandfur<strong>the</strong>r defines <strong>the</strong> operation to be performed.In all I/0 commands addressed to analog input, <strong>the</strong> device address field contents must be100100. The module address varies depending upon <strong>the</strong> physical location of <strong>the</strong> multifunctionmodule in <strong>the</strong> 5026 Enclosure.Usually, a complete operation is performed within <strong>the</strong> time limit required for executionof <strong>the</strong> immediate commands. Exceptions to this rule are two convert commands that start<strong>the</strong> conversion cycle and <strong>the</strong>n permit <strong>the</strong> program to resume normal operation while awaiting<strong>the</strong> interruption request presented by <strong>the</strong> module at <strong>the</strong> end of <strong>the</strong> conversion cycle.Executing ei<strong>the</strong>r of <strong>the</strong> two 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 to thisdevice address (except read ISW) 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 01000000000100100 XX XXXX1 11 II 11 11 i 1 III 11111 11111■••••■•■■■■•••••■■,,••■••■■••,....../......,.,■,0 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, to <strong>the</strong> analog inputmodule. The control information word has <strong>the</strong> format:0 15Not usedMpxr addrR R R 00 0 XX X XX1 1 1 1 1 I 1........„,•■•■••••••••■•••,■•0 0-7 0-1 X<strong>IBM</strong> 5012 Multifunction Module Model Al 13-5

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

Saved successfully!

Ooh no, something went wrong!