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.

An area station requiring service looks for <strong>the</strong> any-address code and captures <strong>the</strong> frameby replacing <strong>the</strong> code with its discrete area station address. This not only identifies<strong>the</strong> area station requesting service, but also prevents any o<strong>the</strong>r area station from capturingthis frame. The area station <strong>the</strong>n inserts <strong>the</strong> address of <strong>the</strong> device that will be servicedinto <strong>the</strong> device address field and inserts a read request response code in <strong>the</strong> controlbyte. The program <strong>the</strong>n generates an outgoing frame containing <strong>the</strong> area station address,device address, a read command, and a 0 data byte. This transmission places <strong>the</strong> areastation in data mode, which permits <strong>the</strong> requesting device to transmit data. The area stationresponds to <strong>the</strong> read command, and <strong>the</strong> program sends out a read null command. The areastation responds to <strong>the</strong> read null command with a read data request when it has a databyte ready to be sent to <strong>the</strong> 2790 Control. This data byte accompanies <strong>the</strong> read data requestresponse. The program <strong>the</strong>n sends out a read data command, to which <strong>the</strong> areastation responds with a read data acknowledge and, again, <strong>the</strong> data byte. This doubletransmission of <strong>the</strong> data byte allows for validation of every data byte transmitted by <strong>the</strong>area station.Under normal operation <strong>the</strong> area station can initiate <strong>the</strong> read-end sequence when it hascompleted a data or transaction code entry. The sequence is started when <strong>the</strong> area stationresponds to a read null command addressed to it with a read end request and normal statusin <strong>the</strong> data byte. The controlling program <strong>the</strong>n sends out a read end command with ei<strong>the</strong>ra guidance character or status information in <strong>the</strong> data field, depending on whe<strong>the</strong>r <strong>the</strong>addressed device is a data entry unit or a device on <strong>the</strong> area station local I/O adapter.Guidance characters apply only to <strong>the</strong> local I/O adapter device.I/O CommandsThe prepare I/O command is used as described in Chapter 4 under "Input/OutputInstruction." Data transfers between <strong>the</strong> 2790 Control and <strong>the</strong> processor module areaccomplished by immediate read and immediate write commands. Modifier field bits in<strong>the</strong> immediate read and write commands fur<strong>the</strong>r define <strong>the</strong> operation to be performed.<strong>All</strong> I/O commands addressed to <strong>the</strong> 2790 Control function must have a device address of100000. The module address varies, depending upon <strong>the</strong> physical location of <strong>the</strong>digital I/O module in <strong>the</strong> 5026 Enclosure. The 2790 Control has two 4-byte bufferregisters, one for input frames and one for output frames. Two immediate writecommands are used to fill <strong>the</strong> output buffer register with a frame for transmission,while two immediate read commands are used to read <strong>the</strong> frame in <strong>the</strong> input bufferregister. The start byte (<strong>the</strong> first byte of a frame) is generated by <strong>the</strong> 2790 Control, sothis byte is not loaded into <strong>the</strong> output buffer or read from <strong>the</strong> input buffer.Write Address0 5 8 11 16 20 26 31Op code R Fun Zeros Mod DA MA0 0 0 0 1 XXX 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 XXXXXX1111 ii 11 1i 11 III 1 1 1 1 1 11111s.......se......"*".•••■„,•••••■••■•■••.,,■•••■■■•••■„,.....,•■••••y■•••■•••••,■•••••••■■■■••.„,.....0,•■■,...••■••0 8-F 2 0 0 8 0-3 XThis command stores <strong>the</strong> area station address and device address bytes into <strong>the</strong> first twobytes of <strong>the</strong> output buffer register in <strong>the</strong> 2790 Control. These two address bytes aretransferred from <strong>the</strong> index register (R), or <strong>the</strong> accumulator if R=000.The write-address command must be issued once to establish <strong>the</strong> desired addresses in<strong>the</strong> output buffer register. Any number of write-control-and-data commands, describednext, can <strong>the</strong>n be issued without having to issue ano<strong>the</strong>r write address command. Ano<strong>the</strong>rwrite address command must be issued only when <strong>the</strong> address(es) must be changed.

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

Saved successfully!

Ooh no, something went wrong!