Pixsys TD240-AD Operating instructions

Type
Operating instructions
Manuale
operatore
2
3
TABLE OF CONTENTS
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
4
8.13 Area of TX/RX EXP1..................................................... 61
9 Communication protocols ...................................................... 62
9.1 Managing the communication port ................................... 62
9.1.1 Port EXP1 .................................................................. 63
9.1.2 Port COM2 ................................................................. 63
9.2 Protocol ModBus RTU ..................................................... 63
9.2.1 ModBus RTU Master ................................................. 64
9.2.2 ModBus RTU Slave ................................................... 65
9.3 Protocol NAIS Matsushita Master .................................... 69
10 Ladder programming of TD240 ........................................... 72
10.1 Digital input contacts I ................................................... 72
10.2 Digital output contacts Q ............................................... 72
10.3 Bistable relay B ............................................................. 72
10.4 Timer T ......................................................................... 73
10.5 Counters C .................................................................... 74
10.6 Mathematic formulas (FM) ............................................ 75
10.7 MOV assignments ........................................................ 75
10.8 BLKMOV multiple assignments .................................... 75
10.9 MOVIND indexed assignments ..................................... 76
10.10 MOVTXT assignments ............................................... 76
10.11 Digital input immediate contacts II ............................. 76
10.12 Contacts IF ................................................................ 77
10.13 Functions SBIT and RBIT .......................................... 77
10.14 BIT contacts ............................................................... 77
10.15 RANGE functions ....................................................... 77
10.16 NOT contacts ............................................................. 78
10.17 P and N contacts ....................................................... 78
10.18 SEND functions ......................................................... 78
10.19 TunePOS and POS functions .................................... 79
10.20 EXP functions ............................................................ 81
10.21 StartPID, PID and SetOutPID functions ..................... 83
10.22 GENSET functions ..................................................... 86
10.23 CONV functions ......................................................... 88
11 Notes / Updates .................................................................. 89
5
1 Introduction
Thank you for choosing a Pixsys instrument.
TD240 is a graphical Touch screen HMI, available also with an
integrated PLC. The graphical resources are easily manageable
by TdDesigner, a simple and versatile development environment,
while the PLC logic is managed by PLProg development
environment, which is common to other Pixsys devices .
The waterproof protection of the facade is IP54 and IP30 for the
enclosure.
2 Model identification
There are two versions of the product.
TD240
-
AD
is only
graphical Touch screen terminal while TD240-11AD is the version
with integrated PLC expansion.
Ordering code
-
Graphical
touch screen
terminal
-
no PLC expansion integrated
11
with integrated PLC expansion
Power
AD
12...24V
AC/DC
±15% 50/60Hz
6
3 Mechanical dimensions and installation
7
4 Display characteristics
1
DISPLAY
Type
: Back-lit LCD, resistive touch screen TFT
Dimensions: Active Area 3.5”
70.03(W)mm x 52.56(H)mm
Resolution: 320x240 pixels
Colours: 256 (8bit)
Importable Images: bitmap of 256 colors(.bmp)
8
5 Electrical connections
Although this instrument is designed to resist the most
difficult conditions in industrial environments, it
is good practice to observe the following precautions:
Distinguish supply line from power line
Avoid proximity with remote control switches,
electromagnetic contactors, and powerful
motors.
Avoid placing near power installations, particularly
if phase-controlled
Wiring plan TD240-11AD.
AI-COM
AI .1
AI .2
AI .3
AI .4
AQ-COM
12...2 4
VDC
AQ .4
AQ .3
AQ .2
AQ .1
CAN-L
CAN-H
CAN-R
I/Q .1
.2
.3
.4
.5
.6
.7
.8
.9
.10
.11
.12
.13
.14
.15
.16
12...24
VDC
DB25
DB9
M1
M2
M4
M3
9
5.1 Terminal block M1
Power Supply
SUPPLY
12 to 24V ac/dc
12…24V AC/DC ±15% 50/60Hz
5.2 Terminal block M2
This terminal block is only for TD240-11AD.
10
The expansion board is provided with 16 pins for digital I/O. Each
pin can be used as input or output. If used as output, the tension
value generated by the output is also read as input.
Digital inputs /outputs
I/Q.1
÷
16
Inputs PNP (0-24VDC)
Static output: 24Vdc – 0,7A
Max power consumption 4.0 A
5.3 Terminal block M3
This terminal block is only for TD240-11AD.
Analog outputs
1
CAN- R CAN interface, currently not available. Do not
use these pins.
2
CAN- H CAN interface, currently not available. Do not
use these pins.
3
CAN- L CAN interface, currently not available. Do not
use these pins.
4
AQ.1
Positive for analog output AQ1 (0÷12,5 VDC)
5
AQ.2
Positive for analog output AQ2 (0÷12,5 VDC)
6
AQ.3
Positive for analog output AQ3 (0÷12,5 VDC)
7
AQ.4
Positive for analog output AQ4 (0÷12,5 VDC)
8
AQ.COM Negative common signal for analog outputs
9
+
Supply for analog and static outputs
(Connect 12÷24 VDC)
10
-
R
11
5.4 Terminal block M4
This terminal block is only for TD240-11AD.
Digital Inputs/ Outputs
1
AI
-
COM
Negative common signal for analog inputs.
2
AI.1
Positive for analog input AI1.
3
AI.2
Positive for analog input AI2.
4
AI.3
Positive for analog input AI3.
5
AI.4
Positive for analog input AI4.
12
5.5 Serial ports of communication
TD240 terminal communication with other devices is possible
through serial connection with RS485 or RS232.
The electrical signals are available in two connectors present at
the back of the terminal: pin DB9 and pin DB25.
DB9 FE
CONNECTOR
PIN N°
SIGNAL
PORT
DB9
PINS
1 Not used -
2 RX – RS232 COM2
3 TX – RS232 COM2
4 RS485 - EXP1
5 GND RS485 / RS232 COM2 / EXP1
6 TX – RS232 EXP1
7 RX – RS232 EXP1
8 Not used -
9 RS485 + EXP1
DB25FE
CONNECTOR
PIN N°
SIGNAL
PORT
DB25
PINS
1 RX – TTL COM2
2 TX - TTL COM2
3 Not used -
4 Not used -
5 GND RS485 / RS232 COM2 / EXP1
6 Not used -
7 GND RS485 / RS232 COM2 / EXP1
8 Not used -
9 Not used -
10 Not used -
11 RX – RS232 COM2
12 TX – RS232 COM2
13 Not used -
14 GND RS485 / RS232 COM2 / EXP1
15 RS485+ EXP1
16 RS485- EXP1
17 Not used -
18 Not used -
19 Not used -
20 Not used -
21 RX – RS232 EXP1
22 TX – RS232 EXP1
23 Not used -
24 RS485+ COM2
25 RS485- COM2
14
5.5.1 EXP1 on DB25 connector
The communication port EXP1 is available in the 25 connector
pins in RS232 interface or RS485 (protocol, baud rate, and format
are selectable).
5.5.1.1 Interface RS232
PIN 14 GND
PIN 21 RX-232
PIN 22 TX-232
DB25FE
5.5.1.2 Interface RS485
PIN 14 GND
PIN 15 RS485+
PIN 16 RS485-
DB25FE
5.5.1.2.1 Cable of EXP1 communications in generic RS485
A cable is available (cod. art. 1620.00.057, optional), which
provides EXP1 port from connector DB25 in RS485 for a generic
connection with other devices (for details regarding the
communication protocols, consult other documentation).
15
5.5.1.2.2 Cable of EXP1 comm. in RS485 for PL250 / PL300
For communication with other Pixsys devices (PL250-XXAD and
PL300-XXAD) an (optional) cable is available that connects port
EXP1 in RS485 from connector DB25 of the terminal to port
COM1 on PLUG of the PLC.
5.5.2 EXP1 on DB9 connector pins
The communication port EXP1 is available in the DB9 connector
pins in RS232 interface or RS485 (protocol, baud rate, and format
are selectable).
16
5.5.2.1 Interface RS232
PIN 5 GND
PIN 6 TX - RS232
PIN 7 RX - RS232
DB9 FE
5.5.2.2 Interface RS485
PIN 5 GND
PIN 9 RS485+
PIN 4 RS485-
DB9 FE
5.5.2.2.1 Cable of EXP1 comm. in generic RS485
A cable is available (code art. 1620.00.034, optional), which
provides EXP1 port from connector DB9 in RS485 for a generic
connection with other devices (for details regarding the
communication protocols, consult other documentation).
17
5.5.2.2.2 Cable of EXP1 comm. in RS485 for PL250/PL260/
PL300
For communication with other Pixsys devices (PL250-XXAD and
PL300-XXAD) an (optional) cable is available that connects port
EXP1 in RS485 from connector DB9 of the terminal to port COM1
on PLUG of the PLC.
5.5.3 COM2 on DB9 connector
The communication port COM2 is available in the 9-pin connector,
interface RS232 (protocol MODBUS SLAVE, format 8,N,1, baud
rate selectable).
Usually this is the communications port used for
programming the terminal through a PC (see Chapter 4).
5.5.3.1 Interface RS232
PIN 5 GND
PIN 3 TX - RS232
PIN 2 RX - RS232
DB9 FE
18
5.5.4 COM2 on DB25 connector pins
The communication port COM2 is available in the 25-pin
connector, in interface RS232 or RS485 (protocol MODBUS
SLAVE, format 8,N,1, baud rate settable).
Usually this is the communications port used for
programming the terminal through a PC (see Chapter 5).
5.5.4.1 Interface RS232
PIN 7 GND
PIN 12 TX - RS232
PIN 11 RX - RS232
DB25FE
5.5.4.2 Interface RS485
PIN 14 GND
PIN 24 RS485+
PIN 25 RS485-
DB25FE
19
6 Setting of dip-switches for analog inputs AI
TD240-11AD is provided with some internal dip-switches (which
may be accessed also externally through a hole on the enclosure)
for the setting of analog inputs.
For most configurations the settings of inputs AI1..AI4 are similar.
Each input is configurable by a dip-switch composed of 4 selectors
(except for AI1 which has a 6pins dip-switch, but the first 4
selectors must be configured as for all other analog inputs).
Correspondance between analog inputs and their relevant
dipswitch is shown in the diagram below:
N.B.: The device must be switched-off before proceeding to
any hardware configuration!
6.1 Setting of dip-switches for analog inputs AI1..4
To obtain the required type of input select the relevant dip-switch
according to the table below:
Type of input
Dip
-
switch
Note
s
Desabled
If analog input is not used, keep
the dip-switches open as in the
picture
0..10V 10 bit
Connect positive signal to analog
input and reference signal to pin
AI.COM.
0..10V 16 bit
Connect positive signal to analog
input and reference signal to pin
AI-COM.
20
Type of input
Dip
-
switch
Notes
0..1V
0..20 mV
Connect positive signal to analog
input and reference signal to pin
AI-COM.
0..20 mA
Connect positive signal to analog
input and any reference pin to the
ground of power supply for digital
outputs
4..20 mA
TC
K, S, T,
R, J, E
Connect positive signal of
thermocouple to the analog input
and the negative signal of
thermocouple to pin AI-COM.
PT100
NI100
For two
-
wires PT100/NI100 this
setting can be selected for all
inputs. Connect one wire to
analog input and the one to
reference pin of AI-COM inputs
For 3-wires PT100/NI100 this
setting is selectable only for
AI1 and AI4. Connect white wire
to analog input AI1 or AI4 and the
two red wires to the reference pin
of AI-COM e to the compensation
input of AI2 or AI3.
Compensa-
zione per
PT100/NI100
a 3 fili
For 3
-
wires PT100/NI100 this
setting is selectable only for AI2
and AI3, respectively as
compensation for inputs AI1 and
AI4.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92

Pixsys TD240-AD Operating instructions

Type
Operating instructions

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI