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.

Read DSW0 5 11 16 20 26 31Op code R Fun Zeros Mod DA MA0 0 0 0 1 XXX 0 1 0 0 0 0 0 0 0 1 1 1 XXXXXX11 1 1 II II MI III t I I I I 11111••■■••■.„,...../.■•■■•■,....1.,•■■••..,0■es•■••••■,■•••■•■■•■,.,■■•,•■•••••,,•■■•• ••■■••,,...1■0 ••■••■,/ma., •0 8-F 4 0 7 0 0-3 XThe read DSW command stores <strong>the</strong> 16-bit device status word (DSW) associated with <strong>the</strong>digital I/O module into <strong>the</strong> index register (R), or <strong>the</strong> accumulator if R=000. Execution ofthis command resets <strong>the</strong> bits in <strong>the</strong> DSW.Device Status Word (DSW): The 16 bits in <strong>the</strong> device status word are set as a result ofdetected error conditions occurring during <strong>the</strong> execution of an immediate command to <strong>the</strong>I/O module. The operating program is notified of <strong>the</strong>se error conditions by returning conditioncode 1 to <strong>the</strong> processor. If o<strong>the</strong>r commands are attempted before resetting <strong>the</strong> DSWbits, condition code 1 continues to be returned to <strong>the</strong> program.The significant bits in <strong>the</strong> DSW and <strong>the</strong>ir meanings are:Significant Bits Meaning1 Command reject. The digital I/O module cannot execute <strong>the</strong>command. (For example, an interruption-causing command issuedto <strong>the</strong> device when it is disabled for interruptions.)3 Open circuit. A digital input circuit breaker is open when <strong>the</strong> digitalinput subaddress was selected.14 Data check. The digital I/O module has detected a parity errorinvolving data. The operation that caused this condition usually canbe retried successfully if <strong>the</strong> error condition is intermittent.15 Invalid device address. An immediate command was issued to a devicethat is not installed in <strong>the</strong> digital I/O module.MODULE DEVICE ADDRESSESI/O commands to <strong>the</strong> digital I/O module use <strong>the</strong> six-bit device address field (bits 20to 25 of <strong>the</strong> PIO instruction) to specify <strong>the</strong> particular function being addressed. The deviceaddress bit assignments for each function are:Device Address Function000000 Digital input group 0 with or without process interrupt feature000100 Digital input group 1 with or without process interrupt feature001000 Digital input group 2001100 Digital input group 3010000 Digital input group 4010100 Digital input group 5011000 Digital input group 6011100 Digital input group 7100000 2790 Control110000 Digital output group 0110100 Digital output group 1111000 Digital output group 2111100 Digital output group 3XXXXYY The last two bits (YY) are <strong>the</strong> quadrant. When YY is not 00, <strong>the</strong>address is assigned to a custom attachment.<strong>IBM</strong> 5013 Digital I/O Module Model Al 14-3

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

Saved successfully!

Ooh no, something went wrong!