1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
1747-6.22, Backup Scanner User Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Program File 3<br />
0000<br />
0001<br />
0002<br />
0003<br />
0004<br />
Programming Techniques 9-167<br />
The following rungs are meant to be executed only when this processor/BSN is in the <strong>Backup</strong> Mode. When it is acting as the Bac kup Processor, this rung copies the DTSW<br />
(Data Table Status Word) to an internal storage word within the SLC processor, B3:3 in this example.<br />
Virtual & Actual<br />
DTSW Words<br />
MOV<br />
Move<br />
Source M1:1.3410<br />
?<<br />
Dest B3:3<br />
0000000000000000<<br />
This rung copies the "new" Data Block #1 data from the secondary BSN to a file within the secondary processor. When the COPy is complete, the DTHW (Data Table<br />
handshake Word) bit for Data Block #1 (B3:4/0 = M0:1.3411/0) must be set to inform the secondary BSN that the secondary processor has received the latest Data Block and is<br />
now ready for the next block of data via Data Block #1.<br />
Virtual DTSW Bit for<br />
Data Block #1<br />
B3:3<br />
0<br />
COP<br />
Copy File<br />
Source #M1:1.3500<br />
Dest #N12:0<br />
Length 128<br />
Virtual DTHW Bit for<br />
Data Block #1<br />
B3:4<br />
This rung copies the "new" Data Block #2 data from the secondary BSN to a file within the secondary processor. When the COPy is complete, the DTHW (Data Table<br />
handshake Word) bit for Data Block #2 (B3:4/1 = M0:1.3411/1) must be set to inform the secondary BSN that the secondary processor has received the latest Data Block and is<br />
now ready for the next block of data via Data Block #2.<br />
Virtual DTSW Bit for<br />
Data Block #2<br />
B3:3<br />
1<br />
COP<br />
0<br />
Copy File<br />
Source #M1:1.3628<br />
Dest #N12:128<br />
Length 128<br />
Virtual DTHW Bit for<br />
Data Block #2<br />
B3:4<br />
This rung copies the "new" Data Block #3 data from the secondary BSN to a file within the secondary processor. When the COPy is complete, the DTHW (Data Table<br />
handshake Word) bit for Data Block #3 (B3:4/2 = M0:1.3411/2) must be set to inform the secondary BSN that the secondary processor has received the latest Data Block and is<br />
now ready for the next block of data via Data Block #3.<br />
Virtual DTSW Bit for<br />
Data Block #3<br />
B3:3<br />
2<br />
COP<br />
1<br />
Copy File<br />
Source #M1:1.3756<br />
Dest #N13:0<br />
Length 128<br />
Virtual DTHW Bit for<br />
Data Block #3<br />
B3:4<br />
This rung copies the "new" Data Block #4 data from the secondary BSN to a file within the secondary processor. When the COPy is complete, the DTHW (Data Table<br />
handshake Word) bit for Data Block #4 (B3:4/3 = M0:1.3411/3) must be set to inform the secondary BSN that the secondary processor has received the latest Data Block and is<br />
now ready for the next block of data via Data Block #4.<br />
Virtual DTSW Bit for<br />
Data Block #4<br />
B3:3<br />
3<br />
COP<br />
2<br />
Copy File<br />
Source #M1:1.3884<br />
Dest #N13:128<br />
Length 128<br />
Virtual DTHW Bit for<br />
Data Block #4<br />
B3:4<br />
3<br />
Publication <strong>1747</strong>-<strong>6.22</strong>