The text of a manual · part 8 of 8
Class 8030 Types CRM-230, 232 Local/Remote Transfer Interface System, pages 38 to 46
Pages 38 to 46 of 46
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 38
Page 38 30598-251-01
Miscellaneous Errors (29000-29999)
LeTslelele}
Error Code
EEE Error Description
600 Subroutine Nesting Error.*
100 Time to Process the Timed Interrupt Subroutine has Exceeded the Time Base.®
10] Timed Interrupt Routine Missing.
102 Time to Solve a Rung has Exceeded the Tolerance Set Within a Timed Interrupt.®
201 MCU Software Mismatch with LCU.
202 LCU Software Mismatch with MCU.
300 Mixed Primary; Backup LTIs in CPU Rack.*
301 LT! Timeout on EOS Transfer. @
302 LTI Timeout on Start-Up Transfer.@
500 Number of Assigned Loca! Transfer Interface Registers must be at least 8 for ] defined channel, 12 for 2 defined channels.
501 Insufficient Local Transfer Interface Control.
510 RTi Wired Improperly, Channels A and B are mixed.
511 LTIs in CPU racks A and B have equal states of operation and no primary determination can be made in HALT.
512 Backup Transfer System cannot be in RUN when Primary Transfer System is in DISABI.E OUTPUTS.
$13 Rack Addressing between LTIs in racks A and B (Primary and Backup) are not the same.
514 Backup cannot be in run with Test bit set when Primary goes to HALT. Backup must also go to HALT.
S15 Backup cannot become Primary until synchronization has occurred and Primary goes to HALT.
316 Backup unable to become Primary because remote bus error exists. Also error generated by Primary to allow transfer to Backup when Primary keyswitched to HALT.
517 Backup has lost synchronization and does not have RTC FAILURE OVERRIDE bit set.
518 Two Primary processors were found in RUN; this processor was halted with a bus error,
Control Register 8184 will contain the rung number where the error took place.
If 8184 equals zero, check Rack
Addressing.
The data field of Control Register 8184 contains the bit table of primary or back-up status (bit set indicates primary) while the status field of Control Register 8175 identifies the slots which contain LTls (bit set indicates LTI present).
The data field of Control Register 8184 identifies the first register assigned to the LT! that caused the error while the status field of Control Register 8175 contains the elapsed time (in msec.) that the scan was held.
Siot Register Error (20000-28192)
In the event of a Slot Register Error, the ERROR NUM- BER (last four digits) will point out the first register number assigned to the CPU register slot containing a faulty register module. Further inspection of that register’s status field will provide additional diagnostics.
[2[r{alr[r]
Starting Register Number
Slot Error (19000-19016)
In the event of a Slot Error, the ERROR NUMBER will point out the slot number experiencing the error.
Li{e~eo}s {s| hb 4
Slot Number containing the Error
NOTE: ERROR 19000 same as ERROR 32000.
Register Read After Write Error (10000-18192) A read after write error indicates a particular bit in a register has not maintained the condition written to it by the processor. The error number (last four digits) will point out which register encountered the problem.
Lijratr{raje)
Register Number
By displaying the status field (bits 17-32) of the control register containing the error code, the bit or bits causing the malfunction will be indicated {by a 1). Since each register contains both a status field and a data field, contro] register 8{84 is used to indicate which set of bits contains the problem.
Register 8184
(=I--Er
4
0, Data Field 1, Status Field
If the faulty register is used to contro] outputs and contro] register 8184 indicates the bad bits are contained in the data field, most likely an output module has caused the problem. Following is a diagram which can be used to isolate the output module having the problem.
In addition, note that a parity error can also be detected in a register and is indicated by a zero in all bit positions.
Page 39
Status Field of Control Register 8175 or of Local Transfer Interface Error Control Register.
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 ER ERESES ESE GS ESESES ESESES EES Ab bf 4 + 4 $ 4 a
Dig. 4 Func. Dig. ‘ Func. Dig. 4 Func. Dig. 4 Func. Module #4 Module #3 Module #2 Module #1 Dig. & Function Dig. & Function Module #2 Module #1 Checks:
a. If X = 0, bit was read correctly. b. If X = 1, bit was read incorrectly. c. If all X’s = 0, parity error was detected.
Processor Communication Port Error (01000-09999)
To clear a communication port error, toggle the processor keyswitch from HALT to RUN, or Clear S8175. If this does not clear the error, cycle power to the processor. These errors can be seen in the STATUS Mode Display by the ERROR NUMBER. Also check remote device and cable connections.
ERROR NUMBER| 0 | P| TT { 0 } }
Type of error Port Number TTT ERROR DESCRIPTION tl Communications overflow.
12 Buffer overflow.
13 Megal data.
14 Wrong reply (odd / even).
15 Checksum error.
16 Framing error.
17 Parity error.
18 Inability to communicate thru Port #P.
19 Retry timeout.
General Errors (00001-00999)
The ERROR NUMBER in the Status Display indicates the problem.
ERROR NUMBER [0 | 0] 7} T | T | t+ 4
Error Code
30598-251-01 Page 39
TTT Error Error Description Code
900 Control registers corrupted.*
901 Data registers corrupted.*
960 HALT or HALT/RUN bit set.
962 Tolerance equal to or greater than the rate.
963 Timed Interrupt time base is less than 3.
964 GOTO and GOSUB to same MARK.***
965 Illegal Internal Error Code,
966 User Subroutine Stack Error.***
967 A MARK rung with the same reference number is required.***
968 GOTO to MARK with RTN (return).***
969 GOSUB to MARK with no RTN (return).*** 970 Scan Time of processor is greater than | second or scan limit in S816? has been exceeded.** 971 Scan Time limit of processor has been exceeded due to long LTI start-up transfer. (Check register 8{84 for elapsed time in msec.}
979 Rack Addressing missing.
980 Keyswitch in RUN and no program in memory. 98 | PROM inhibit coil not in memory (PROM processor).
983 Safeguarding rung not in memory or programmed incorrectly.
984 Undefined register programmed in user memory.**
* Control registers are normalized and data registers are cleared. Toggling keyswitch wil] allow CPU to run.
** $8184 will contain the rung number being executed when the error occurs.
*** $8184 will contain the MARK number.
£.2 Using Error Codes To Isolate P.C. System Faults
E.2.1 GENERAL CONCEPT
When a P.C. system which was once operating correctly malfunctions, one of three situations can arise: either the whole P.C. system shuts down, one or more drops shut down, or a run time communication port error is detected. Once the malfunction is identified as existing in one of these three categories, the P.C, SYSTEM OPERATION- AL ERROR CODES can be used to isolate the fault. Recognition of the first category is obvious, however, the second category can exist only when the P.C. system incorporates remote |/O and the override bit is set in the Local Transfer Interface Module.
The third category of malfunction deals with communications to external devices and requires that control register 8175 be monitored by the program for errors in the range 01000 to 09999. These types of errors are different from those described in the “Processor Errors” section in that they are generated by the processor itself and not by the external device.
Page 40
Page 40 30598-251-01
E.2.2 WHEN THE SYSTEM SHUTS DOWN
When the processor halts, register 8175 should be the first point of interogation. The error code indicated will be one in the following number ranges:
arrer Description 30000-32700 CPU; LTI Error 29000-29999 Misc. Error 20000-28192 Slot Register Error 10000-18192 Read After Write Error 0000 1 -00999 General Errors
In the case of the 20000-28192 Slot Register Errors two courses of action may be taken depending on the register number indicated by the last four digits. If the register is the first assigned to a register module, interrogating the status field of that register will indicate the error. (Refer to appropriate register module Instruction Bulletin.) If the register number is the first assigned to a Local Transfer Interface Module (when using the Transfer Interface System), then further interrogation of the LTI error code register is required. (Refer toJAppendix B.2}to determine the address of the LT{ error codé register;s.) When the LTE error code register is interrogated, the number will be in the following ranges:
tw Error Description 30000-32728 CPU;/LTI Error
20000-28 192 Slot Register Error 10000-18192 Read After Write Error
In the case of the 10000-18192 Read After Write Errors, the affected bit or bits are indicated in the status field of the £TI error code register.
Following is a flow chart which illustrates the previously described procedure.
P.C. SYSTEM SHUTS DOWN
STEP I: INTERROGATE $8175
IF 30000-32700; Refer tof“CPU?LTI Error” IF 29000-29999. = Refer tq “Misc. Error™, - IF 20000-28192. Refer to STEP 2, following IF 19000-19016: Ensure modules) are seated properly in rack. IF 10000-18192: Look at status field of $8175 for an indication of the affected j to “Read After Write Error” IF 0001-9999: Refer to [ General Error"fpnd interrogated control register $8184 when indicated.
STEP 2: USING THE REGISTER NUMBER iNDI- CATED BY THE LAST FOUR DIGITS DETER- MINE THE SLOT TO WHICH THE REGISTER IS ASSIGNED
IF assigned to a tegister module;
Look at status field of the register number indicated by the error code then refer to appropriate register module Instruction Bulletin for the meaning of the error number.
Interrogate the LTI error code register then refer to STEP 3
IF assigned to a Local] Transfer
Interface STEP 3: INTERROGATE THE LTI ERROR CODE
REGISTER
IF 30000-32700; Refer td “CPU/LTI Error™|
IF 26000-28 192: Using the register number from error code (last four digits), determine slot to which register is assigned. The register module in that slot, generated the error. Look at status field of that register then refer to appropriate register module Instruction Bulletin for the meaning of the error number.
IF 10000-18192 Look at status field of LT] error code register for an indication rto “Read After Write Error”
Refer to Appendix 8.2.2 of the Model 500 or Model 700 Instruction Bulletins for examples.
Page 41
E.2.3 WHEN A REMOTE RACK SHUTS DOWN
When the P.C. system incorporates a Transfer Interface System and a remote rack or racks halts without causing the rest of the system to halt, the error code register of the Local Transfer Interface module controlling that drop will contain the error number of the fault, When the LTI error code register is interrogated, the number will be in the following ranges:
LTt Error
Code Description 30000-32728 CPU/LTI Error 20000-28192 Slot Register Error 10000-18192 Read After Write Error
In the case of the 10000-18192 Read After Write Errors, the affected bits are indicated in the LTI error code register.
Following is a flow chart which illustrates the previously described procedures.
REMOTE RACK; 5S SHUTS DOWN
STEP |: INTERROGATE APPROPRIATE LOCAL TRANSFER INTERFACE ERROR CODE REGISTED
IF 30000-32700, IF 20000-28192.
Refer t¢ “CPU/LTI Error”|
Using the register number from error code (last four digits), determine slot to which register is assigned. The register module in that slot. generated the error. Look at status field of that register then refer to appropriate register module Instruction Bulletin for the meaning of the error number.
Look at status fteld of LT1 error code register for an indication of, i fer ta “Read After Write Error.”
JF 10000-18192:
30598-251-01 Page 41
Refer to Appendix B.2.3 of the Model 500 or Model 700 Instruction Bulletin for examples.
E.2.4 PROCESSOR COMMUNICATION PORT ERROR DETECTED
These errors are different from those Processors Errors associated with communications hsted earlier in this appendix. The difference is that Processor Communication Port Errors are detected by the processor rather than the external communicating device. The only Processor Error that has any relationship to Processor Communication Port Errors (01000-09999) is Processor Error code 13. When error 13 is indicated in a status register of a communication rung, interrogation of control register 8175 will result in the display of one of the Processor Communication Port Errors (01000-09999).
These errors can also be detected when an external device is asking for information from the local processor, In this case, there is no communication rung status register to indicate the fault. Therefore, it is up to the user to implement the means to annunciate these types of errors.
Page 42
Page 42 30598-251-01
APPENDIX F, APPLICATION CONSIDERATIONS
This appendix lists several points to consider with Transfer Interface System applications. The TIS is designed to be as straightforward or complex as the user desires. Control register bits can be used to tailor the TIS to particular customer applications.
F.1 General Considerations
I. The user must realize that the TIS is designed to withstand any single Primary, Backup fault and remain operating. The fault must be repaired before the TIS can withstand another fault. If. however, the RTC Failure Override bits are set, the TIS can withstand a fault in RTC communications plus one other single Primary: Backup fault.
By setting the I/O Failure Override bit ON, the processor can continue in RUN: the user can program individual drop shutdowns, as opposed to having the processor go to HALT and ail drops unconditionally shut down when one drop shuts down due to an 1/O error.
2. Due to the fast transfer times and the fact that I/O are frozen during the switch, the TIS yields an essentially bumpless transfer. Input signals present for longer than the transfer time wil not be lost.
3. When using the I/O FAILURE OVERRIDE bits programmed as ladder rungs] (Appendix B,J LTI Control Registers), these rungs must be the test rungs in the ladder program. An exception to this rule is if timed interrupts or any other features which require programming the TLET S8t6S rung are used. In this case the I'O FAILURE OVERRIDE bit rungs should immediately follow,
4. It is important to remember that each LTI in a TIS has its own contro! register. Control bits must be setireset in each LT! to ensure proper operation, i.c., in order to test a Backup system (by cycling the RUN-HALT keyswitch} without initiating a Startup Transfer, the TEST bit must be set ON (1) for aff Backup LTI modules.
5. The Startup Transfer of registers wili delay the Primary processor scan. Therefore, it is recommended that a Startup Transfer ing a criti- cat Primary process. [See Section 5.4.2.
6. The status of FORCED I/O is not transferred from one processor to the other. Even if the register which contains the bit being FORCED is included in an End of Scan Transfer, the FORCE state will not be included.
7. To preclude nuisance 1/O transmission errors upon system power-up, ensure that all RTI racks in the system power up prior to the CPU racks.
8. Processor types may be mixed (e.g., a Model 700 Primary may be used with a Model 500 Backup) though differences in scan time, instruction set, and rack addressing must be taken into account.
9. In keeping with #4, in order to preserve the “bidirec-tional" nature of the TIS, we strongly recommend having control bits set identically in all LTIs in both the designated Primary and Backup. Bear in mind that each LTI will have its own group of two control registers plus an error code register.
10. Processor types may be mixed (e.g.. a Model 700 Primary may be used with a Model 500 Backup) though differences in scan time, instruction set, and rack addressing must be taken into account.
F.2 Primary/Backup Bit Exchange As described in] Section 5.4.5.J in the fourth register assigned to the Register Transfer Channel, eight bit locations are used to allow the Primary and Backup to interact with each other.
At the end of every synchronized scan, 4 bits (2 from the Primary, 2 from the Backup) are transferred back and forth between matched LTIs. Two Backup WRITE bits ({ & 2) are transferred to Primary READ bit locations (5 & 6); and two Primary WRITE bits (3 & 4) are transferred to Backup READ bit locations (7 & 8). The user decides what data is transferred back and forth by writing that data into bits 1 & 2 and 3 & 4, respectively. Figure | F.1 fillustrates this bit “cross-talk” of the Primary/ Backup READ/WRITE register.
Backup READ/WRITE Register Primary READ/WRITE Register
WRITE BIT 1 READ BIT 5 WRITE BIT 2 eo READ BIT6 READ BIT 7 WRITE BIT 3 READ BIT 8 WRITE BIT 4
Figure F.1 Bit Exchange of READ/WRITE Register
Example |, ing, the _same_ rack addressing illustrated in Section iustrates how READ/ WRITE bits can be used so that the Primary program can control the Backup program.
Programmed in Primary: 0076-03
| } | J | {\ ! | | | Y 7 |
PRIMARY LOGIC = PRIMAAY/BACKUP PRIMARY WRITE
< } 4
Programmed in Backup: 0076-07 8161-20
- - | ai
BACKUP READ PAIMARY/BACKUP BACKUP LOGIC Equivalent Logic: [ | | {\ | | | | V7 |
PRIMARY LOGIC BACKUP LOGIC
Figure F.2, Primary-to-Backup Control}
Page 43
Controt bit 8161-20 will be set ON (1) in the first Primary LTI, and reset OFF (QO) in its Backup LTI. Thus, 816t-20 is used to enable the particular PRI/BAK WRITE/READ rungs. This contact is not required for the circuit to function,
In| Figure F.2) when the Primary logic contact is closed {the Primary; Backup contact is already closed by definition), the PRIMARY WRITE coil is energized. At the end of the Primary processor scan, this bit is transferred to the BACKUP READ bit in the Backup. Therefore, contact 0076-07 is closed (the Primary’ Backup contact is also closed by definition), and the Backup logic coil is energized.
Thus, the equivalent circuit is a Primary logic contact controlling a Backup logic coil.
Exampie, Conversely,| Figure F.3 filustrates how the Backup program can contro fe Primary program,
Programmed in Backup: 8161-20 0076-01
+F ( 4
PRIMARY/BACKUP BACKUP WRITE
BACKUP LOGIC
Programmed In Primary: 0076-05 8161-20
| | | | { ( ) | | } | | i. \
PRIMARY READ = PRIMARY/BACKUP PRIMARY LOGIC
Equivalent Logic:
| |
BACKUP LOGIC f\ XS PRIMARY LOGIC
Figure F.3, Backup-to-Primary Control
Example 3, Because a Startup Transfer will delay the Primary system, the user may wish to program a few rungs that will enable the Primary system to disable a Startup Transfer from being initiated by the Backup system.
Programmed In Primary: PRIMARY LOGIC 0076-04
| Xf
DISABLE STARTUP PRIMARY WRITE
TRANSFER Programmed In Backup:
0076-08 8161-14 | ) | f \ | | | Nf | BACKUP READ TEST
Figure F.4, Primary Disable of Startup Transfer via Ladder
When the Primary logic contact is closed, the Backup TEST bit will be set ON (1). Recall that when the TEST bit is ON, the Backup LTI will not initiate a Startup Transfer and cannot become Primary.
30958-251-01 Page 43
F.3 Different Primary/Backup Systems
Although most applications will use identical Primary and Backup programs. some systems may benefit from having different Primary and Backup programs. For instance, the application may require a different Backup program to initiate a shutdown or alarm sequence if the Primary system fails.
Recall that the user can vary the amount of time that the TIS wiil allow between End of Scan times of the Primary and Backup scans. This can be done by altering the [Baa ts of the Scan Synchronization Register (see Section 5.4.4)
Another alternative for application requiring different Primary Backup programs is to use the subroutine capabilities of the Model 500 and 700 Processors. Any shutdown or alarm routines can be programmed as subroutines and not be scanned until the Backup becomes Primary. Thus, Primary Bacdlespescanieghould be similar when both are in RUN. Figure F.5} illustrates this principle.
Primary Program
Backup Program First Rung
First Rung
|
Main Ladder Program
8164-20
| - L - GOSUB 1 | |
PRIMARY /BACKUP Last Rung t
/ - - MARK ST. SUB L - }+- - - MARK 1 +]
Shutdown/Alarm Sequence
L BTN 1 - - |
Figure F.6, Backup Shutdown/Alarm Sequence
Main Ladder Program
Last Rung
Examining Figure F.5, as long as the TIS is completely operational with Primary and Backup processors in RUN. the two scan times should be nearly identical. If the Primary system should HALT and the Backup become the new Primary, Subroutine #1 will be enabled. This subroutine may contain a shutdown sequence for the machine or plant, or a program to alarm plant personnel that the previous Primary system is down and must be repaired to bring the complete TIS on hine.
This principle can be extended to enable a Primary subroutine should be the Backup system HALT.
Page 44
Page 44 30598-251-01
F.4 Redundant 1/0
The TIS provides redundancy in the event of failures in processors, LTIs, racks, power supplies and communication cables. The TIS does ser provide redundant 10.
Apart from the TIS, redundant power supplies may themselves be used to drive individual racks. This capability exists when using a CC-Si cable with two PSI-I1. -2t, or -42 power supplies. Refer to Power Supply !nstruction Bulletin #30598-159-01 or later.
APPENDIX G, ADDITIONAL DATA LINE PROTECTION
(CRM-230) CATA LINE DATA LINE (CRM-232) CRM-210 PROTECTOR PROTECTOR CRM-222 1 A ral Qt een rm 1 12 f---A 21 20 t @2 2@+~\ Y 22 22 A Q2 3G + O23 36 NS i? 3@ ! Q3 40 Lito, 404 O44 @ tes $@ QG G ~~ Q6 Ge Qs BUILDING #1 Dy BUILDING #2 installation Notes* wd “Ww !. Each SY/MAX rack and power supply must be solidly grounded as described in the SY‘ MAX Planning and Installation Guide, Instruction Bulletin 30598-175-XX. DATA LINE (CRM-232) PROTECTOR CRM-222 2. Data line protectors must be solidly grounded (via the G anna terminal) at each location with the ground wire length kept +O 1 12 £ 21 as short as possible. (#12 AWG less than 6 inches is highly O22 u Q2 preferred.) | , > iaD2 9D + 3 i 3. The shield wire for each cable run being protected must be D4 42 ¥ “D4 connected to the ground terminal of the data line protector OG 5 “le 5 at one end only (as indicated). At the other end, the shield | fn wire should be trimmed at the point where the signal wires BUILOING #3 emerge from the jacket. The length of these non-shielded signal wires should be kept as short as possible.
4. The cable run from each CRM interface module to its respective data line protector should be as short as possible.
5. If building #2 contains multiple drops, they must_be daisy-chained together with shield terminals wired pe A second in the LI; RE Instruction Bulletin 30598-247-XX.
data line protector would be required for the last drop inthe chain in building #2, to protect the cable run from building #2 to #3.
6. A recommended data line protector is the DLP-20-6VI0 manufactured by MCG Electronics, Inc., 160 Brook Avenue, Deer Park, NY (1729, Telephone: (516) 586-5125.
*NOTE: The figures and references pertain to the LI; RI (CRM-210; 220 or 222) but the lay-out and wiring also apply to the external 1/O for the LT!; RTI system.
RR
> TO ADDITIONAL REMOTE INTERFACES
Page 45
Bulletin: 30598-251-028
Page: lof 1
Addendum Date: January 1990
SYWIMNAH'’
Class 8030 Type CRM230 Local Transfer Interface (LTI) Modules Series D3 (No Revision Designation) and Earlier
(Addendum for instruction Bulletin #30598-25 1-01}
WARNING
Potential hazard for personal injury or property damage.
CONDITION: Under certain circumstances there is a remote possibility of outputs not following the application program properly when using the Type CRM230 Local Transfer Interface Module.
For the problem to exist the following must occur: 1. Thesystem must be set up to run with “I/O Failure Override” and “I/O Auto Restart” enabled (bits 13 _ and 15 of register(s) 8162, 8159, 8156, etc., set ON). 2. The system must be in RUN. 3. One or more of the remote drops connected to the CRM230 loses communication. 4. Arestart is attempted by the /O Auto Restart bit or the RESTART pushbutton.
RESULT: When re-establishing communication with the failed drop (via the "I/O Auto Restart” bit or the “Restart” button on the LTI) a remote chance exists that the system outputs will not follow the application program.
SOLUTIONS: 1. Donot use “I/O Auto Restart” (bit 15 of register(s) 8162, 8159, 8156, etc.) or the “RESTART” button on the front of the LT! in the referenced modules to re-establish communication with remote drops.
If communication to a remote drop has failed and “I/O Failure Override” is enabled, the primary CPU will halt and the system will continue to run on the backup CPU. To re-establish communication to the complete RTI system, do the following:
A. Toggle the keyswitch on the halted processor (formerly the primary) to HALT and back to RUN.
B. Ifthe communication fault was cleared, the former primary CPU will resume control over al! drops; toggling the keyswitch on the backup CPU to HALT and back to RUN will result in “ready Backup” status.
C. Ifthe communication fault remains, the former primary CPU will resume control over all properly communicating drops. Once the fault is cleared, the keyswitching procedure may be used to allow full system recovery, i.e. a running primary CPU with a ready backup CPU.
2. Use modules that are Series D3 and Revision 2.0 or later.
Page 46
ge a a&arie ow , - AMP i1-e@3s8s802-7 eae OFF militias
12345 6