19.08.2013 Views

1747-6.22, Backup Scanner User Manual

1747-6.22, Backup Scanner User Manual

1747-6.22, Backup Scanner User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

M0 File BT Control Buffer Layout<br />

BT Control Flag Definitions<br />

M1 File - Block Transfer Input/Status Buffers<br />

RIO Block Transfer 7-111<br />

Important: The buffer layout below is the same for all 32 BT<br />

buffers. Buffer 1 = M0:e.100... buffer 32 = M0:e.3200.<br />

BT Control Buffer Function<br />

M0 Address where x = buffer # from 1 to<br />

32<br />

Control Flags - See Control Flag<br />

Definitions table below<br />

M0:e.x00<br />

BT Length - 0 through 64 M0:e.x01<br />

BT Address (logical rack, group, and slot) M0:e.x02<br />

Reserved M0:e.x03 through M0:e. x09<br />

BTW Data Locations 0 through 63 M0:e.x10 through M0:e.x73<br />

Definition<br />

Control flags where x = buffer # from 1 to<br />

32<br />

These bits are reserved. M0:e.x00/0 through M0:e.x00/6<br />

Type of BT operation (1 = BTR and 0 =<br />

BTW) 1<br />

M0:e.x00/7<br />

Block Transfer Timeout (TO) = 1 =<br />

Cancel the BT operation. 2<br />

M0:e.x00/8<br />

These bits are reserved. M0:e.x00/9 through M0:e.x00/14<br />

Block Transfer Enable (EN) = 1 =<br />

Enable the BT operation. 3<br />

M0:e.x00/15<br />

1. Bit 7 indicates whether the SLC control program is initiating a BTR or a BTW.<br />

2. You set bit 8 (timeout bit - TO) = 1 to cancel a BT. You can cancel a BT operation (by timing out)<br />

once the Enabled Waiting (EW) bit sets and before the RIO scanner’s internal four second BT timer<br />

times out or the BT completes. Cancelling a BT causes an error (ER) bit to set and an error code to<br />

display in the M1 BT buffer. Note that the Timeout (TO) flag must be cleared before initiating a new<br />

BT. (You can initiate a new BT by clearing the EN flag, waiting for the ER flag to clear, and then<br />

setting the EN bit.) The RIO scanner ignores a BT request if both TO and EN flags are set at the<br />

same time.<br />

3. You set bit 15 = 1 to Enable (EN) a BT operation. You set this bit after you have entered all other<br />

control information i.e., bits 7 and 8 in the M0 BT buffer. You clear this bit after either the Done<br />

(DN) or Error (ER) bits are set in the M1 Status file. See the M1 file BT Buffer Layout section for<br />

more details on the DN and ER bits.<br />

There are 32 BT status buffers allocated in the M1 file. These buffers<br />

indicate the status for all BTR and BTW operations and also contain<br />

BTR input data. Below is the layout of BT buffer 1.<br />

Important: The layout below is the same for all 32 M1 file BT<br />

buffers.<br />

M1:e.100 - Status flags that describe the status of the BTR and BTW<br />

operations. Status flags are described in detail on the following page.<br />

M1:e.101 - Status of actual number of BTW words sent or the<br />

number of BTR words received.<br />

Publication <strong>1747</strong>-<strong>6.22</strong>

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

Saved successfully!

Ooh no, something went wrong!