The text of a manual · part 11 of 14
SIMATIC TI560T/TI565T Technical Product Description: A Performance
Pages 94 to 100 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 94
Appendix A
Performance A.1
TI560T Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-2
Scan Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-2
A.2
Ladder Logic Execution Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-3
A.3
TI565T Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-5
A.4
RCC Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-6
I/O Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-6
Hot Backup Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-7
A.5
SIMATIC TI560T/TI565T Technical Product Description
Performance
A-1
Page 95
A.1
TI560T Performance
Scan Times
Scan times for the main CPU can be estimated using the following approximations.
-
Central Processing Unit Overhead
11 ms
I/O Update Cycle time of channel with most bases (3.0 ms for first and 1.25-1.5 ms for each subsequent base) + transmission time for word modules. (16 per word)
Ladder Logic Execution
1.5 ms/K words of ladder logic Boolean elements + time for box instructions as shown in the following tables
Special Function I/O Modules varies from 8-12 ms per module (4-25 ms for Peerlink dependent on amount of data) nominally 1-4 ms; depends on number of loops, SFs, and analog alarms)
SF CPU Comm Port Comm
6 ms maximum if both local and two remote ports are active
Hot Backup Comm
9 ms maximum (onĆline mode only)
NOTE: If feature is not present, no time will be added to the scan. These are worst-case figures.
Fixing scan time to a value longer than needed only allows more processing time for the Main CPU communication ports. Other functions consume only the amount of time required to execute. If the scan time is fixed at less than required, the controller will use the amount of time required to perform all tasks in the timeline and set the “scan overrun” flag. Nothing is left out of a scan due to a fixed scan time.
A-2
Performance
SIMATIC TI560T/TI565T Technical Product Description
Page 96
A.2
Ladder Logic Execution Times Instruction Set
Instruction
Execution Time Mnemonic µ secs {
DISCRETE INSTRUCTIONS: Contacts Outputs
X, Y, C Y
1.5 1.5
1–2 1–2
1–8192 1–8192
Control Relays
C
1.5
1–2
1–8192
CONDITIONAL OPERATIONS: Jump End Jump, Conditional Master Control Relay End Master Control Relay, Cond. End, Conditional Skip Forward to LBL Label Scan Sync Inhibit
JMP JMP(E) MCR MCR(E) END(C) SKP LBL SSI
8 19 9 19 0 4 0 10
1 2 1 2 1 1 1 1
1–8 1–8 1–8 1–8
UNCONDITIONAL OPERATIONS: End Jump End Master Control Relay End, Unconditional
JMP(E) MCR(E) END
19 19 0
1 1 1
BIT INSTRUCTIONS: Bit Clear Bit Pick Bit Set Bit Shift Register
BITC BITP BITS SHRB
19 17 19 15(4.7)
3–5 3–5 3–5 3–5
0–32767 0–32767 0–32767 **
COUNTER/TIMER INSTRUCTIONS: Counter Timer (bases of a and 100 msec) Up/Down Counter Discrete Control Alarm Timer Motor Control Alarm Timer
CTR TMR UDC DCAT MCAT
28 23 56 49 83
2–3 2–3 3–5 6–11 9–15
** ** ** ** **
Counters, Timers, and Control Alarms should not be assigned the same #.
DRUM INSTRUCTIONS: Drum Event Drum Maskable Event Drum – Discrete Maskable Event Drum – Word
DRM EDRM MDRMD MDRMW
191 218 251 108
50–66 66–98 68–100 54–72
** ** 1–1152 1–1152
Drums and Event Drums should not be assigned the same #.
Words of Ladder Memory *
Reference No.
Comments Inputs and Outputs should not have the same #.
1–255 1–255
*** *** *** No two SHRB or SHRW should have the same #.
MATRIX INSTRUCTIONS: 0–32767 *** Scan Matrix Compare SMC1 142(8.9) 34–51 IMC 135 33–50 0–32767 *** Index Matrix Compare { Figures in parentheses are execution times for each additional word after the first. * Two numbers in this column indicate the minimum and maximum number of words required in L memory for for these instructions. ** The maximum reference number for these instructions is dependent upon memory size and allocation. *** Instructions requiring numbers must start with 1; where numbering is optional, 0 may be used. (Programming devices may restrict entry of 0). On the instructions with optional numbering, the number entered is for identification only.
SIMATIC TI560T/TI565T Technical Product Description
Performance
A-3
Page 97
Ladder Logic Execution Times (continued)
Instruction
Execution Time { Mnemonic µ secs
Words of Ladder Memory *
MATH INSTRUCTIONS: Add Subtract Multiply Divide Compare Square Root
ADD SUB MULT DIV CMP SQRT
22 22 24 20 32 190
4–8 4–8 4–8 4–8 5–10 3–6
0–32767 0–32767 0–32767 0–32767 0–32767 0–32767
*** *** *** *** *** ***
MOVE INSTRUCTIONS: Load Data Constant Move Discrete IR to Word Move Word to Discrete IR Move Word (memory) Move Word from Table Move Word to Table
LDC MIRW1 MWIR MOVW1 MWFT MWTT
14 29(3.8) 30(4.9) 18(3.3) 39 43
3–5 4–7 4–7 4–7 5–9 5–9
0–32767 0–32767 0–32767 0–32767 ** **
*** *** *** ***
WORD INSTRUCTIONS: Convert Binary to BCD Convert BCD to Binary Word AND Word OR Word Exclusive OR Word Rotate Right Word Shift Register
CBD CDB1 WAND WOR WXOR WROT1 SHRW
44 39(11) 22 22 22 22 28(5.6)
3–6 4–7 4–8 4–8 4–8 3–5 4–7
0–32767 0–32767 0–32767 0–32767 0–32767 0–32767 **
*** *** *** *** *** ***
Reference No.
One Shot
O/S
15
2
**
SUBROUTINE INSTRUCTIONS: Go to Subroutine Subroutine Return (Cond. or Uncond.)
GTS SBR RTN
17 0 5
2 2 2
1–255 1–255
TABLE INSTRUCTIONS: Table to Table AND Table to Table OR Table to Table EXCLUSIVE OR Table Complement Word to Table Table to Word Word to Table AND Word to Table OR Word to Table EXCLUSIVE OR Table Search for Equal Table Search for Not Equal
TAND1 TOR TXOR TCPL1 WTOT1 TTOW1 WTTA1 WTTO1 WTTXO1 STFE1 STFN1
31(5) 31(5) 30 29(4.2) 21 21 25 25 25 23(0) 27(0)
6–9 6–9 6–9 5–7 6–9 6–9 7–11 7–11 7–11 6–9 7–11
0–32767 0–32767 0–32767 0–32767 0–32767 0–32767 0–32767 0–32767 0–32767 0–32767 0–32767
Comments
MWFT and MWTT should not be assigned the same #.
No two SHRW and SHRB should be given the same #.
*** *** *** *** *** *** *** *** *** *** ***
CLOCK INSTRUCTIONS: Date Compare DCMP 3–4 0–32767 *** 67 Time Compare TCMP 5–8 0–32767 *** 87 Time Set TSET 3–4 0–32767 *** Date Set DSET 3–4 0–32767 *** 21 { Figures in parentheses are execution times for each additional word after the first. * Two numbers in this column indicate the minimum and maximum number of words required in L memory for for these instructions. ** The maximum reference number for these instructions is dependent upon memory size and allocation. *** Instructions requiring numbers must start with 1; where numbering is optional, 0 may be used. (Programming devices may restrict entry of 0). On the instructions with optional numbering, the number entered is for identification only.
A-4
Performance
SIMATIC TI560T/TI565T Technical Product Description
Page 98
A.3
TI565T Performance The TI565T can update all 64 menu driven loops in 2 seconds, and 32 loops in 1 second with a typical floating point load. The TI565T can perform 32 loop calculations, update 16 analog alarms, and execute additional floating point calculations as called from SFs all in one second. This assumes the scan time is equal to, or greater than, 50 ms to allow the TI565T to complete tasks without having to process interrupts from the TI560T. With no floating point load (no analog alarms, no special functions programs) and a ladder logic scan time over 50 in S, the TI565T can process and update as many as 99 loops per second. The minimum time to update a single loop, with processor overhead, is 100 milliseconds. The TI565T Floating Point Math Package is IEEE format. The TI565T can also recognize subscripted variables as addresses for indirect addressing. Variables may also be used as subscripts for repetitive calculations.
SIMATIC TI560T/TI565T Technical Product Description
Performance
A-5
Page 99
A.4
RCC Performance
I/O Update
The I/O update time is dependent on the number of bases and the amount of analog I/O. The following numbers show representative variance between discrete and analog updates, assuming that 10% of the modules are high density. I/O Updates
To calculate typical update times, allow 3 ms for the first base and 1.25 ms for additional bases. Add to this 16 for each word I/O point. The I/O update time can be decreased by the addition of RCC cards or by arranging the analog to discrete I/O mix to reflect a minimum amount of analog I/O per channel of each RCC. Since all the RCCs are updated in parallel, the I/O update time is most dependent on the RCC channel with the largest number of bases or the heaviest percentage of analog I/O per channel. As an example, if one RCC is installed with all the analog I/O on one channel and all the discrete I/O on the other channel, the I/O update time will be 28 milliseconds (which is the maximum time for updating one channel with all analog I/O). Better performance can be achieved by placing analog modules on the lowest numbered bases. With one broadcast message at the beginning of the I/O cycle, the RCC instructs all Remote Base Controllers to prepare inputs. It then polls each base one at a time for these inputs. Since the highest numbered bases (base 14 or 15) are polled for information and updated first, the lower numbered bases (base 0 or 1) have more time to prepare information for transmission. Because the Remote Base Controller takes longer to prepare and transmit analog information, placing analog modules in the lower numbered bases, which are updated last, allows the RBC more time to prepare the data for transmission. If analogs are placed on the higher numbered bases the preparation time may delay updates on the lower numbered bases.
A-6
Performance
SIMATIC TI560T/TI565T Technical Product Description
Page 100
A.5
Hot Backup Performance As long as the standby unit is in the off-line mode, there will be no effect on performance of the active unit. However, when the standby unit is in the on-line mode, the scan time will be approximately 9 ms longer. With the TI565T, further scan variation results from interaction between the Main CPU and the SF CPU. Since PACK SFs must complete in the scan on which they are initialized, the scan can be extended considerably. Use of long PACK statements should be avoided if this is of concern for your process. The same is true for changes to PV range on loops with many RAMP/SOAK steps. Switchover times vary depending on the type of fatal error encountered and the time lapse before the fatal error is logged and system shutdown occurs (some errors take longer to be recognized than others). Typical switchover times after a system fatal error has been detected can range from 130 ms to 200 ms. The best case is 130 ms required for the standby to verify that the active unit is no longer communicating over the I/O channel (possible if the active unit is good but the HBU fiber optic link is lost). A watchdog timer fatal error would take the most time for the system to detect. The watchdog timer times out after 500 ms have elapsed. So, worst case switchover time for this type error would be 500 ms for error detection and 130 ms for switchover, or 630 ms total.
SIMATIC TI560T/TI565T Technical Product Description
Performance
A-7