Pixsys TD320 User manual

Manuale
User manual

2
TABLE OF CONTENTS
Introduction..................................................................................4
Model identification.....................................................................4
1Mechanical dimensions and installation .............................5
2Display characteristics..........................................................6
3Electrical connections...........................................................7
3.1 Terminal clip connections ..................................................7
3.2 Serial ports of communication............................................8
3.2.1 COM1 on DB25 pins..................................................10
3.2.2 EXP1 on DB9 and DB25 connector pins....................11
3.2.3 COM2 Interface RS232..............................................13
3.3 NPN digital inputs ............................................................14
4Programming the terminal..................................................15
4.1 Starter Kit – Connection of the terminal to the PC ...........16
4.2 The development environment ........................................17
4.2.1 Creation of a new project ...........................................19
4.2.2 Modification of an already existing project .................25
5Memory areas of the TD320................................................26
5.1 Area of Variable V............................................................26
5.2 Area of Special Marker SM ..............................................27
5.3 Area of Digital Input I .......................................................40
5.4 Area of Digital Output Q...................................................40
5.5 Area of Marker M .............................................................41
5.6 Area of Analog Inputs AI..................................................41
5.7 Area of Analog Outputs AQ .............................................41
5.8 Areas of Timer T and Preset Timer PT ............................41
5.9 Area of Counters C and Preset Counters PV...................42
5.10 Area of Bistable Relay B ...............................................42
5.11 Area of EEProm............................................................42
5.12 Area of MMC.................................................................43
5.13 Area of TX/RX COM1 ...................................................43
5.14 Area of TX/RX EXP1.....................................................43
6Communication protocols ..................................................45
6.1 Managing the communication port...................................45
6.1.1 Ports COM1 and EXP1..............................................46
6.1.2 Port COM2.................................................................46

3
6.2 Protocol ModBus RTU .....................................................46
6.2.1 ModBus RTU Master .................................................47
6.2.2 ModBus RTU Slave ...................................................48
6.3 Protocol NAIS Matsushita Master ....................................52
7Ladder programming of the TD320 ....................................56
7.1 Digital input contacts I......................................................56
7.2 Digital output contacts Q..................................................56
7.3 Bistable relay B................................................................56
7.4 Timer T ............................................................................57
7.5 Counters C.......................................................................58
7.6 Mathematic formulas (FM) ...............................................59
7.7 MOV assignments ...........................................................59
7.8 BLKMOV multiple assignments .......................................59
7.9 MOVIND indexed assignments........................................60
7.10 MOVTXT assignments..................................................60
7.11 Digital input immediate contacts II ................................60
7.12 Contacts IF ...................................................................61
7.13 Functions SBIT and RBIT .............................................61
7.14 BIT contacts..................................................................61
7.15 RANGE functions..........................................................61
7.16 NOT contacts................................................................62
7.17 P and N contacts ..........................................................62
7.18 SEND functions ............................................................62
7.19 TunePOS and POS functions .......................................63
7.20 COM and EXP functions ...............................................66
7.21 StartPID, PID and SetOutPID functions ........................67
7.22 GENSET functions........................................................70
7.23 CONV functions ............................................................71
8Notes / Updates....................................................................73

4
Introduction
Thank you for having chosen a instrument. Model TD320
is a graphical touch screen terminal with an integrated PLC
adapted for the supervision and control of systems where the
participation of an operator (HMI) is necessary. The graphical
resources a
re easily manageable from TdDesigner, a simple and
versatile development environment, while the logic relative to the
PLC is managed from the PLProg development environment,
which is common to other devices (PL250, TCT500, etc).
The waterproof prote
ction of the facade is IP54 and IP30 for the
container.
Model identification
Only one version of the terminal TD320 is available, in low
voltage, AC or DC. This is indicated in the model identification.
Ordering code
TD320-
Power AD
12…24V AC/DC ±15% 50/60Hz

5
1 Mechanical dimensions and installation
1
4
2
m
m
D
B
9
F
E
D
B
2
5
F
E
4
8
m
m
170 mm
179 mm
204 mm
4

6
2 Display characteristics
1 DISPLAY
Type: Back-lit LCD, resistive touch screen STN
Dimensions: Active Area 5.7”
115.18(W)mm x 86.38(H)mm
Resolution: 320x240 pixels
Colors: 256 (8bit)
Importable Images: bitmap of 256 colors (.bmp)

7
3 Electrical connections
Although this instrument is designed to resist the most
difficult conditions pres
ent in industrial environments, it
is good practice to observe the following precautions:
•
Distinguish the line bringing live current from those
of voltage
• Avoid the vicinity of groups of t
elecommand circuit
breakers, electromagnetic contacts, and high-
power motors.
•
In particular, avoid the vicinity of power installations
used to control phase.
3.1 Terminal clip connections
Power supply
SUPPLY
12 to 24V ac/dc
• 12…24V AC/DC ±15% 50/60Hz

8
Alarm output
With active contact
(contact capacity
3A/250V~ resistive load)
the voltage
+V
(power) is available between clips
1(+) and 2(-).
3.2 Serial ports of communication
TD320 terminal communication with other devices is possible
through serial connection with RS485, RS232 and RS422.
The electrical signals are available in two connectors present at
the back of the terminal: post DB9 and post DB25.
DB9 FE
CONNECTOR
PIN NUMBER
SIGNAL PORT
1 Not used -
2 RX – RS232 Program
COM2
3 TX – RS232 Program
COM2
4 RS485 - EXP1
5 GND RS485 / RS232 EXP1 / COM2
6 TX – RS232 EXP1
7 RX – RS232 EXP1
8 Not used -
DB9 PINS
9 RS485 + EXP1

9
DB25FE
CONNECTOR
PIN N. SIGNAL PORT
1 Not used -
2 Not used -
3 Not used -
4 Not used -
5 GND (Common digital input) -
6 DI1 (digital input NPN) -
7 GND – RS232 Program COM2 / EXP1
8 DI2 (digital input NPN) -
9 DI3 (digital input NPN) -
10 DI4 (digital input NPN) -
11 RX – RS232 Program COM2
12 TX – RS232 Program COM2
13 DI5 (digital input NPN) -
14 GND isolated RS485 / RS422
COM1
15 RS485+ / TX+ RS422 COM1
16 RS485- / TX- RS422 COM1
17 RX+ RS422 COM1
18 RX- RS422 COM1
19 DI6 (digital input NPN) -
20 DI7 (digital input NPN) -
21 RX – RS232 EXP1
22 TX – RS232 EXP1
23 DI8 (digital input NPN) -
24 Not used -
DB25
PINS
25 Not used -

10
3.2.1 COM1 on DB25 pins
The communication port COM1 is available in connection to 25
pins in interface RS485 or also RS422 (protocol, baud rate and
format are settable).
3.2.1.1 Interface RS485
PIN 14 GND
PIN 15 RS485+
PIN 16 RS485-
DB25FE
3.2.1.1.1 Cable for COM1 communications in generic RS485
A cable is available (code art. 1620.00.057, optional), that from
connector DB25 provides COM1 in RS485 for a generic
connection with other devices (for details regarding the
communication protocols, consult other documentation).
Code 1620.00.057
DB9 FE DB25 FE
BLACK GND
WHITE Rs485+
GREEN Rs485-
COM1
PIN 15 RS485+
PIN 14 GND
PIN 16 RS485-
DB25M
PLC

11
3.2.1.1.2 Cable for COM1 comm. in RS485 for PL250 / PL300
For communication with other devices (PL250-XXAD and
PL300-XXAD) an (optional) cable is available that connects the
port COM1 in RS485 from connector DB25 of the terminal to the
COM1 port on PLUG of the PLC.
DB9 FE DB25 FE
Adapter
Code 1620.00.029
DB25M>PLUG8
1
8
8
1
Cable RS485
Code 1620.00.048
Adattatore
RS485
RS232
PROGRAM.
CORRESPONDENCE PIN Rs485
DB25
PLUG
14 GND
15 RS485+
16 RS485-
2
1
4
DB25M
1620.00.048
Cavo RS485
COM1
S
L
A
V
E
#
P
L
2
5
0
b
y
P
I
X
S
Y
S
1
I
N
0
U
T
[
1
.
.
6
]
[
.
.
1
2
]
[
1
.
.
5
]
[
6
.
.
1
0
]
R
U
N
-
C
O
M
S
L
A
V
E
#
P
L
3
0
0
b
y
P
I
X
S
Y
S
1
COM1 - PL300-xxAD
COM1 - PL250-xxAD
3.2.1.2 Interface RS422
PIN 14 GND
PIN 15 TX+
PIN 16 TX-
PIN 17 RX+
PIN 18 RX-
DB25FE
3.2.2 EXP1 on DB9 and DB25 connector pins
The communication port EXP1 is available in the DB9 connector
pins in RS232 or RS485 interface and in the DB25 connector pins
in RS232 interface (protocol, baud rate, and format are settable).

12
3.2.2.1 Interface RS232
PIN 5 GND
PIN 6 TX - RS232
PIN 7 RX - RS232
DB9 FE
3.2.2.2 Interface RS485
PIN 5 GND
PIN 9 RS485+
PIN 4 RS485-
DB9 FE
3.2.2.2.1 Cable of EXP1 communications 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).

13
3.2.2.2.2 Cable of EXP1 comm. in RS485 for PL250 / PL300
For communication with other 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..
DB9 FE DB25 FE
1
8
8
1
Cable RS485
Code 1620.00.048
Adattatore
RS485
RS232 PROGRAM.
CORRESPONDENCE PIN Rs485
DB9
PLUG
5 GND
9 RS485+
4 RS485-
2
1
4
1620.00.048
Cavo RS485
S
L
A
V
E
#
P
L
2
5
0
b
y
P
I
X
S
Y
S
1
I
N
0
U
T
[
1
.
.
6
]
[
.
.
1
2
]
[
1
.
.
5
]
[
6
.
.
1
0
]
R
U
N
-
C
O
M
S
L
A
V
E
#
P
L
3
0
0
b
y
P
I
X
S
Y
S
1
COM1 - PL300-xxAD
COM1 - PL250-xxAD
EXP1
DB9M
3.2.3 COM2 Interface RS232

14
The communication port COM2 is available either in the 25-pin
connector or in the 9-pin connector, but only in interface RS232
(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 4).
3.2.3.1 COM2 on DB25 connector pins
PIN 7 GND
PIN 12 TX - RS232
PIN 11 RX - RS232
DB25FE
3.2.3.2 COM2 on DB9 connector pins
PIN 5 GND
PIN 3 TX - RS232
PIN 2 RX - RS232
DB9 FE
3.3 NPN digital inputs
In DB25 connector pins, 8 NPN digital inputs are present. The
digital input is active if the respective PIN is short-circuited with
GND (PIN 5, reference).

15
PIN 6 DI 1
PIN 8 DI 2
DB25FE
PIN 5 Reference
PIN 9 DI 3
PIN 10 DI 4
PIN 13 DI 5
PIN 19 DI 6
PIN 20 DI 7
PIN 23 DI 8
PIN 5
GND
PIN 23
DI 8
Digital input not active
PIN 5
GND
PIN 23
DI 8
Active Digital input
4 Programming the terminal
In order to program the terminal it is necessary to connect it to a
PC. The development kit (optional, code art. 2100.10.008)
provides the cable necessary for the connection and the
development environment to create applications.
Programming involves the communication port COM2, present in
both connectors, but only in interface RS232. There are 2
adapters on the side of the terminal that allow a user to program
the terminal through connector DB25 or through DB9.

16
4.1 Starter Kit – Connection of the terminal to the PC
DB9 FE DB25 FE
SERIAL
SERIALSERIAL
SERIAL
USB
USBUSB
USB
PERSONAL COMPUTER
Software : - PLProg Vers. 4.xx
- TdDesigner
Terminal
Mod. TD320-AD
Adapter DB9M>PLUG8
Code 1620.00.040
Converter USB>SERIAL
Code 1620.00.050
(OPTIONAL)
Cable PLUG 8 pins
Code 1620.00.047
1
8
1
8
Adattatore
PC RS232
PROGRAM.
1620.00.047
Cavo RS232
PROGRAMMAZIONE
Adattatore
RS485
RS232
PROGRAM.
Adattatore
RS485
RS232 PROGRAM.
COM2

17
4.2 The development environment
The TD320 is a HMI graphical terminal with an integrated PLC.
It allows a centralization of all the operational logic of the system
that must be supervised and controlled.
The graphical part of the development environment must manage
the visible pages and their fundamental items (e.g. synthesis,
push-buttons, numerical and text edit boxes, images) and the
interaction between various objects and the memory areas (the
memory areas which they must reference for push-buttons,
indicators and images).
The logic of the operation of the system, i.e. the way in which the
memory areas must interact among each other, is instead
managed by the PLC.
The TD320 terminal is also a PLC, therefore it manages graphics
on one hand, and logic on the other, leaving other connected
PLCs the sole task of "detecting the information" (e.g. digital and
analog inputs, encoders etc.) and "to control the actuators" (e.g.
digital and analog outputs etc.).
The development environment has two sub-environments:
• TdDesigner: manages all resources that are strictly related to
the graphics.
• PLProg: manages the interactions between the memory areas
of the terminal (Ladder code, common to other PLCs,
essentially the PL250 and TCT500).
APPLICATION
GRAPHICS
LOGIC
TdDesigner
PLProg4.xx

18
Any application managed by the TD320 terminal should therefore
be realized using both the development environments,
implementing therefore two different files strictly connected
between them.
The operation of the terminal anticipates a division of the time
dedicated to graphics management (implemented with
TdDesigner) and of the time dedicated to the management of the
PLC (implemented with PLProg 4.xx).
The default setup foresees an equal division of the execution
cycle: the terminal will execute the instructions inherent for
graphics for 50% of the time, and the Ladder instructions of the
PLC for the other 50% (cyclically).
Time
GRAFICA GRAFICA
PLC PLC
Time dedicated to graphics
Time dedicated to PLC
GRAFICA
PLC
GRAPHICS PLC GRAPHICS
GRAPHICS PLC PLC
The time division is settable by the user (see chapter 5). An
example is shown below in which 80% of the time is dedicated to
the graphics and 20% to the PLC.
Time
GRAFICA PLC
Time dedicated to graphics
Time dedicated to PLC
GRAFICA
PLC
GRAFICA
PLC
GRAFICA
PLC
GRAPHICS PLC GRAFICA PLC
GRAFICA
PLC
GRAPHICS PLC
GRAFICA
GRAFICA
GRAPHICS

19
4.2.1 Creation of a new project
Start TdDesigner
1
Create new project
.tdprojname_file
2
Start PLProg 4.xx
3
Create new Ladder diagram
.plpname_file
4
Compile Ladder diagram
.plpname_file
6
Transfer project
to Terminal
7
5
Compile project
.tdprojname_file

20
To create a new project and transfer it to the terminal, follow the
procedure and described below:
1. Start TdDesigner: Start the TdDesigner software from the
Start\Program menu or from the Desktop icon (automatically
created at installation).
2. Create new project name_file.tdproj: Once the development
environment is opened, create a new project as shown in the
figure below:
Select terminal TD320 (320x240 pixel display 5,7”).
Table of contents
Popular Control Panel manuals by other brands

Spectra
Spectra 1759MG System Programming Guide and SCPI Reference

AQUA SPA
AQUA SPA T Control 1 Operation and maintenance manual

Eaton
Eaton BreakerVisu NZM-XMC-MDISP35-MOD manual

Sungale
Sungale Cloud Frame CPF1032 quick start guide

Ampac
Ampac LoopSense MAN 1572-4 user manual

Xylem
Xylem Bell & Gossett 3WDS instruction manual