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.
9-166 Programming Techniques<br />
Program File 2<br />
0000<br />
0001<br />
0002<br />
Copy the System Status Word (SSW) and the Module Status Word (MSW) from the BSN module to internal storage words in the SLC processor every program scan. Bits 6 and<br />
7 of the SSW word indicate whether this processor is Primary or Secondary at any given time. Bits 6 and 14 of the MSW word indicate whether the local or remote system is in<br />
the Primary or secondary Mode respectively. Virtual SSW and MSW words/bits are used to minimize M-file transfers, thereby minimizes their effects on the program scan time.<br />
Publication <strong>1747</strong>-<strong>6.22</strong><br />
COP<br />
Copy File<br />
Source #M1:1.3400<br />
Dest #B3:1<br />
Length 2<br />
This rung executes subroutine number 3 when the Local System is in the Secondary Mode. Subroutine 3 contains the logic which must be executed to properly transfer HSSL<br />
data from the Secondary BSN Module to the Secondary SLC Processor.<br />
Virtual SSW Bit:<br />
when = 1, indicates Virtual MSW Bit: Virtual MSW Bit:<br />
the local system is when = 1, indicates when = 1, indicates<br />
in the Secondary the Local System is the Remote System is<br />
Mode<br />
in the Primary Mode in the Primary Mode<br />
B3:1<br />
B3:2<br />
B3:2<br />
JSR<br />
Jump To Subroutine<br />
7<br />
6<br />
14<br />
SBR File Number U:3<br />
This rung executes subroutine number 4 when the Local System is in the Primary Mode. Subroutine 4 contains the logic which must be executed to properly transfer HSSL data<br />
from the Primary SLC Processor to the Primary BSN Module.<br />
Virtual SSW Bit: Virtual MSW Bit: Virtual MSW Bit:<br />
when = 1, the Local when = 1, indicates when = 1, indicates<br />
System is in the the Local System is the Remote System is<br />
Primary Mode in the Primary Mode in the Primary Mode<br />
B3:1<br />
B3:2<br />
B3:2<br />
JSR<br />
Jump To Subroutine<br />
6<br />
6<br />
14<br />
SBR File Number U:4<br />
0003 END