Read 46503-02-EN text version

Software and terminal for TSX 17/47 PLCs

PL7-2 software (under user interface) for TSX 17/47 PLCs Presentation, characteristics

References : page 46503/5


PL7-2 development and installation software under user interface enables TSX 17-20 and TSX 47 PLCs to be programmed in PL7-2 language. They operate on FTX 417/507/517 terminals or on PC compatible terminals with DOS operating system version 4.0 minimum. PL7-2 consists of two graphic programming languages : Ladder language and Grafcet language. It is used for programming TSX 17-20, TSX 47-J, TSX 47-10, TSX 47-20J, TSX 47-20 and TSX 47-25 PLCs.

2 /6 /91 0 :0 L PROG MAST LAD LOCAL : APPLI 1 ** LABEL 30 $10 SAWING I0,0 B0 R'"""C0""""©E O3,0 » ¬" fl""""""/fl""""""""""""""""""""""" ¬""""""""""""""""""""""""""` "" » » » » » » » » »'""COMPAR:0"""© E'"""T0""""©D P» »D '""""""OPERATE:1"""""©» ¬ COM10,2 <> C ¬""" ¬""""" ¬""""""""® W0 + W2 ê W10 ¬ »""""""""""""" » » » » »"""""""""""""""""""" » » »TB: 1mm » » » » » » I0,2 C» »R V¢»C,P: 1000»F »'""""""OPERATE:2"""""©» ¬"" fl"""""""""""®"" ¬""""" MODIF: Y ¬" COM10,2 XOP COM14,3 ¬ » » »T,P: 500 » » » """""""""""""""""""" » » » »MODIF: Y » » » » »'""COMPAR"""""©» » » D¢» » » ¬ W50 >= W60 ¬ » » " » " """"""""""""" """"""""" """"""""" 0:COM10,2 <> COM10,3 2:COM10,2 XOR COM14,3 ê COM10,3 DISPLAY LABEL TOP BOT MODIF SAVE RESTORE REF 15/9 /91 0 :0 L PROG MAST CHART OK page : 0 LOCAL: APPLI1 """®""""""®""""""®""""""®""""""®""""""®""""""®""""""®""""""®""""""""""""""""""" 8 1 » }0 {9 » ¡ Â æ » -- -- -- » {1 {10 {14 » ¡ ¡ ¡ » oe......................................................... -- -- » {2 {5 ø 9 {11 ¡ » Â æ ¡ ¡ ¡ » -- -- -- OE······ » {3 ¡ {6 {12 » ¡ ¡ ¡ ¡ » OE······ -- -- » {4 {7 {13 » ß....................................... ............................................................ » -- » {8 » ¡ » -- » ø 0 » DISPLAY STEP TOP BOT MODIF PAGE

i Ladder language is particularly suitable for combinational logic. It also has a library of preprogrammed functions. Operation blocks provide numeric processing functions.

i Grafcet language defines the sequential structure of the application. It consists of steps and transitions and uses Ladder language for programming actions associated with steps and combinational type transition conditions.

i PL7-2 provides numerous help functions for programming and debugging : - adjustment of value - graphics editor - complete application dossier with cross references. - programming in RUN mode - real-time debugging services


Ladder language Ladder network i i i i 4 lines of 9 contacts 1 output per line 999 labels (1 label per rung) comment (15 characters maximum) Function blocks (Max. number programmable) i Timers (10 ms to 9999 min) i Monostables (10 ms to 9999 min) i Up/down counter (0...9999) i Fast counter/timer (0...9999) (Time base 0.555 ms) i Drum controllers i 16-bit LIFO or FIFO registers i Text blocks i Real-time clock TSX 17-20 TSX 47 32 8 31 1 16 8 16 ­

Graphic symbols i N/O and N/C contacts i Direct, inverse, SET, RESET coils i Program jump coil

8 4 8 1

8 4 8 ­

Grafcet language

Addressable objects

Operation blocks (Unlimited maximum number) i Arithmetic +, -, x, /, REM (on 16 bits) i Logic AND, OR, exclusive OR, CPL i BCD, ASCII, binary conversion i Circular shift operation in both directions i Transfer on bit strings, words, immediate value, word tables Chart Pages i 96 steps, of which 16 are initial steps i 8 pages of 8 columns i 16 simultaneously active steps i 1 column = 1 source connector i 128 transitions of which 24 simultaneously enabled 6 steps, 6 transitions i 4 sequences per divergence/convergence 1 destination connector Addressable bit objects TSX 17-20 TSX 47 Addressable word objects TSX 17-20 TSX 47 (maximum number) (maximum number) i l/O,x,i I/O 160 256 i W0 to W1023 internal words 1024 1024 i I0,24-I0,25 Event-triggered 2 ­ i CW0 to CW1023 constant words 1024 1024 inputs i SW0 to SW63 system words 64 4 i Bi Internal bits 256 256 i Xi, V step activity 96 96 i SYi System bits 24 24 i lWx,i/OWx,i register words 24 32 i Si Status bits : bits 8 16 i COMi,j common words 4x16 4x16 (state per module) TELWAY/ FIPWAY

Comparison blocks (Unlimited maximum number) i >, <, <>, i =, > =, < =,



Software and terminal for TSX 17/47 PLCs

PL7-2 software (under user interface) for TSX 17/47 PLCs Functions

Characteristics : page 46503/2 References : page 46503/5 TSX 17-20 and TSX 47-J/10/20/25 PLCs have a dual-task software structure, and have 2 operating scans : i Single task scan : the PLC executes a single task, called the "master task" i Dual-task scan : the PLC executes the master task and a task called the "fast task".

Single task software structure

The PLC executes a single task : the master task. This non-periodic (sequential) task is monitored by a software watchdog set at 150 ms. It is programmed in Grafcet and/or Ladder language. The PLC scan is as follows : i Management of communication with terminal i Reading inputs i Scanning the application program i Updating the outputs

Read inputs

Sequential processing

Update outputs

Dual-task software structure

When the dual-task scan is selected, the tasks executed are as follows : i Master task : non-periodic, monitored by a 150 ms software watchdog. It can be programmed in Grafcet and/or Ladder language. i Fast task : this task authorises short duration, high frequency processing of data. It can read data from an input module (8 channels for the TSX 17-20), process up to 20 Ladder rungs and update an output module (8 channels for the TSX 17-20). It is programmed in Ladder language only.

Master task execution scan

Fast task execution scan

Read inputs

Time base (1) Event-triggered inputs or fast counter (2)

Update outputs Sequential processing Processing

Update the 8 outputs configured for this task

Update outputs

The fast task is periodic with TSX 47-J/10/20/25 PLCs (5 or 10 ms). The fast task is event-triggered with TSX 17-20 PLCs (3) (activated by the 2 event-triggered inputs or by the fast counter). The fast task can be inhibited or activated by program (set system bit SY3 to 1 or 0). (1) With TSX 47-J/10/20/25 PLCs. (2) With TSX 17-20 PLC. (3) Periodic when using fast counter.



Software and terminal for TSX 17/47 PLCs

PL7-2 software (under user interface) for TSX 17/47 PLCs Ladder language, Grafcet language and blocks

Characteristics : page 46503/2 References : page 46503/5

Ladder language

Ladder language is an entirely graphic language used for programming TSX 17-20 and TSX 47 PLCs. It offers not only the advantages of similarity with relay logic processing, but also the possibility of using sophisticated control system function blocks and operation blocks. It can be used on its own or in conjunction with Grafcet language. Programs written in Ladder language use a dual-task structure. i Master task : executes the sequential processing of the control system. i Fast task : for short duration, high frequency processing operations. It is event-triggered with the TSX 17-20 compact PLC. As programs written in the fast task must be short, they are limited to 20 Ladder rungs (1 or 2 ms maximum). Programs written in Ladder language consist of a series of Ladder rungs (each of the 999 rungs has a maximum of 4 lines of 9 contacts and 4 coils). The graphic symbols are labelled by the physical address or by a symbol of 8 characters.

Grafcet language

Designed to represent the sequential part of a control system specification, Grafcet is one of the languages now offered for programming TSX 17-20 and TSX 47 PLCs. Grafcet PL7-2 language is entirely graphic, and conforms to standard NF C 03-190. Grafcet language is used in the master task. It is structured for three types of processing : i Pre-processing : processing events such as reinitialisation in the case of power break/return or failure, changes in operating mode input logic for the application. i Sequential processing : the graphic transcription of the Grafcet chart and access to transition conditions and actions directly associated with the steps. i Post-processing : execution of the output logic, taking account of instructions from the two preceding processing steps. Indirect safety conditions specific to the outputs are also taken into account. Programs written in Grafcet language consist of steps (96 maximum), of transitions (128 maximum) and of links between steps and transitions. A Grafcet chart may be broken down into 8 pages.

Function blocks

Function blocks are pre-programmed in the PLC and enable basic control system functions to be easily inserted into application programs : i Timer i Up/down counter i Drum controller i Monostable i Register i Real-time clock (TSX 17-20) Function blocks can be inserted into any Ladder rung in the form of graphic elements. They can be cascaded and are represented as a rectangle on the screen. Each block has inputs for control purposes and outputs which can operate the network coils, or words associated with specific values (current value, preset values, etc). This data can be used in all Ladder rungs.

Operation blocks

Operation blocks enable test operations and actions to be performed on words (internal words, constant words, system words, Grafcet step, values associated with function blocks). The various operation blocks are : i Word comparison (>, <, < >, > =, = <) i Arithmetic ( +, ­, x, /) i Logic AND, OR, exclusive OR operation i Conversion, transfer i Transfer of tables, of internal words or of constant words i Circular shift operations

Text and real-time clock blocks

The text function block is the "software tool" for communication from or to TSX 17-20 and TSX 47 PLCs. It is used for exchanging various types of data (word table of 30 bytes maximum ) : i Via terminal port (ASCII data exchange) i Via UNI-TELWAY Real-time clock function blocks (unlimited number) are used for the time and date programming function on TSX 17-20 PLCs (for setting day, hour, minute or year, month, day).



Software and terminal for TSX 17/47 PLCs

PL7-2 software (with user interface) for TSX 17/47 PLCs References

Characteristics : page 46503/2

Programming software packages running under DOS user interface

PL7-2 programming software packages, requiring DOS operating system version 4.0 minimum , are used for the development of applications for TSX 17-20 PLCs (with PL7-2 language cartridge) and for TSX 47-10/20/25 sequential PLCs. i 1 set of 3" 1/2 disks, PL7 software i 1 set of 3" 1/2 disks, DOS user interface i A5 manual. Description PL7-1/PL7-2 V5 programming and operation software package PL7-2 V5 programming and operation software package (2) Programming terminal FTX 417 FTX 507 PC compatible FTX 417 FTX 507 PC compatible Use TSX 17-10 TSX 17-20 Reference (1) TSX L PL7 12 V5E Weight kg 1.750


TSX 17-20



TSX 17-20 TSX 47

TSX L PL7 22 V5E


Connection accessories

Description Use FTX 417/FTX 507/517 xv TSX 17 Reference Weight kg 0.280

Connecting cables

T FTX CB 1030

TSX L PL7 22 V5E

FTX 417-40/507/517 xv TSX 47 (3)



PC compatible xv TSX 17



Conversion kit (connector and cables)

PC compatible xv TSX 47





(in English) Manual format A5 loose-leaf Included with product TSX L PL7 12 V5E Reference Weight kg 0.380

PL7-2 reference manual PL7-2 language summary manual DOS user interface manual


A5 bound

TSX L PL7 12 V5E

TSX D12 002E


A5 bound

TSX L PL7 1 V5E TSX L PL7 12 V5E TSX RL PL7 1 V5E TSX L PL7 1 V5E TSX L PL7 12 V5E



PL7-2 operating modes manual

A5 loose-leaf



TSX AEG/ASG/DTF A5 bound TSX L PL7 1 V5E TSX D12 005E extension modes TSX L PL7 12 V5E manual TSX RL PL7 1 V5E (1) The letter E at the end of a reference indicates that the product includes documentation in English. (2) A PL7-2 version for the X-TEL software workshop is also available, (see page 46302/2). (3) For use with FTX 417-20, use T FTX CB 74 cable.






4 pages

Report File (DMCA)

Our content is added by our users. We aim to remove reported files within 1 working day. Please use this link to notify us:

Report this file as copyright or inappropriate