Sei sulla pagina 1di 18

Lesson 2 : Central Processing Unit of Modicon TSX 37 (TSX Micro)

Three Processors TSX 37


Processors Level

TSX 37 10

TSX 37 21

TSX 37 22

Processors TSX 37 Structure


Display block

Proc NEC Digital Processing COMM

BPR Boolean Processor

RAM memory Flash EPROM

IOIM Bit memory PCMCIA RAM or FEPROM card

Processors TSX 37-10

RUN TER I/O ERR BAT


Terminal port TER

RESET button
Power Supply Optional Battery

Processors TSX 37-10


MINI extension rack

Standard format module

BASE

Half format module


5

Processors TSX 37-21/22

RUN ERR I/O TER BAT


Terminal port TER Terminal port AUX Optional Battery

Processors TSX 37-21/22


Connectors for integrated analog and counting functions Type 3 PCMCIA communication card Type 1 PCMCIA memory card

Power Supply

Processors TSX 37-21/22


MINI extension rack

Standard format module

BASE

Half format module


8

Extension Rack for TSX 37-10/21/22

Indicator Lamp

Power Supply

Ground Terminal

Memory Structure

RAM card or Flash EPROM card

PCMCIA memory card

Lithium Battery Handle


10

Application Memory Structure on TSX 37-10/21/22 Using PCMCIA Without Memory Card Memory Card Data
Program Constants Protected Internal RAM

Data

Backup copy of Program and Constants

Program
Internal Flash EPROM

PCMCIA card

Constants

11

Data Memory Structure


System words std. function blocks Timer %TMI Timer %Ti Counter %Ci Monostable %MNi Registers %Ri Drum controller %DRi Internal words %MWi %MDWi 128 words
per block

Data Data
Program Constants

4 words 4 words 3 words 4 words 4 words 4 words 1 word 2 words

37-10 37-21/22 default 1 Kwords 2 Kwords max 1 Kwords 17.5 Kwords

per module and per channel %IW : 0 to 127 words (input) %QW : 0 to 127 words (output) %MW : 0 to 127 words (internal) %KW : 0 to 127 words (constants) %NW{j}k : common words

12

Backup Program on TSX Micro


Internal RAM

Data
Program Constants

Backup

Restore

Program Backup Copy


Internal Flash EPROM
13

Bit Memory Structure on TSX 37-10/21/22


Bit memory Size Available on processor system bits %Si I/O bits %I/Qx.i internal bits %Mi step bits %Xi Size 1280 128 472 (with AS-i) 256 128

Type of objects

Bit Structure

14

Addressing I/O module objects in TSX 37-10/21/22


Addressing of the main word and bit objects in I/O modules is defined as follows :
% I or Q X, W, or D
Format X = Boolean W = Word D = Double Word

x
Position 1 to 8 (TSX 37-10) 1 to 10 (TSX 37-21/22)

i
Channel Number

Symbol Type of object I = Input Q = Output

15

Addressing I/O module objects in TSX 37-10/21/22


EXAMPLE :

5 1 2 3

% IW5.3
Input Word from Position 5 channel 3

6
4

% I1.3
Input Bit from Position 1 channel 3

% Q4.0

TSX 37-10

Output Bit from Position 4 channel 0

16

Addressing I/O module objects in TSX 37-10/21/22


EXAMPLE :

1
2

3 4

5 6

% IW7.3
Input Word from Position 7 channel 3

8 10

% I1.3
Input Bit from Position 1 channel 3

% Q4.0

TSX 37-21/22

Output Bit from Position 4 channel 0

17

Addressing fault information in I/O module objects in TSX 37-10/21/22


EXAMPLE :

1
2

3 4

5 6

% I7.3.ERR
Information on fault in channel 3 of the module in position 7

8 10

% I4.MOD.ERR

TSX 37-21/22

Information on fault in the module in position 4

18

Potrebbero piacerti anche