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.

Digital Input Groups Without Process Interrupt Feature: In latched mode, operation is<strong>the</strong> same as in unlatched mode except under <strong>the</strong>se two conditions.1. Whenever <strong>the</strong> following sequence of instructions is issued, two successive read/resetdigital-input-register commands must be issued to restore <strong>the</strong> digital input circuitsto <strong>the</strong>ir original status:—Set-digital-input-latch-control (bit 15=1).—Set-test-signal (bit 15=1).—3-microsecond delay.2. The following sequence of instructions results in reading <strong>the</strong> user's input value insteadof reading all 0's:—Set-digital-input-latch-control (bit 15=1).—Set-test-signal (bit 15=0).—3-microsecond delay.Digital Input Groups With Process Interrupt Feature: In latched mode, operation is <strong>the</strong>same as unlatched mode except under <strong>the</strong> following conditions:When any of <strong>the</strong> user's input signals are in <strong>the</strong> logical 1 state at <strong>the</strong> same time that a setdigital-input-latch-controlcommand is issued (bit 15=1) followed by a set-test-signal-to-I'sinstruction, a read-digital-input-register command or a read/reset-digital-input-registercommand will read l's for all bits whose inputs were at <strong>the</strong> logical 0-state.Note. If <strong>the</strong> sequence of commands is such that a set-test-signal command (bit 15=0 orbit 15=1) is followed by a mode change (latched to unlatched or unlatched to latched),<strong>the</strong> digital input register is set to <strong>the</strong> all 0's state.Read ISW0 5 8 11 16 20 26 31Op code Fun Zeros Mod DA MA0 0 0 0 1 X X X 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 X 0 0 XXXXXXI III 1 I !III I I I 11111 11111•••■•,-•••0 8-F 4 0 3 0 or 1 0-3 XThis command stores a 16-bit interrupt status word (ISW) into <strong>the</strong> index register (R), or<strong>the</strong> accumulator if R=000.Interrupt Status Word (ISW): No ISW is associated with <strong>the</strong> digital input function unless<strong>the</strong> process interrupt feature is installed. For each process interrupt feature (maximumof two), <strong>the</strong>re is a separate ISW, one for each group with interruption capability.The setting of ISW bits (except <strong>the</strong> busy bit) is indicated to <strong>the</strong> operating programby an interruption request. Interruption requests are presented because of errors detectedin digital input operations, as well as for <strong>the</strong> occurrence of a process interrupt.A read ISW command also resets <strong>the</strong> addressed ISW. The significant bits in <strong>the</strong> ISW and<strong>the</strong>ir meanings are:Significant Bits Meaning3 Open circuit. A digital input circuit breaker has opened during <strong>the</strong>time that <strong>the</strong> corresponding digital input group is busy. This conditionresults in an interruption request.12 Device busy. Digital input group 0 or 1 was addressed and that groupis in an interruption-enabled state. (See "Set Digital Input InterruptControl" previously described in this chapter.) The resultinginterruption on equal or unequal comparison turns off this bit andturns on <strong>the</strong> device-end bit.13 Device-end. A successful compare on equal or unequal has occurredfor group 0 or 1. This causes an interruption request and disablesinterruptions for that group.<strong>IBM</strong> 5013 Digital I/O Module Model Al 14-9

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

Saved successfully!

Ooh no, something went wrong!