Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 4 of 8

Class 8030 Types CRM-230, 232 Local/Remote Transfer Interface System: 5: Operation, pages 12 to 18

Pages 12 to 18 of 46, from Class 8030 Types CRM-230, 232 Local/Remote Transfer Interface System

The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Square D 8030-CRM-232 and Schneider 8030-CRM-232

Page 12 read from a scan by OCR; it may hold reading errors

Page 12 30598-251-0!

5.0 OPERATION

8.1 General Description

The Transfer Interface System allows redundant SY; MAX processors to communicate with and control input and output devices.

The Transfer Interface System (TIS) consists of:

1. Local Transfer Interface (LTL) Modules which reside in register slots of the redundant CPU racks.

2. Remote Transfer Interface (RTI} Modules placed in the CPU slot of remote digital or register I; O racks.

3. Communication cable to support | O and LTI-to-LTI transmissions.

The TIS is composed of two matched CPU racks, each containing a Mode! 500 or 700 processor and up to seven Local Transfer Interface Modules. The system designates the first processor to power up and go into RUN as the Primary (or controlling CPU) and the other redundant processor as Backup. Should a fault occur in the Primary system (communication error, CPU rack power supply failure, processor failure, or LTI failure), control would be switched to the Backup and the aforementioned designations would be exchanged: the Backup would become the Primary and vice versa.

A key point to understanding the Transfer Interface System is that it will attempt to keep the PC system operational and running in the event of a single CPU rack or I/O communication fault in either of the redundant systems. If a fault should occur in the Primary system, control is switched to the Backup system, which then becomes the Primary controlling system. The failed system, which is now in the failed Backup status, must be repaired and put into RUN in order for the Transfer Interface System to again be able to sustain another fault.

The Transfer Interface System is capable of making two types of transfers, bumpless and bump transfers. Bumpless transfers are those that occur when the Backup is completely synchronized with the Primary processor. I/O states, data values and processor scans are synchronized in both units, so there are no sudden changes in the I/O when this type of transfer occurs. Bump transfers are those that take place when the Backup has lost synchronization with the Primary. The Backup can lose synchronization for several reasons, including broken communication cables or severe noise. When the Backup is out of sync, data and I/O values may be different in the two units. If a transfer occurs before the Backup is able to regain synchronization, some J/O values may change when the new processor takes over. This is a “bump™ transfer. If it is undesireable to allow bump transfers, the Backup can be programmed to the shutdown when it loses syne with the Primary, rather than continue to run out of sync.

The LT{ has two communication channels, an I/O Channel and a Register Transfer Channel (RTC). The function of the RTC will be explained later.

The I/ O Channel isa serial, multi-drop communication channel that is wired to the RTI drops to control input and output devices. The LTI receives instructions from the CPU, The LTI then serializes this information and transmits it over the I/O Channel to the appropriate RTI. This channel operates full duplex at a rate of 62.5K baud.

The Remote Transfer Interface (RTI) has two communication channels (A and B} to connect to the 1/O Channel of the Primary and Backup LTI modules, respectively. Data such as 1:0 commands and status is transmitted back and forth between the LTIs and RTIs. The information being exchanged is stored in an image table located in each LTI and RTI.

The continuous exchange of information between the LT] and RTI image tables is independent of the CPU scan, Transmitted information includes ON/OFF commands for 1/O, storage register information, housekeeping functions (i.¢.. loss of communications, error control, freeze or reset of 1/O). in addition, information regarding the status of the Primary and Backup systems is exchanged via the 1/O Channels.

The LTI module stores control register information which is transmitted to the RTI. This information (user programmable bits) defines the action to be taken in the event of a fault at any drop. It can allow the operational drops to keep running or to - shut down. The shutdown state of the outputs will then be cither a reset (OFF) or freeze (maintain last state} condition.

Each Local Transfer Interface in the Primary rack must be matched to another in the Backup rack. The Register Transfer Channels of each LTI pair are connected together. Through the RTCs, interna} registers are transferred from the Primary LTIs to the Backup LTIs, processor scans are synchronized, and determination is made when to switch from Primary to Backup contro}.

Actual programming steps are described in the programming equipment instructign_b ins, For details on user programmable bits, refer to] Appendix BJ] LTI Control] Registers.

For an example Transfer Interface System,J/See Appendix D

§.2 Local Transfer Interface Registers

The 8030 CRM-230 Local Transfer Interface has 4096 registers. Although these registers exist, the ability to address them is dependent upon the type of SY/ MAX Processor used. The first 255 registers are available for addressing external inputs and outputs, register modules, storage registers or internals. The remaining registers (3841) are only available for use an internal relay equivalents, timers, counters, and data storage.

The first four registers immediately following the registers assigned for external I/O are required for the Register Transfer Channel (LT]-to-LTI communications link) and must be crack addressed to channel 2, drop I. Note if all 255 registers (the maximum) were assigned to external 1/O, these would then be assigned to registers 256 through 259.

8.2.1 EXTERNAL REGISTERS

A maximum of 255 consecutive registers can be assigned to the LTI I/O Channel. The I/O Channel! can be connected to up to 8 drops. (A drop is an 1/O rack with a RTI installed.) Any drop may have a maximum of 127 registers assigned to it. The first 8 registers assigned to a drop are available for digital or register 1/0, (8 registers x 16 points per register yield 128 1/O points per drop.) Any registers beyond the first 8 assigned to each drop are only for register 1/0.

Page 13 read from a scan by OCR; it may hold reading errors

To maintain identical control status, both the Primary and Backup LTI modules (and CPUs) read the condition of all externa! registers. Only the Primary processor can alter these registers, thereby controlling the [/O.

Upon halting or loss of power to the Primary processor (assuming Backup cannot take 1/O control) the registers assigned to drops will be reset to zero (OFF). However, it is possible to freeze (maintain last state) registers assigned to drops. For more information, refer to]/Appendix B] LTI Control Registers. 5.2.2 INTERNAL REGISTERS

Internal registers {those not assigned to drops) are used for internal relay equivalents, timers, counters, and data storage. These registers retain information when the processor halts or there is a loss of power (provided CPU rack has battery backup power).

The Register Transfer Channel is used to ensure the matched LTls have identical internal registers. Upon system startup, internal registers (a user definable group) are automatically transferred from the Primary tothe Backup system. In addition, a block of 32 registers may be transferred atthe end of every processor scan to ensure identical status. Seq Section 5.4]for a full description of register transfers.

5.2.3 CONTROL REGISTERS

All LT] modules have a group of control registers used for diagnostics and control, An error code register and a channel control register are available for the 1/O and Register Transfer Channels, Eotmore information, refer ta] Appendix E] Error

Codes, and] Appendix BJ LTI Control Registers. 5.3 Rack Addressing

Rack addressing is a user programmable identification scheme that enables a SY/ MAX processor to monitor and control 1/O points by assigning registers to them. It provides a memory map of where (i.e., in which registers) I/O information will be stored and handled by the processor (CPU), Note that rack addressing must be identical for both processors.

Once the register addresses have been assigned, they are fixed. If a change in address assignments is required, the user rack addressing software must be changed.

5.3.1 PROCESSOR (CPU) CONSIDERATIONS The CPU (Model 500 or 700 Processors) determines the maximum system addressing range. SY / MAX processor capabilities are shown in Figure 5.1.

30598-251-01 Page 13

5.3.2 1/0 CHANNEL ADDRESSING

The first 255 LTI registers may be assigned to the I/O Channel as external I/O drops (up to 8 drops). To rack address a TIS system, external I/O registers are assigned as drops on Channel 1. All address assignments for the drops must be made in a sequential ascending order. The register addresses for each drop are further distributed in ascending order to individual slots within the drops. Any of the remaining 255 registers not assigned to drops may be used as internal registers.

4 additional registers will be required to uttlize the LT] to LTI communication link (Register Transfer Channel).

$.3.3 RTC ADDRESSING

The Register Transfer Channel] (LTI-to-LTI communication link) requires four of the first 259 LTI registers for operation. These registers are rack addressed for Channel 2, Drop 1. They establish parameters for the transfer of internal registers and synchronization of the two processors. These registers can be written to by the ladder diagram program, and have the following functions:

REGISTER |: Startup Transfer Register, determines the nun j transferred on “start up.” See]Section 5.4.2 ]Startup Transfer.

REGISTER 2: End-of-Scan Transfer Register, determines which block of 32 regis rred at the end of each scan. Seq Section 5.4.3JEnd of

Scan Transfer.

REGISTER 3: Scan Synchronization Register, determines the maximum allowed synchronization time between redundant processors, See Section

| 5.4.4,] Processor Scan Synchronization.

REGISTER 4: Primary/ Backup Read/Write Register, provides “cross-talking” capability between redundant processors. See Primary/ Backup Read/ Write :

5.3.4 LT CONTROL REGISTERS

LTI control registers are dynamically assigned on the basis of physical position in the CPU Rack and rack addressing assignments.

LTI control registers are automatically assigned in descending order starting with $8163 for the LTI with the lowest numbered

Register Self Maximum Practical cPu Addreseling Contained Supportable 1/0 Model Capability CPU Registers LTI Modules Compatibility $00 2008 (1) 460 (2) 7 2000 700 8000 (1) 0 7 7168

(1) Only the bits of the first 256 registers in each LT! may be forced ON/OFF.

(2) For interna! use only as relays and storage registers. These registers should mot be used since they cannot be transferred. Only registers that reside in LT1 modules can be transferred from Primary to Backup.

Figure 5.1, CPU Address Capabilities

Page 14 read from a scan by OCR; it may hold reading errors

Page 14 30598-251-01

CPU rack slot number. The first LTi control registers are defined as follows:

$8163, Error Code Register $8162, 1:0 Channel Control Register $8161, RTC Control Register

Following the above sequence, $8160 would be the Error Code Register of the second LT] in the rack.

For more information on the operation of the_LTI contro registers, refer to] Appendix E] Error Codes, and Appendix B] LT! Controj Registers.

5.3.5 RACK ADDRESSING EXAMPLE

The following example illustrates the concept of rack addressing. Actual programming procedures are not covered. See SY;MAX Programmer instruction bulletins for rack addiess-ing programming.

This example consists of a Transfer Interface System with Model 500 Processors and their associated LTI Modules. The J; O Channels are wired to three drops.CPU racks are arbitran-ly labeled A and B, and are wired to the appropriate terminals of the RTI's.

CPU (PROCESSOR) RACKS

CPU A Rack CPU B Rack Slot # 1 2 3 4 § 1 2 3 4 & Start = | - - | -7 51 $1 Addeass LT LT! CPU A CRM CPU B CRM Model 230 Model | 3p | 500 500 \ End { Address - | - | 52006 - |, | $2008 i | RTC iT VO vo

Figure 5.2, GPU Rack Addressing

Figure 5.2,llustrates CPU rack addressing for this example of a terface Sysiem. CPU Rack:

SLOT!, The Model 500 has been assigned none of its 460 internal registers (since they cannot be transferred between processors).

SLOT2, The Model 500 physically takes up two register slots. Slot 2 does not require address assignments.

SLOT3, The starting address of the LT! module

(CRM-230) is SI (register 1}. Although the LT] has 4096 registers available, its ending assignment is 2008 since this is all the Mode! 500 Processor can address.

SLOT 4,5, No modules reside in these slots, address assignments are not required.

Note that the start and end addresses of the system slots are shown. However, when programming address assignments, only ending addresses can be entered. After ending addresses are entered for a slot, the corresponding starting addresses will be automatically assigned beginning with the next available register. For a fullexplanation of the rack addressing programming procedure. refer to the CRT Programmer instruction bulletin.

NOTE: The CPU A and B rack address assignments must be identical for proper operation.

SYSTEM WITH i CHANNEL AND | DROP

CPu A Rack CPU B Rack Slot # 1 2 a 4 5 1 2 3 4 5 Start -|-| s - |, | s1 Addvess LT LT CPU A CAM CPUB CRM Modai 250 Modet 230 600 500 End | Address L_~ | = j $2008 ~ } = | £2002 T RTC _] 0 2 = aoe vo CHANN CHANNEL, EL RTI 128 Digital 1/0 CAM {8 registers} 232 $1-1 thru, -| 3% $8-16 CPU A | | CPU B

Figure 5.3, Channel 1, Crop #1 Rack Addressing

Figure 5.3 [illustrates rack addressing for the first drop of the O Channe] (Channel 1, Drop #1). This drop is a rack assembly with 128 digital I/O points.

Channel 1, Drop #1:

SLOT 1, To accommodate 128 digital J/O points, eight 16- bit registers are required (SI-] thru S8-16).

SLOT 2, No address assignments required.

Note that the addresses for digital 1/O are always assigned to slot I.

SYSTEM WITH I CHANNEL AND 2 DROPS

PU A Rack CPU B Rack Sire 1 2 3 4.5 1 2 3 45 Start ~ - Ss}, |j - -, 51 - Address Tl LTl oe CAM cue | caw ] 230 Model 200 00 yx. |] End Sides |, |, | s2zo0e], | ~, |, |szo0 |, ], T ATC _I i?) z 1 DROP #} va CHANNEL, 7s ; CHANNEL en 128 Digts 170 crm (0 registers) 232 81-4 thru -|s $a18 CPU A cus 2 | DROP #2 Si7 | aco | RTI 128 Digita 10 rm ] cen {8 registers} 144 4 232 So) thew S32 | 516 516-16 CFU A | | CPU 3

Figure 5.4 - - - - Channel 1, Drop #2 Rack Addressing

Page 15 read from a scan by OCR; it may hold reading errors

| Figure 5.4}llustrates rack addressing for the second drop of the Tro Ctrammet (Channel |, Drop #2). This second drop also has 128 digital 1/O points but unlike Drop #1, it has a register module. The BCD input module resides in the register slot (slot 2), and requires 16 register addresses to be fully operational.

Channel 1, Drop #2:

SLOT |, Eight registers are assigned for the 128 digital 1/O (S9-1 thru $16-16).

SLOT 2, 16 registers are required for the BCD input register module ($17 thru $32).

The total requirement for this drop is 24 registers. Notice that the start address for drop #2 is one more than the ending address for drop #1, The first digital address for drop #2 is S9-1 and the last is S16-16. Therefore, slot {| has an ending register address of $16. Slot 2 ends at $32, allowing for the required 16 registers needed by the BCD register input module.

SYSTEM WITH | CHANNEL AND 3 DROPS

CPU A Rack CPU B Rack Slot # 1 2 3 4 5 J 2 3 4 § Start = } -_ $1, |, ~, _ | _ S1, |, Address LT) LT cePuA | CRM cPu B | CRM Medel 230 Model 230 End | | Address, |, | $2008; - - | =, |, | s20a}], ] ~ | ATC ] 2 ? GAOP #1 = | St RTI 128 Digital 1/0 CRM (6 registers) 232 $1-1 thru, | 38 58-16 CPU A CPU B 2 1 DROP #2 S17 | S9 BCD | ATI 128 Digital 1/0 Rim | CRM (8 registers) 144 | 232 $9.1 thro $32 | $16 $16-16 CPU A CPU 8 DAOP #3 1 2 3 4 5 ~ $33 | $37 $41 | S57 ATI | afO | D/A | BCD | BOC CRM] RIM | ROM] AIM } ROM 232 | 121 | 121 144 | 141, | $36 | S40 | S56 | S/2Z cPuA | | CPU B

Figure 5.5, - - Channel 1, Drop #3 Rack Addressing -

Figure 5.5fillustrates rack addressing for the third drop on the Channel (Channel 1, Drop #3). This drop is a rack assembly with register I/O,

Register requirements for register modules vary. As an example, a four-channel analog module requires four registers. A BCD 1/O module can use up to 16 registers.

30598-251-01 Page 15

Channel 1, Drop #3:

SLOT |, No address assignments are required since there are no digital 1/O points.

SLOT 2, Four registers are assigned to a four channel analog input module (S33 thru $36).

SLOT 3, Four registers are assigned to a four channel analog output module (S37 thru $40).

SLOT 4, I6 registers are assigned to a BCD input module (S41 thru $56),

SLOT 5, 16 registers are assigned to a BCD output module (S57 thru $72),

ATC (Channel 2, Drop #1):

Now that all external registers have been assigned, the Register Transfer Channe! must be addressed. The R7C requires four registers be assigned for operation. These registers must be rack addressed for Channel 2, Drop #1.

Slot 1, $73 to $76

The last external register assigned was $72. Therefore, the next four registers (S73 thru $76) are assigned to the RTC (Channel 2, Drop #1, Slot 1). The function of these registers is as follows:

S73, Startup Transfer Register. [See Section 5.4.2.

S74, End-of-Scan Transfer Register. i

$75, Scan Synchronization Register. See Section 5.4.

S76, ead/ Write Bit Exchange Register. [Sce Section ey

Internal Registers

In the example Transfer Interface System the last external register assigned was $72. The next 4 registers were allocated to the RTC channel and go on thru $2008, Defined internal registers would begin with $77. Since only the first 256 registers of a LTI module can be forced, it is recommended that internal relays be located at addresses $77 thru $256 since only these are forceable. Note that even though 256 registers are forceable, only 255 may be transmitted over external LTI communication channels.

NOTE: The user should plan ahead for any anticipated system when assigning register addresses. See

5.3.6 MULTIPLE LT! MODULES

If more drops or registers are required than those that can be supported by one pair of LTIs, additional pairs of LT] modules can be added.

An LTI module only provides storage register locations toa processor which can address them. The LTI mad does no increase the CPU addressing range capability. Seq Section 5.3.1

Each matched pair of LTI modules must have identical rack addressing and be connected together by their Register Transfer Channels.

The LTI contro] registetassi re de he LTI modules’ position. Sed Section 5.3.4 bind Appendix B

Page 16 read from a scan by OCR; it may hold reading errors

Page 16 30598-251-01

Refer to the example TIS presented inj Section 53.5, If the system bye sng more than the eight externa drops af-

: . more matched pairs could be i 6] Up to seven LTE modules can be supported by a odel 200 or 700 processor.

CPU A CPUB Shor # ‘ 2 3 4 5 a a s Start = | = st | seo [ s137 - | -|si | see | si37 Address J um fun | om ume fat | our “PUA | crm| CRM| CAM cPUB | cRM| CRM] CAM Modal | 939 | 230 | 230 Modal | 239 | 230 | 230

500

End Ades |, see_| 5136 | $2008, |, | 568 | +36 j s2008 | LH____4 _ - ] RIC 4] CHANNELS ¥ ¥ '

TO WO CHANNELS TO I/O CHANNELS

Figure 5.6, Multiple LT Rack Addressing

Figure 5.6 assumes that each matched pair of LTi modules supports eight 1/O drops (with eight registers per drop). Note that the maximum address assignment continues to be 52008 since this is a limitation of the Model] 500 Processor. Addresses are assigned as follows:

CPU Rack:

SLOT |, The Model S00 has been assigned none of its 460 internal registers,

SLOT 2, Does not require address assignments.

SLOT 3, Since the I/O Channel is assumed to have eight drops of eight registers each, this requires 64 registers. Inaddition, four registers are required forthe RTC channel. Thus, the first 68 registers (SI thru $68} are assigned to the LTL module in Slot 3.

SLOT 4, This LTI module is identical to the previous one, therefore the next 68 registers (S69 thru S136) are assigned to this slot.

SLOT 5, The remaining addressable registers (S13? thru $2008) are assigned. The arbitrary assignment of external registers would reside in S137 thru S200. Internal registers would reside in S205 thru $2008 (with the four RTC registers located at $201 thru $204).

Note that each matched pair of LTE moduies have identical Rack Addressing Assignments and are connected together by their Register Transfer Channels (RTC’s).

8.3.7 SYSTEM EXPANSION

Expansion can be accomplished by adding to an existing drop or adding an additional drop. When a TIS is expanded, the user must develop and enter the ladder logic program for the newly added [/O points. For the specific programming procedures, tefer to the CRT Programmer Instruction Bulletin.

NOTE: When expanding a TIS, remember that the matched LT] pairs must have identical address assignments.

1/0 Expansion Considerations

1, The addition 1/O must fit within the processor addressing capability.

2, The additional 1/O must beable to be supported by the existing LTI modules; if not, additional pairs of LTS modules will be required.

3, Expansion ofan I Odrop requires that external registers are available for use at that location, either from previously allocated address assignments or the reallocation of registers for that location.

4. The addition of more registers on an 1/O Channel will lengthen the LTI/RTLupdate time. However. if the registers were previously allocated to the 1/O Channel, the LTH RTI update time should not be significantly increased by additional drops.

The following is a brief description of the two basic expansion alternatives, drop expansion and drop addition.

Drop Expsnsion

Drop expansion by a mere addition of hardware alone can be accomplished if the previously entered rack addressing has allocated registers for it, otherwise, additional registers must be allocated for thedrop. Therefore, the current system configuration and the defined rack addressing has to be reviewed when contemplating expansion of an existing TIS drop.

Drop hardware expansion can be accomplished by simply replacing the existing rack with a larger rack assembly or, in the case of a four-function digital 1/O rack assembly, cxpander modules (Class 8630 Type CRM-115/ 116) may be used toadda second four-function digital 1/O rack to the drop.

Drop Addition

Adding a drop to the 1/O Channel can be done at any time provided the limitations of the processor or LTI are not exceeded. To adda drop, alteration of the existing rack addressing assignments and ladder program will most likely be necessary, unless previous address allocation allows for additional drops.

If expansion of a TIS is anticipated, plan ahead and assign internal relays and registers so they will not need to be repro-grammed when dditional drops are added. Recall the example o § [Internal Registers). If a fourth 1/0 drop was anticipated at a later date, it would be advisable to plan for this expansion by starting internal relays at an address location well beyond S77. For example, if internal relays are addressed starting with $129, then $73 thru $124 would remain available for {/O drop expansion.

NOTE: If more addresses are assigned to external drops, the RTC register addresses must be changed. Jn this example, they would have to be moved from $73-S76 to $125-S128.

WARNING

Care must he taken when altering existing rack addressing. Automatic shifting of addresses will occur from the point of alteration. Registers may end up being changed to locations which were not intended by the designed to be used as 1/O points, thus possibly causing unexpected control action to occur.

Page 17 read from a scan by OCR; it may hold reading errors

Once hardware and software modifications are made. verify that they are correct before putting the system into RUN or DISABLE OUTPUTS.

For information on how to alter rack addressing assignments, refer to the CRT Programmer Instruction Bulletin.

When adding a drop or changing tack addressing for a specific 1/Q Channel the LTI/ RTI update time may he altered. Refer tal] Appendix AJ LT1/RTt Update Time.

§.4 Register Transfer Channel 5.4.1 GENERAL DESCRIPTION

One of the functions of the LTI Register Transfer Channel isto ensure internal register values are identical in the Primary and Backup systems. The TIS uses two types of Register Transfer methods to maintain identical Primary and Backup sysiems. These two methods are the Startup Transfer and the End of Sean Transfer. Both methods occur over the RTC at 375K Baud to ensure fast updating.

Upon Backup system startup, a Startup Transfer occurs: internal registers {timers, counters, data, ¢} red from the Primary to Backup LT1I modules. See Section $42)

This ensures the Primary and Backup system registers are identical, and must occur before a Backup can go into RUN and assume ready status, From this initial point of synchronization, the Primary and Backup systems read the same input conditions; thus internal registers will be updated simultaneously from this point on, provided the processurs remain in synchronization with each other.

Although the Primary and Backup processor scans are synchronized the crystal oscillators (that operate timers) are nol synchronized. Therefore, it is possible that timers in the Primary and Backup processors may not be identical. Also, register values which are changed as a result of communication with external devices may differ. For critica! applications where these differences cannot be tolerated, the user can cnable an end of scan transfer: 32 registers can be trans-om Primary to Backup at the end of every scan. See

Once the four RTC registers have been assigned through rack addressing, a number may be entered into them by any of the following methods:

1. DATA ENTER or DATA mode of a SY! MAX Programmer 2. SY¥;MAX Loader! Monitor

3. Communication from an External Device

4. Ladder Diagram Program (i.e.. LET rungs)

Descriptions of each of the four registers follows. 5.4.2 STARTUP TRANSFER

The Startup Transfer Register is defined as the first register assigned to the Register Transfer Channel (Channel 2, Drop 1}. The number that resides in this Startup Transfer Register will determine how many registers will be transferred from Primary to Backup LTI modules.

The value entered into the Startup Transfer Register should be the last (highest) register the user desires to be transferred when the Backup goes from a HALT-to-RUN transition. A value of zero (default) will cause all 4096 registers (defined and undefined) of the LTI to be transferred. Likewise, if the entered value is outside the LTI's defined address range, all 4096 registers will be transferred.

30598-251-01 Page 17

IMPORTANT: the Startup Transfer Register is cleared to zero every lime the LT] is power-cycled. Thus. the only way to preserve the register value inthe event of a power-cycle is via the lJadder diagram program.

NOTE: To transfer only defined registers of the LT], the Startup Transfer Register must contain a value equal Lo or less than the last internal register defined for the 1.TEin rack addressing {see the following Startup Transfer example).

Startup Transter Exampie

Assume that address assignments are made to the TIS as in Section §.3.5. [For this example, defined registers for the LT] are as follows:

External Registers Si - S72 RTC Registers $73 - $76 Internal Registers S77 - $2008

Since the Startup Transfer Register is defined as the first register assigned to the RTC. we have:

Startup Transfer Register = $73

If S73 contains the default value 0 when the Backup system goes through a HALT-1o-RUN transition, registers S] through $4096 (all defined and undefined registers) will be transferred from Primary to Backup systems. Clearly, in this application this is excessive and unnecessary, since the system cannot even address registers beyond $2008.

The user can resirict the number of registers transferred to the Backup by changing the contents of $73, If weassume that only the first t.000 registers need to be synchronized (even though 2,0008 are addressed). per the example ladder rung below, only registers SI through $1000 will be transferred.

Note that by specifying the number of registers to be transferred to the Backup, the Stanup Transfer Delay Time (described below) can be effectively reduced.

LET $873 = 1000

Startup Transfer Defay Time

The purpose of the Startup Transfer is to completely synchronize the Transfer Interface System, During the Startup Transter. the Primary processor scan will be delayed for a short period of time to prevent register values from changing during the transfer. Therefore, the user must insure that the Backup processor is not placed into RUN during a critical Primary operation.

The number of milliseconds that the Primary system will be delayed is dependent on the number of external and interna? registers that are transferred. This delay time can be approxi-mated by the following formula:

External Registers x (.148) + Internal Registers x (.111)

Startup Transfer Delay Time (ms)

A quick calculation will reveal a Primary scan delay for our rack addressing example of approximately 457 ms. fora default value in $73 of 0 (all 4,096 registers) vs. 114 ms. for a value of 1,000 (first 1.000 registers only).

Page 18 read from a scan by OCR; it may hold reading errors

Page 18 30598-251-01

5.4.3 END OF SCAN TRANSFER

The End of Scan (EOS) Transfer Register is defined as the second register assigned to the Register Transfer Channel (Channet 2, Drop !), The number that resides in this End of Scan Transfer Register will determine the starting address of a block of 32 registers to be transferred from Primary to Backup LTI modules at the end of every processor scan.

To enable this transfer of registers, the EOS ister bit (bit 16 of the RTC Control Register, sAppendi B.4.3] LTI Control Registers) must be set ON (1) inthe Backupsystem. The total time required to transfer the 32 registers at the end of scan is approximately 4 ms. Since the processor has various housekeeping tasks to do at the end of scan, and some of these tasks take place in parallel with the End of Scan Transfer, the actual increase in processor scan time will be less than the 4 ms transfer time.

The user should enter into the End of Scan Transfer Register the address of the first register of a block of 32 registers to be transferred at the end of scan. Registers outside the LTI’s defined address range will not be transferred. A value of zero (default) will result in no registers being transferred.

IMPORTANT: the EOS Transfer Register is cleared to zero every time the LTI is power-cycled. Thus, the only way to preserve the register value in the event of a power-cycle is via the ladder diagram program.

NOTE: Only registers defined to exist in the LT] modules may be transferred.

In order for the End of Scan Transfer to occur without dis-rupting the processor scan, a limit of 32 registers may be transferred. However, by ladder programming, the EOS Transfer Register can be manipulated in such a way that different blocks of 32 registers are transferred at the end of each scan, thus successfully transferring more than 32 registers. See the following EOS Transfer example.

£0S Transfer Register Bit

{In order for the End of Scan Transfer to occur, the EOS

TRANSFER REGISTERS bit (bit 16) must beset ON RTC Control Register of the Backup LTI. Seq Appendix B.4.3,

LTI1 Control Registers. When this bit is not set {cleared tor zero the End of Scan Transfer will not be enabled.

EOS Transfer Register Example address assignments are made to the TIS as in ry iT] % Section 5,3.5.] For this example, defined registers for the LT] are as fonows.

External Registers $1 - $72 RTC Registers $73 - S76 Internal Registers S77 - $2008

Since the End of Scan Transfer Register is defined as the second register assigned to the RTC, we have:

EOS Transfer Register = 574 EOS Transfer Registers Bit = $816]-16

Suppose the TIS has 32 critical timers that must be synchronized between Primary and Backup systems. Assuming that these timers reside in registers $77 through $108, we can transfer them from Primary to Backup at the end of every scan with the following rungs programmed in the Backup processor:

LET S74 = 77 8161-16 { \ XX /

The first rung determines that a block of 32 registers, beginning with S77 (S77 through S108) will be transferred at the end of every scan. The second rung sets the EOS TRANSFER REGISTERS bit ON to enable the transfer.

Instead of transferring the registers at the end of every scan, we could instead selectively transfer them as a function of time as follows: 77 |__|

TIMER TiME 109-1 $500

{+ CLEAR

18

"

LET S74

108

“1

8161-16 f\ _| L } | ees, *, - *,

These rungs will enable the End of Scan Transfer of registers S77 through S108 once every five seconds. The EOS TRANSFER REGISTERS bit could just as easily be set according to some other control logic.

Suppose the TIS has 64 critical timers to be synchronized. Assume that thee timers reside in registers $77 through $140. Though we cannot transfer all 64 registers at one time, we can alternately transfer blocks of 32 registers every other scan. The following rungs perform this operation:

L \F S74 = 77 LET S74 = 4§ - - | LET S74 = S74 + 32 - - - 6161-16

| iy |

VF |

These rungs will enable the Primary to Backup transfer of registers S77 through S108 at the end of the first scan, and registers $109 through $140 at the end of the second scan. Thus, different blocks of 32 registers can be transferred alternately.”

NOTE: To minimize the number of registers which have to be transferred over the RTC, keep all critical timers and counters in a block of continuous registers. Optimum performance can be obtained if a maximum of 32