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

The text of a manual · part 6 of 14

SIMATIC TI560T/TI565T Technical Product Description: 3 TI565T, pages 44 to 53

Pages 44 to 53 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 44

Chapter 3

TI565T 3.1

TI565T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-2

Advantages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-2 3-2

3.2

Chassis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-3

3.3

Chassis Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-4

3.4

Special Function CPU Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-5

3.5

Special Function CPU Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-6

SF CPU Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SF CPU Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-6 3-6

Special Function Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-7

SF Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-7

3.7

Statement Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-8

3.8

SF Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-12

3.9

PID Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-14

PID Loop Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-16

Analog Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-17

Analog Alarm Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-18

TI565T Controller Component List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-19

3.6

3.10

3.11

SIMATIC TI560T/TI565T Technical Product Description

TI565T

3-1

Page 45

3.1

TI565T

Advantages

The TI565T provides the application solutions for hybrid processes. With the Main CPU executing ladder programs and coordinating communications while the SF CPU handles loops, special function programs, and analog alarms, the TI565T is your choice for a controller that can handle your entire application.

Features

The Special Function programming statements enable you to use complex math computations, conditional statements, data tables, and other needed functions simply by filling in the memory locations to be used. The loops and analog alarms are also easy to program by using the same fill-in-the-blanks menu concept. The TI565T SF CPU automatically allocates memory for loops, analog alarms, and special function programs. No tedious forms are required to track the SFs in memory. You can program up to 64 PID loops with a choice of options that include the following features. •

Position/Velocity Algorithm

•

Ramp/Soak Setpoint

•

Lock Setpoint

•

Derivative Gain-Limiting Algorithm

•

Freeze Bias if Output Out of Range

•

Rate-of-Change Alarm

In addition, the TI565T provides up to 128 analog alarms for handling analog signals with the precision you use for loop alarms.

3-2

TI565T

SIMATIC TI560T/TI565T Technical Product Description

Page 46

3.2

Chassis The TI560T or TI565T chassis (Figure 3-1) is a 19-inch, rack-mountable housing which can accommodate up to eight cards. The chassis contains a backplane to which the system cards are physically connected. The system power supply is mounted in the far left side of the chassis and does not occupy any of the 8 slots available for cards. The first slot next to the power supply is reserved for the Main CPU card. The remaining slots can be used for memory expansion, I/O expansion, SF CPU option, and the Hot Backup option. These cards can be installed in any order; however, there must be no blank slots between cards.

Figure 3-1 TI565T Chassis

SIMATIC TI560T/TI565T Technical Product Description

TI565T

3-3

Page 47

3.3

Chassis Power Supply The TI560T or TI565T chassis power supply (Figure 3-2) is a plug-in module which resides in the left side of the chassis. You may select either a 110/220 VAC or a 24 VDC power supply. This module supplies power to all the cards in the chassis. Use the PPX:560T–2125 chassis with the 24 volt power supply and the PPX:560T–2124 chassis with the 110/220 volt power supply. The AC power supply provides 112.5 watts of 5 V power to the system and 1 amp of 5.10 volt battery backup power. Individual cards do not have battery backup. The DC power supply affords 147.5 watts of 5 V power to the system. A memory-protect lock, power LED, and battery status LED are located on the front panel of the power supply. The battery on-off switch, battery, AC power connection, and fuse are also accessible through the front panel. Selection of 110 VAC or 220 VAC is done using an internal switch.

Power Supply

Figure 3-2 TI565T Power Supply Location

3-4

TI565T

SIMATIC TI560T/TI565T Technical Product Description

Page 48

3.4

Special Function CPU Card The TI565T requires the addition of a SF CPU (Figure 3-3) into an open chassis slot of a TI560T system. The chassis slot adjacent to the power supply is reserved for the Main CPU. The SF CPU card is an MC68000 microprocessor-based device which runs in parallel with the Main CPU. The SF CPU card provides two additional communications ports. Both ports are RS-232–C and provide for ASCII message output only.

SF CPU Card

Figure 3-3 TI565T

SIMATIC TI560T/TI565T Technical Product Description

TI565T

3-5

Page 49

3.5

Special Function CPU Operation

SF CPU Functions

The SF CPU executes processes termed Loops, Analog Alarms, and Special Function programs asynchronous to the controller timeline. During the I/O cycle, if the SF CPU is running a process that needs to read an I/O point, this process is stopped and the next priority process is started. Once the I/O cycle completes, the SF CPU resumes running the previous higher priority process.

SF CPU Communications

The Main CPU is idle during SF CPU communications and gives the SF CPU full access to the bus. This time period typically is less than 1.0 millisecond, but is dependent on the number of Special Function programs being called from ladder logic and other requests queued for processing by the SF CPU. Figure 3-4 shows the relationship among the cards.

Cycle

I/O Update

Ladder Execution

Main CPU

RCC

Start Update Diagnostics

Update Complete

SF CPU

Verify Error Check of I/O

I/O Update

I/O Update Complete

Update Complete

Continuously Communicating with other unit

Resumes running. Memory updates into holding buffer

RLL

Intel Module Access

Start Update

Running until I/O needed

Start Access Intelligent I/O Service

HBU

Request/ Response

Checkpoints to HBU

Intel Module Access

Memory Updates from Intelligent Modules Intel Modules Complete

Inter-CPU Synchronization

Communication Port Service

SF CPU Access

Comm Port Access

MEMORY UPDATE

SF CPU Access

Memory Update Checkpoint

SF CPU Access

Communication Updates from Operator Interfaces & Programmers Scan Time Check & Acknowledge

Figure 3-4 SF CPU Functions

3-6

TI565T

SIMATIC TI560T/TI565T Technical Product Description

Page 50

3.6

Special Function Programming

SF Programs

The TI565T offers application solutions with Special Function programs and subroutines. Special Function programs can be called on a timed basis (Cyclic), from ladder logic, from PID loops, or from Analog Alarms. Additionally SF programs can be identified as Priority or Non-priority. Priority SF programs are allocated twice as much execution time as non-priority programs. In the TI565T, user-defined Special Function Programs consist of Special Function statements. In addition, SF Programs may call SF Subroutines. Each Subroutine is assigned a unique number and can be called from one or more Special Function Programs. SF subroutines can also call other subroutines up to a total of four levels deep.

SIMATIC TI560T/TI565T Technical Product Description

TI565T

3-7

Page 51

3.7

Statement Types

TI565T SF PROGRAMMING SET COMMENT

Provides comment capabilities.

BINARY-BCD

Performs a Binary to BCD conversion.

BCD-BINARY

Performs a BCD to Binary conversion.

SCALE

Converts Binary to Engineering units.

UNSCALE

Converts Engineering units to Binary.

MATH

Allows the user to enter math equations in a natural algebraic manner using the usual rules of operator precedence. Parenthesis are allowed, as well as subscripted variables for reading or writing to a number of values. Variables and constants may be either integer or real. Math statements support the following operators.

exponentiation multiplication division addition subtraction/unary minus

- assignment

In addition to the above operators, the Math SF provides the following functions: ABS TRUNC FRAC ROUND CEIL FLOOR SQRT EXP LN (Base e) LOG (Base 10) SIN COS TAN ARCSIN ARCCOS ARCTAN

3-8

TI565T absolute value truncate, return integer return fraction round, return integer return smallest integer greater than or equal to x return largest integer less than or equal to x square root exponential natural logarithm common logarithm sine - in radians cosine - in radians tangent - in radians inverse sine - in radians inverse cosine - in radians inverse tangent - in radians

SIMATIC TI560T/TI565T Technical Product Description

Page 52

TI565T SF PROGRAMMING SET (continued) NOT

>> << * /

MOD

+ – WAND WOR WXOR :=

Unary NOT. The expression “not X” returns the one’s complement of X Shift right Shift left Multiplication Integer division. Any remainder left over after the division is truncated Modulo arithmetic. The expression “X mod Y” returns the remainder of X after division by Y. Addition Subtraction/unary minus Bit-by-bit AND of two words Bit-by-bit OR of two words Bit-by-bit XOR of two words Assignment

IF-THEN ELSE ENDIF

The IF-THEN, ELSE, ENDIF special functions are used together to program conditional statements. The ENDIF statement ends the IF-THEN loop.

SDT Sequential Data Table

Sequential Data Table. The Sequential Data table maintains an index into a table. Each time the statement is executed, the table index is incremented by one; and the next entry in the table is output. When the end of the table is reached, the index is reset to point to the first entry in the table; and a discrete bit, called the restart bit, is turned off. The restart bit is turned on if the index is at any point other than the beginning of the table.

CDT Correlated Data Table

The Correlated Data Table uses an input and an output table. The CDT routine locates the entry in the input table that is greater than or equal to a specified input value. It then writes the corresponding entry in the output table to the output variable. Both tables must have the same number of entries, and the values in the input table must be in ascending order; i.e., the lowest value in the lowest numbered memory location to the highest value in the highest memory location.

SIMATIC TI560T/TI565T Technical Product Description

TI565T

3-9

Page 53

Statement Types (continued)

TI565T SF PROGRAMMING SET (continued)

3-10

TI565T

SSR Sequential Shift Register

Sequential Shift Register. Sequential shift registers shift all of the data within the register one position each time a shift command is executed. The first (vacated) position in the table is set to zero. The data shifted out of the last position in the table is lost. The register is considered empty when it contains all zeros, and the status bit is turned on to indicate that the register is empty. The synchronized shift register is especially suited to following parts down an assembly line.

FTSR IN

Fall Thru Shift Register Input. FTSR–IN and FTSR–OUT are used to operate asynchronous shift registers. FTSR–IN is used to add an entry to the table while FTSR–OUT is used to remove an entry from the table. The asynchronous shift registers are tables containing binary words. The first words entered into the table with FTSR–IN are the first words output with FTSR–OUT.

FTSR OUT

Fall Thru Shift Register Output. FSTR-OUT is used to remove an entry from an asynchronous shift register. This is done on a first in/first out basis as noted above.

PRINT

ASCII Message Print. Print is used to output a message through the ASCII message ports. This statement may be used to print both text and the contents of integer and real variables.

CALL

The CALL Special Function is used to call an SF subroutine. Up to 1023 subroutines can be created in the TI565T. Each subroutine is given a unique number, once the SF SUB is defined, it can be called using its unique number. Four levels of subroutine nesting are allowed. The call function can include up to 5 parameters which are passed and/or returned from the subroutine.

PACK

The PACK SF provides a means to easily pack data into contiguous blocks. This SF can pack Xs, Ys, Cs, WXs, WYs, or K or V words into blocks. This SF is most useful for transmission of data on a communications network such as TIWAY.

LEAD/LAG

The Lead/Lag SF allows the user to perform a Lead/Lag function on any analog variable. Typically used in a process control Loop as a compensator in dynamic Feed-Forward control. This SF may only be invoked from Loops, Analog Alarms, or Cyclic SF programs. In specifying the Lead/Lag SF the Input and Output words are defined along with the lead-time in minutes and the lag-time in minutes plus a gain.

SIMATIC TI560T/TI565T Technical Product Description