1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Program File 4<br />
0000<br />
0001<br />
0002<br />
0003<br />
0004<br />
0005<br />
Module Control and Status Word 6-99<br />
The following 6 rungs are meant to be executed only when this processor/BSN is in the Primary Mode. When it is acting as the Primary Processor, this rung copies the DTCW<br />
and DTSW words to internal storage words within the SLC processor, B3:5 and B3:6 respectively, for this example.<br />
Virtual & Actual<br />
DTCW Words<br />
MOV<br />
Move<br />
Source M0:1.3410<br />
?<<br />
Dest B3:5<br />
0000000000000000<<br />
Virtual & Actual<br />
DTSW Words<br />
MOV<br />
Move<br />
Source M1:1.3410<br />
?<<br />
Dest B3:6<br />
0000000000000000<<br />
This rung monitors the DTCW and DTSW bits for Data Block #1. When a transfer of data using Data Block #1 is not in progress, copy up to 128 words to the appropriate<br />
M-file location for Data Block #1 in the BSN module.<br />
Virtual DTCW Bit for Virtual DTSW Bit for<br />
Data Block #1<br />
Data Block #1<br />
B3:5<br />
B3:6<br />
COP<br />
Copy File<br />
0<br />
0<br />
Source #N13:0<br />
Dest #M0:1.3500<br />
Length 128<br />
Virtual DTCW Bit for<br />
Data Block #1<br />
B3:7<br />
L<br />
0<br />
Unlatch the virtual DTCW bit for Data Block #1 when the comparable virtual DTSW bit is set by the BSN module to indicate that it has received the last data via data Block<br />
#1. when B3:7/0 has been unlatched, the BSN module is ready for the next data transfer via Data Block #1.<br />
Virtual DTSW Bit for<br />
Virtual DTCW Bit for<br />
Data Block #1<br />
Data Block #1<br />
B3:6<br />
B3:7<br />
U<br />
0<br />
0<br />
This rung monitors the DTCW and DTSW bits for Data Block #2. When a transfer of data using Data Block #2 is not in progress, copy up to 128 words to the appropriate<br />
M-file location for Data Block #2 in the BSN module.<br />
Virtual DTCW Bit for Virtual DTSW Bit for<br />
Data Block #2<br />
Data Block #2<br />
B3:5<br />
B3:6<br />
COP<br />
Copy File<br />
1<br />
1<br />
Source #N13:128<br />
Dest #M0:1.3628<br />
Length 128<br />
Virtual DTCW Bit for<br />
Data Block #2<br />
B3:7<br />
L<br />
1<br />
Unlatch the virtual DTCW bit for Data Block #2 when the comparable virtual DTSW bit is set by the BSN module to indicate that it has received the last data via data Block<br />
#2. when B3:7/1 has been unlatched, the BSN module is ready for the next data transfer via Data Block #2.<br />
Virtual DTSW Bit for<br />
Virtual DTCW Bit for<br />
Data Block #2<br />
Data Block #2<br />
B3:6<br />
B3:7<br />
U<br />
1<br />
1<br />
This rung copies the Virtual DTCW word (B3:7) to the actual DTCW word (M0:1.3410) located in the <strong>1747</strong>-BSN module. M-file accesses are interrupts to the processor and<br />
using virtual words minimizes M-file accesses and therefore minimizes the effects of these transfers on the ladder program scan time.<br />
Virtual & Actual<br />
DTCW Word<br />
MOV<br />
Move<br />
Source B3:7<br />
0000000000000000<<br />
Dest M0:1.3410<br />
?<<br />
0006 END<br />
Publication <strong>1747</strong>-<strong>6.22</strong>