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.

7-140 RIO Block Transfer<br />

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

Rung 2:3<br />

| Copy the BTW status area to an integer file only when a BTW is in progress. This status data is then used |<br />

| throughout the program and limits the number of M-file accesses.<br />

|<br />

| |<br />

| BTW BTW |<br />

| PENDING STATUS |<br />

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

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

| | 1 | |Source #M1:1.200| |<br />

| | | |Dest #N7:64| |<br />

| | | |Length 4| |<br />

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

| | | |<br />

| | | |<br />

| | | |<br />

| | CHECK BTW | |<br />

| | STATUS | |<br />

| | B3 | |<br />

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

| 3 |<br />

Rung 2:4<br />

Unlatch the bit that continues to check the BTW status. When a BTW is complete, the done or error bit is set. The<br />

ladder program must then unlatch the enable bit, then wait for the SN module to turn off the done/error bit before<br />

| another BTW to the same M-file location can be initiated. This completes one BTW cycle.<br />

|<br />

| |<br />

| VIRTUAL |<br />

| BTW DONE CHECK BTW |<br />

| BIT STATUS |<br />

| N7:64 B3 |<br />

|-+----]/[-----+-------------------------------------------------------(U)-----|<br />

| | 13 | 3 |<br />

| | | |<br />

| | | |<br />

| | VIRTUAL | |<br />

| | BTW ERROR | |<br />

| | BIT | |<br />

| | N7:64 | |<br />

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

| 12 |

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

Saved successfully!

Ooh no, something went wrong!