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.

The Process Interrupt feature can be used with groups 0 and/or 1 when <strong>the</strong>y are operatingin ei<strong>the</strong>r <strong>the</strong> latched or unlatched mode of operation. In <strong>the</strong> latched mode, each bitthat is set on in <strong>the</strong> group remains in that state (regardless of any fur<strong>the</strong>r change in inputsignal or contact operation) until <strong>the</strong> group is reset or unlatched. <strong>All</strong> bits in <strong>the</strong> group arereset, even if <strong>the</strong> input signal remains active throughout <strong>the</strong> execution of <strong>the</strong> read/resetdigital input register command. In order to again set a bit in <strong>the</strong> digital input register, apositive transition must occur; for example, <strong>the</strong> input point must have gone to a 0 value(+0.6V to —52.8V) and <strong>the</strong>n back to a 1 value (+2V to +52.8V) after <strong>the</strong> digital inputregister was reset. When changing modes, latched to unlatched or unlatched to latched,and <strong>the</strong> user's input value is in <strong>the</strong> logical I state, <strong>the</strong> digital input register indicates alogical 0 until such time as ano<strong>the</strong>r positive transition takes place.In <strong>the</strong> unlatched mode of operation, each bit in <strong>the</strong> group is set on or off dynamicallyas determined by <strong>the</strong> input signal fluctuations. The output of <strong>the</strong> digital input registerfollows <strong>the</strong> user's input value; for example, <strong>the</strong> user's value at a logical 0 results in alogical 0 output from <strong>the</strong> digital input register.Exception: The output of <strong>the</strong> digital input register will not follow <strong>the</strong> user's inputvalue in unlatched mode whenever a switch from latched mode to unlatched mode takesplace and <strong>the</strong> user's input value remains in <strong>the</strong> logical 1 state. Ei<strong>the</strong>r of two methods canbe used to restore <strong>the</strong> digital input register to again reflect <strong>the</strong> user's input values.1. Program <strong>the</strong> following sequence:—Issue a set-test-signal command (bit 15=0).—Establish a 3-microsecond delay.—Issue a read/reset-digital-input-register command.2. Ensure that <strong>the</strong> user's input value returns to a logical 0 after <strong>the</strong> completion oflatched mode operation.Even though <strong>the</strong> Process Interrupt feature is installed, it can be disabled and enabledunder program control at any time. Program control of <strong>the</strong> Process Interrupt feature isprovided by <strong>the</strong> set-digital-input-interrupt-control command.I/O CommandsThe prepare I/O command is used as described in Chapter 4 under "Input/Output Instruction"and in this chapter under "Module Device Addresses." This command applies only togroups 0 and 1 because only <strong>the</strong>se two groups can have <strong>the</strong> Process Interrupt feature. Theprepare I/O device address field must be 000000 for group 0 or 000100 for group 1.Data transfers between <strong>the</strong> digital input control and <strong>the</strong> processor module are accomplishedby immediate read and immediate write commands. The setting of <strong>the</strong> modifierfield bits in <strong>the</strong> command fur<strong>the</strong>r defines <strong>the</strong> operation to be performed.<strong>All</strong> read and write I/O commands addressed to <strong>the</strong> digital input control must use one of<strong>the</strong> following device addresses in order to address <strong>the</strong> corresponding digital input groupseparately:Device Address000000 0000100 1001000 2001100 3010000 4010100 5011000 6011100 7Digital Input GroupThe module address in <strong>the</strong> I/O command varies depending upon <strong>the</strong> physical location of<strong>the</strong> digital I/O module in <strong>the</strong> 5026 Enclosure.The normal programming routines for digital input are shown in Figures F-3 and F-4 of"Appendix F."<strong>IBM</strong> 5013 Digital I/O Module Model Al 14-5

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

Saved successfully!

Ooh no, something went wrong!