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

Create successful ePaper yourself

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

7-144 RIO Block Transfer<br />

Rung 2:12<br />

Move the virtual BTW control word to the M0 file for the SN module while a BTW is in progress, and continue doing so<br />

| until the enable, done and error bits are all turned off, completing the hand-shake process.<br />

|<br />

| |<br />

| VIRTUAL BTW |<br />

| BTW ENABLE CONTROL |<br />

| BIT BITS |<br />

| N7:53 +MO----------------+ |<br />

|-+----] [-----+------------------------------------------+MOVE +-|<br />

| | 15 | |Source N7:53| |<br />

| | | | 0| |<br />

| | | |Dest M0:1.200| |<br />

| | | | *| |<br />

| | | +------------------+ |<br />

| | | |<br />

| | | |<br />

| | VIRTUAL | |<br />

| | BTW DONE | |<br />

| | BIT | |<br />

| | N7:64 | |<br />

| +----] [-----+ |<br />

| | 13 | |<br />

| | | |<br />

| | | |<br />

| | VIRTUAL | |<br />

| | BTW ERROR | |<br />

| | BIT | |<br />

| | N7:64 | |<br />

| +----] [-----+ |<br />

| 12 |<br />

| Rung 2:13<br />

|<br />

|-------------------------------------+END+------------------------------------|<br />

| |<br />

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

Bidirectional Alternating Block Transfer<br />

The following rungs demonstrate a bidirectional alternating block<br />

transfer. Using these rungs ensures the block transfer requests are<br />

executed in the order in which they are sent to the queue. This<br />

example also ensures that the block transfer read and block transfer<br />

write alternate. The XIO conditions prevent the BTR and BTW from<br />

queueing simultaneously. The block transfers continue as long as the<br />

XIC precondition bit is true.<br />

Rung 2:0<br />

Configure the BT operation type, length, and RIO address (R, G, S in decimal) at power-up. N7:50/7 must be set to a<br />

"1" to indicate a BTR and N7:53/7 must be a logical "0" to indicate a BTW operation.<br />

| |<br />

| |<br />

| |<br />

| POWER±UP BTR |<br />

| BIT CONTROL |<br />

| S:1 +COP---------------+ |<br />

|----] [----------------------------------------------+-+COPY FILE +-+-|<br />

| 15 | |Source #N7:50| | |<br />

| | |Dest #M0:1.100| | |<br />

| | |Length 3| | |<br />

| | +------------------+ | |<br />

| | | |<br />

| | | |<br />

| | | |<br />

| | BTW | |<br />

| | CONTROL | |<br />

| | +COP---------------+ | |<br />

| +-+COPY FILE +-+ |<br />

| |Source #N7:53| |<br />

| |Dest #M0:1.200| |<br />

| |Length 3| |<br />

| +------------------+ |

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

Saved successfully!

Ooh no, something went wrong!