12.07.2015 Views

Systems Reference Library - All about the IBM 1130 Computing ...

Systems Reference Library - All about the IBM 1130 Computing ...

Systems Reference Library - All about the IBM 1130 Computing ...

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.

Form GA26-5918-8Page Revised 10/1/70By TNL GN26-0263CE DIAGNOSTIC: These four indicators are used bycustomer engineers (CE's) for diagnostic purposes.The indicators are active only when wired by a CEand do not represent interrupt conditions nor causeinterrupts to <strong>the</strong> program. Therefore, one of <strong>the</strong>o<strong>the</strong>r ten interrupting conditions must occur tocause an update of <strong>the</strong> channel sense word, and thusstoring of <strong>the</strong> CE diagnostic indicators. The CEdiagnostic indicators are always off unless wired foruse by a CE.LCCB Address Word (Error Frame)The address word (error frame) is <strong>the</strong> sixth word in<strong>the</strong> LCCB. This word is used by <strong>the</strong> adapter to store<strong>the</strong> AS address byte and device address byte of areturning channel frame if an error is detected inany portion of <strong>the</strong> channel frame, or if unconditionalinterrupt is on in <strong>the</strong> channel control field (LCCBword 2). The address word (error frame) contains<strong>the</strong> following fields:AS ADDRESS: This field is used to store <strong>the</strong> returningchannel frame AS address byte.DEVICE ADDRESS: This field is used to store <strong>the</strong>returning channel frame device address byte.LCCB Control Word (Error Frame)The control word (error frame) is <strong>the</strong> seventh wordin <strong>the</strong> LCCB. This word is used by <strong>the</strong> adapter tostore <strong>the</strong> control byte and data byte of a returningchannel frame if an error is detected in any portionof <strong>the</strong> channel frame, or if unconditional interrupt ison in <strong>the</strong> channel control field (LCCB word 2). Thecontrol word (error frame) contains three fields,described next.AS RESPONSE: This field is used to store <strong>the</strong> ASresponse digit (bit positions 0 through 3) from <strong>the</strong>returning channel frame control byte. If a datacheck causes <strong>the</strong> returning channel frame to bestored in <strong>the</strong> error frame field, <strong>the</strong> AS responsefield is not valid; that is, it does not contain <strong>the</strong> ASresponse digit from <strong>the</strong> returning channel frame.CHANNEL COMMAND: This field is used to store<strong>the</strong> channel command digit (bit positions 4 through 7)from <strong>the</strong> returning channel frame control byte.Unless a transmission error occurs, this field shouldbe identical to <strong>the</strong> transmitted channel commandlocated in word 2 of <strong>the</strong> LCCB. If a data checkcauses <strong>the</strong> returning channel frame to be stored in<strong>the</strong> error frame field, <strong>the</strong> channel command field isnot valid; that is, it does not contain <strong>the</strong> channelcommand digit from <strong>the</strong> returning channel frame.DATA/STATUS/GUIDANCE: This field is used tostore <strong>the</strong> contents of <strong>the</strong> returning channel framedata byte. The returning channel frame data bytemay contain data, status, or guidance, depending on<strong>the</strong> channel command transmitted and <strong>the</strong> AS responseto <strong>the</strong> command.LCCB Channel Timer Count WordThe channel timer count word is <strong>the</strong> eighth word in<strong>the</strong> LCCB. This word is used to specify <strong>the</strong> numberof times <strong>the</strong> channel can attempt data transfer to corncompletean operation before a channel interrupt to<strong>the</strong> program is generated. The channel timer countis initially set by <strong>the</strong> program while initializing <strong>the</strong>LCCB and is <strong>the</strong>n increased by 1 for each unsuccessfuldata transfer attempt after <strong>the</strong> channel is activated.An unsuccessful data transfer attempt is recognizedwhen a read command acknowledge with busy status,read null acknowledge, a write command acknowledgewith busy status, or a write null acknowledge is receivedin <strong>the</strong> returning channel frame.Bit position 0 of <strong>the</strong> channel timer count word isused to determine when a channel interrupt to <strong>the</strong>program is to be generated. This bit position is interrogatedeach time <strong>the</strong> channel timer count is increased.If bit position 0 is on, a channel timercount overflow is indicated which causes <strong>the</strong> adapterto generate a channel interrupt to <strong>the</strong> program, post<strong>the</strong> condition in <strong>the</strong> channel sense word, and deactivate<strong>the</strong> channel. Thus, <strong>the</strong> maximum count <strong>the</strong>timer may reach before an interrupt is generated is32, 767.DATA ENTRY FORMATSThe format of data entry, as it appears in <strong>the</strong>assigned input data buffer, depends on which deviceenters <strong>the</strong> data. Figure 125 shows <strong>the</strong> data formatthat appears in <strong>the</strong> data buffer for each type of device.Three special characters -- transaction code,guidance, and status -- may be used during a dataentry. They are described in <strong>the</strong> following paragraphs.240

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

Saved successfully!

Ooh no, something went wrong!