
3
1 Introduction..............................................................................5
2 Model identification..................................................................5
3 Mechanical dimensions and installation...................................6
4 Display characteristics.............................................................7
5 Electrical connections..............................................................8
5.1 Terminal block M1 .............................................................9
5.2 Terminal block M2 .............................................................9
5.3 Terminal block M3 ...........................................................10
5.4 Terminal block M4 ...........................................................11
5.5 Serial ports of communication..........................................12
5.5.1 EXP1 on DB25 connector..........................................14
5.5.2 EXP1 on DB9 connector pins ....................................15
5.5.3 COM2 on DB9 connector...........................................17
5.5.4 COM2 on DB25 connector pins.................................18
6 Setting of dip-switches for analog inputs AI...........................19
6.1 Setting of dip-switches for analog inputs AI1..4...............19
6.2 Setting of dip-switches for analog inputs AI5..6...............21
7 Programming the terminal .....................................................23
7.1 Starter Kit – Connection of the terminal to the PC...........24
7.2 The development environment ........................................25
7.2.1 Creation of a new project...........................................27
7.2.2 Modification of an already existing project.................35
8 Memory areas of the TD240..................................................36
8.1 Area of Variable V............................................................36
8.2 Area of Special Marker SM..............................................37
8.3 Area of Digital Input I.......................................................59
8.4 Area of Digital Output Q...................................................59
8.5 Area of Marker M.............................................................59
8.6 Area of Analog Inputs AI..................................................59
8.7 Area of Analog Outputs AQ .............................................60
8.8 Areas of Timer T and Preset Timer PT............................60
8.9 Area of Counters C and Preset Counters PV...................60
8.10 Area of Bistable Relay B...............................................60
8.11 Area of EEProm............................................................61
8.12 Area of MMC.................................................................61