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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

storage with one XIO initialize read to initiate <strong>the</strong>action. The input/output control command (IOCC)address word contains <strong>the</strong> core storage address of adata table. The first word of <strong>the</strong> table contains <strong>the</strong>scan control bits and word count for <strong>the</strong> operation.The word count is 1 more than <strong>the</strong> number of inputgroups to be read. The scan control bits determinewhe<strong>the</strong>r an interrupt is given and whe<strong>the</strong>r chainingor termination of <strong>the</strong> operation occurs when <strong>the</strong> wordcount reaches O.The word following <strong>the</strong> word count and scan controlbits in <strong>the</strong> data table contains <strong>the</strong> initial inputgroup address for this data table. The data channel"writes" this address into digital input basic, which<strong>the</strong>n initiates reading of <strong>the</strong> input group. After <strong>the</strong>input group is read, <strong>the</strong> data is transferred by <strong>the</strong>data channel to <strong>the</strong> next sequential core storage wordin <strong>the</strong> data table. Upon completion of each datatransfer, <strong>the</strong> word count is decreased by 1 and <strong>the</strong>input group address is increased by 1. The new addresscauses <strong>the</strong> next sequential input group to beread.This operation continues until <strong>the</strong> word countreaches 0. At this time, <strong>the</strong> scan control bits aremonitored. If continuous scanning is indicated, <strong>the</strong>data channel takes four cycles to initialize for <strong>the</strong>next data table. The first cycle transfers <strong>the</strong> wordfollowing <strong>the</strong> first data table to <strong>the</strong> channel addressregister (CAR). This word contains <strong>the</strong> address of<strong>the</strong> next data table. The second cycle reads <strong>the</strong>first word of <strong>the</strong> next data table to <strong>the</strong> B-register.A CAR check is <strong>the</strong>n made. The third cycle transfers<strong>the</strong> word count and scan control bits to digitalinput basic. The fourth cycle transfers <strong>the</strong> initialinput group address for this data table to digital inputbasic. Data transfers <strong>the</strong>n resume by means ofdata channel operations.Figure 46 shows two data tables which could beused for chained sequential operation. In this example,<strong>the</strong> IOCC initiating <strong>the</strong> operation is at locations3042 and'3043.Data channel sequential mode may be used withor without external sync.Data Channel Single AddressData channel single address mode of operation isidentical to data channel sequential mode of operationexcept that <strong>the</strong> initial input group address is notincreased after each data transfer. Therefore, <strong>the</strong>same input group is read repeatedly. The data isplaced in sequential words of <strong>the</strong> data table until <strong>the</strong>word count reaches 0.Location(Decimal) 08 152999Scan Word Count = 1230003001•••30<strong>1130</strong>1 2Location(Decimal)301530163017301 8•••3041304230430 8 15CAR Check Word = 3015Word Count = 25Input Group AddressData Word 12.11, • ... lllData Word 351.1111.11..1Starting Table Address = 2999DI-Initialize ReadInput Group AddressData Word 1 ......-- • -.• ._-11.,.1.0.,■•■■■■Data Word 11Next Table Address = 3015..,............•■•••••IOCC17223BFigure 46. Digital Input Data Tables, Chained Sequential ModeData channel single address mode may be usedwith or without external sync.Data Channel RandomUsing data channel random mode of operation, inputgroups can be read at random into core storage withone XIO initialize read to initiate <strong>the</strong> action. Theinput/output control command (IOCC) address wordcontains <strong>the</strong> core storage address of <strong>the</strong> data table.The first word of <strong>the</strong> table contains <strong>the</strong> scan controlbits and word count for <strong>the</strong> operation. The wordcount is twice <strong>the</strong> number of input groups to be read.The word following <strong>the</strong> word count and scancontrol bits in <strong>the</strong> data table is an input groupaddress. The data channel "writes" this addressinto digital input basic, which <strong>the</strong>n initiatesreading of <strong>the</strong> input group. After <strong>the</strong> inputgroup is read, <strong>the</strong> data is transferred by <strong>the</strong> datachannel to <strong>the</strong> next sequential core storage wordin <strong>the</strong> data table. The data channel <strong>the</strong>n "writes"Digital Input 119

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

Saved successfully!

Ooh no, something went wrong!