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-180 Programming Techniques<br />
Accounting for<br />
Instructions That<br />
Could Cause Problems<br />
During Switchover<br />
Publication <strong>1747</strong>-<strong>6.22</strong><br />
Some instructions may operate unpredictably when a switchover<br />
occurs if you fail to observe certain programming considerations. For<br />
example, you must consider transferring the control element and data<br />
elements for instructions that are also being executed in the secondary<br />
processor. You also must consider transferring data files which<br />
contain more than one word.<br />
The following instructions are discussed in this section:<br />
• timer<br />
• counter<br />
• logical, arithmetic, compare and move<br />
• diagnostic, sequencing, file arithmetic and logic, file search and<br />
compare, file<br />
• copy and fill<br />
• FIFO and bit displacement<br />
• block transfer<br />
• message<br />
In the remainder of this chapter, we describe the behavior of these<br />
instructions in the SLC 500 backup system.<br />
Important: The primary and secondary systems do not necessarily<br />
execute the same instructions at the same time (the<br />
systems’ program scans are not synchronized). Note<br />
also that the SLC 500 processor executes block transfers<br />
to the program scan asynchronously. Therefore, the<br />
processor interrupts the program scan asynchronously to<br />
access block transfer write (BTW) and block transfer<br />
read (BTR) files.<br />
Timer Instructions<br />
The SLC 500 processors maintain timers by keeping a copy of a<br />
hardware timer in a portion of the three-word structure (timer byte)<br />
used by each timer.<br />
Control byte Timer byte 1<br />
Preset value<br />
Accumulated value<br />
2<br />
3