The text of a manual · part 8 of 14
SIMATIC TI560T/TI565T Technical Product Description: 4 Hot Backup and System Diagnostics, pages 63 to 71
Pages 63 to 71 of 122, from SIMATIC TI560T/TI565T Technical Product Description
The original document is the PDF (565 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Texas Instruments 500-5008 and Siemens 500-5008
Page 63
Chapter 4
Hot Backup and System Diagnostics 4.1
Hot Backup Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-2
Hot Backup Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3
Hot Backup Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5
4.3
Hot Backup Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6
4.4
Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-7
4.5
Power-Up Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8
Checks Performed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8
4.6
Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-9
4.7
Run-Time Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-10
4.8
User-Initiated Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-11
Run controller Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Run Remote Base Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Display Failed I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Show Controller Diagnostics Cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-11 4-11 4-12 4-12
Status Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-13
TI560T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TI565T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-13 4-14
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-16
Using LEDs as Diagnostic Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-16
4.2
4.9
4.10
SIMATIC TI560T/TI565T Technical Product Description
Hot Backup and System Diagnostics
4-1
Page 64
4.1
Hot Backup Card The TI560T/TI565T can be configured in a Hot Backup (HBU) system. The Hot Backup option provides controller redundancy for critical applications that require minimum unscheduled process downtime. An HBU system consists of two identical TI560Ts or TI565Ts, each with an HBU card. One unit is designated Active and the other, Standby. The HBU card automatically programs and transfers control to the Standby unit upon detection of defined fatal errors in the Active unit. The TI560T/TI565T HBU system provides controller redundancy with a minimum of additional effort. As shown in the feature list below, the HBU unit requires no third box nor additional programs to operate.
-
#"(&#
#!! '
#"
(#
4-2
Hot Backup and System Diagnostics
SIMATIC TI560T/TI565T Technical Product Description
Page 65
Active Unit
Standby Unit
Fiber-Optic Cable HBU Card
HBU Card
Figure 4-1 Hot Backup Units Hot Backup Configuration
The TI560T and TI565T Hot Backup schemes provide the capability to transfer control to a standby TI560T or TI565T controller in the event of a system fatal error in the active unit. This type of redundant configuration requires two identical TI560T or TI565T systems and two Hot Backup cards. See Figure 4-1. The HBU card may be inserted anywhere in the TI560T or TI565T chassis, with the exception of the discrete CPU slot which is adjacent to the power supply. The HBU card is an MC68000 microprocessor-based card that communicates with the Main CPU, RCC cards, and another HBU card. The communication to the Main CPU is done through the chassis internal bus. The communication to the other HBU card is done through an optical cable over a 1 MHz serial link. Both TI560T or TI565T units are connected to the I/O chain through a combination of 3 dB line splitters. Figure 4-2 illustrates the communication cycle between the active and standby units.
SIMATIC TI560T/TI565T Technical Product Description
Hot Backup and System Diagnostics
4-3
Page 66
4.2
Hot Backup Execution HBU EXECUTION
ACTIVE UNIT CYCLE
MAIN CPU
RCC
SF CPU
STANDBY UNIT
SF CPU
RCC
MAIN CPU
Start Update
I/O Update
DiagĆ nostics
Ladder Execution S <Ć CPU Update
Update Complete
Start Update I/O I/O
I/O
Verify Error Check of I/O
Update
Update
I/O Update Complete
RLL
DiagĆ Update nostics Complete
RLL
SF CPU Update Start Access
Intelligent I/O Service
Intel. I/O Access
Request/ Response
Intel. I/O Access
Intel. I/O Access Memory Updates from Intelligent I/O
Intelligent I/O Complete
Inter-CPU SynchroĆ nization
Comm Port Service
SF Card Access
Start Update
SF Card Access
Memory Update
Checkpoint
SF Card Access
Memory Update
SF Card Access
Update Complete
Update Complete
Comm Port Access
Start Update
Communication Updates from Operator Interfaces & Programmmers
Comm Port Access
Scan Time Check & Acknowledge
Figure 4-2 Hot Backup Updates
4-4
Hot Backup and System Diagnostics
SIMATIC TI560T/TI565T Technical Product Description
Page 67
Operation
Following installation of the two HBU cards and connection of the cable, the standby unit will power up in the off-line mode. On power-up, the standby unit is downloaded automatically by the active unit unless the Scan Synch Inhibit instruction is activated. I/O activity is frozen during the download. During the download (five seconds or less, depending on memory size) the active unit sends all transmissions to the standby unit enabling the standby unit to copy the active unit’s program. When the transmission is complete, the standby unit will be online and both units will be fully synchronized. Also, there is no additional user programming necessary to achieve HBU functionality; it is all in the firmware. The standby unit monitors the I/O channel under control of the active unit, in a listen-only mode. If an I/O message is missed due to transmission faults, the standby unit will request that the active unit do a re-transmission. The standby unit may not transmit on the shared I/O system. The standby unit receives input data for storage into its image register and uses it in the next scan. Both units execute identical ladder logic programs operating on identical image register (IR) and user memory. The standby unit uses a number provided by the active unit to decrement timer and drum current counts (Delta T). Any operations that change the IR or user word memory, asynchronous to the execution of the ladder program and I/O cycle, are provided to the standby unit during the HBU time slice. In the event of a detected active unit failure, the HBU communication goes dead, an I/O listen takes place, and the standby unit assumes control.
SIMATIC TI560T/TI565T Technical Product Description
Hot Backup and System Diagnostics
4-5
Page 68
4.3
Hot Backup Synchronization With an SF CPU card installed, check-pointing is used for synchronization. Only the active unit executes loops, analog alarms, and SF programs. During each scan the active unit passes the following to the standby unit: •
IR updates and checkpoint information to provide an indication where loops, analog alarms, and SFs are in the processing sequence.
•
S-memory edit task code requests.
At the end of a scan the active SF CPU card sends an “update memory” message to the standby SF CPU card; after this, both units will dump all image register (IR) updates queued during the scan to memory. In the event of an HBU failure in the standby unit, control will stay with the active unit. If a failure is detected in the active unit, control is passed to the standby unit. The standby unit then becomes the active unit. Operator interface devices or programming devices may be connected to the standby unit. However, if the standby is ON-LINE, any devices attached to the standby unit will be in a read-only mode. In OFF-LINE mode, other functions are available. Control switchover to the standby unit occurs only in the event of a detected system fatal error or power loss in the active unit. The controller uses normal system diagnostics to verify system integrity; no special diagnostics are executed with the hot backup option. However, there are special hot backup routines to determine if the active unit is talking to the I/O channel before the standby takes control. In hot backup mode, the two systems check each other four times per scan to ensure system synchronization. Since the standby fully updates its image register each scan, it is ready to take control at any time. The standby unit executes the ladder logic program and places these results in its image register. The SF CPU constantly sends its updates to the standby. Both systems run diagnostics each scan, so system status is constantly monitored.
4-6
Hot Backup and System Diagnostics
SIMATIC TI560T/TI565T Technical Product Description
Page 69
4.4
Diagnostics To help obtain maximum uptime with a minimum of effort, the TI560T and TI565T provide diagnostic routines to check system functionality. Using these routines, you can determine the operation of hardware and the status of the software. With a few simple commands and visual checks, you can obtain information that could take hours to assemble without the diagnostic routines. Three types of system diagnostics are available. •
Power-up: performed automatically at system start-up.
•
Run-time: performed automatically during controller operation.
•
User-initiated: provide system information upon request.
SIMATIC TI560T/TI565T Technical Product Description
Hot Backup and System Diagnostics
4-7
Page 70
4.5
Power-Up Diagnostics
Checks Performed
4-8
Upon power-up, the TI560T or TI565T tests operation of the microprocessors, checks that RAM and ROM memory are good, verifies communications among the cards, and runs communication port tests. If all tests are passed, the PC GOOD LED on the front of the Main CPU card comes on. If an error is found during power-up diagnostics, the PC GOOD LED does not come on. Use the programming device to call up a display to indicate which error exists. The lists on the following page give the errors that may appear according to controller and error-type.
Hot Backup and System Diagnostics
SIMATIC TI560T/TI565T Technical Product Description
Page 71
4.6
Error Messages
TI560T/TI565T Fatal Errors
TI560T/TI565T Non-fatal Errors
O. S. RAM Parity
Scan Overrun
Program RAM Parity
I/O Base Failure
Operating System Fatal Error
Special Function Port Failure
ROM Diagnostic Failure
I/O Module Failure
I/O Fatal Error
Over Temperature
Abnormal Power Loss
Board Marked Non-fatal has Failed
Unidentified Failed Card Present Watchdog Timeout
Non-fatal Errors TI565T only
Dynamic Program Memory Diagnostic
Loops are Overrunning
Illegal Op Code
Analog Alarms are Overrunning
RAM Diagnostic Failure
Cyclic SF Programs are Overrunning
Fatal Errors TI565T only
Normal SF Program Queue is Full Priority SF Program Queue is Full
SF ROM Error
Cyclic SF Program Queue is Full
SF RAM Error
Error Occurred During Loop Calculations
SF O. S. Error
Error Occurred During Analog Alarm Calculations
Invalid Control Block Encountered Diagnostic Failure Memory Parity Error S Memory is Inconsistent SF Program Number Received from Ladder Logic is Invalid
A Control Block is Disabled Attempt to Execute an Undefined SF Program or SF Subroutine Attempt to Invoke a Restricted SF Program from ladder logic SF Comm. Port 1 Comm. Error SF Comm. Port 2 Comm. Error Memory in Standby unit does not match Active
SIMATIC TI560T/TI565T Technical Product Description
Hot Backup and System Diagnostics
4-9