TP70P Q en 20141031
TP70P Q en 20141031
TP70P Q en 20141031
Asia
Delta Electronics (Jiangsu) Ltd.
Wujiang Plant 3
1688 Jiangxing East Road,
Wujiang Economic Development Zone
Wujiang City, Jiang Su Province, P.R.C. 215200
TEL: 86-512-6340-3008 / FAX: 86-769-6340-7290
Americas
Delta Products Corporation (USA)
Raleigh Office
P.O. Box 12173,5101 Davis Drive,
Research Triangle Park, NC 27709, U.S.A.
TEL: 1-919-767-3800 / FAX: 1-919-767-8080
Europe
Deltronics (The Netherlands) B.V.
Eindhoven Office
De Witbogt 15, 5652 AG Eindhoven, The Netherlands
TEL: 31-40-2592850 / FAX: 31-40-2592851
TP-0143620-01
2014-10-31
*We reserve the right to change the information in this manual without prior notice.
www.deltaww.com
TP70P Quick Start
Table of Contents
Chapter 1 Introduction
1.1 Introduction of TP70P .................................................................1-2
1.2 Related Manuals ........................................................................1-2
1.3 Profile and Dimensions ...............................................................1-3
1.3.1 Profile ................................................................................1-3
1.3.2 Dimensions of TP70P ............................................................1-4
1.3.3 Dimensions of an Opening.....................................................1-5
1.4 Definitions of External Connectors ................................................1-5
1.5 Functional Specifications .............................................................1-6
1.5.1 Arrangement of I/O Terminals................................................1-6
1.5.2 Devices in a PLC ..................................................................1-7
1.6 Electrical Specifications...............................................................1-8
1.6.1 Specifications for PLCs ..........................................................1-8
1.6.2 Electrical Specifications for Digital Input Terminals ....................1-9
1.6.3 Electrical Specifications for Digital Output Terminals..................1-9
1.6.4 Electrical Specifications for Analog I/O Terminals .................... 1-10
1.7 Installation ............................................................................. 1-11
1.8 Wiring .................................................................................... 1-12
1.8.1 Wiring a Power Input Connector ........................................... 1-12
1.8.2 Wiring Input Terminals........................................................ 1-13
1.8.3 Wiring Relay Output Terminals ............................................. 1-13
1.8.4 Wiring Analog Input Channels .............................................. 1-14
1.8.5 Wiring Analog Output Channels ............................................ 1-15
1.8.6 Wiring Temperature Measurement Input Terminals.................. 1-16
1.9 Definitions of the Pins in Communication Ports ............................. 1-16
1.10 Controllers Supporting TP70P .................................................... 1-17
i
2.2.2 Wiring Diagram for External Terminals .................................... 2-3
2.2.3 Wiring Diagram for Communication ........................................ 2-3
2.2.4 Setting Parameteres in a Delta VFD-M Series AC Motor Drive ..... 2-4
2.3 Example................................................................................... 2-4
2.4 Writing a Program for a Text Panel............................................... 2-5
2.4.1 Planning Objects ................................................................. 2-7
2.4.2 Managing Pages .................................................................. 2-7
2.4.3 Creating Objects.................................................................. 2-8
2.4.4 Basic Configuration ............................................................ 2-15
2.4.5 Compile and Downloading a Program.................................... 2-16
2.5 Writing a Program for a PLC ...................................................... 2-18
2.5.1 Planning a Program............................................................ 2-20
2.5.2 Control Program ................................................................ 2-21
2.5.3 Compiling and Downloading a Program ................................. 2-22
2.6 Monitoring and Debugging a Program ......................................... 2-23
2.6.1 Monitoring a Program......................................................... 2-23
2.6.2 Removing System Errors .................................................... 2-27
ii
Chapter 1 Introduction
Table of Contents
1.1 Introduction of TP70P .................................................................1-2
1.2 Related Manuals ........................................................................1-2
1.3 Profile and Dimensions ...............................................................1-3
1.3.1 Profile ................................................................................1-3
1.3.2 Dimensions of TP70P ............................................................1-4
1.3.3 Dimensions of an Opening.....................................................1-5
1.4 Definitions of External Connectors ................................................1-5
1.5 Functional Specifications .............................................................1-6
1.5.1 Arrangement of I/O Terminals................................................1-6
1.5.2 Devices in a PLC ..................................................................1-7
1.6 Electrical Specifications...............................................................1-8
1.6.1 Specifications for PLCs ..........................................................1-8
1.6.2 Electrical Specifications for Digital Input Terminals ....................1-9
1.6.3 Electrical Specifications for Digital Output Terminals..................1-9
1.6.4 Electrical Specifications for Analog I/O Terminals .................... 1-10
1.7 Installation ............................................................................. 1-11
1.8 Wiring .................................................................................... 1-12
1.8.1 Wiring a Power Input Connector ........................................... 1-12
1.8.2 Wiring Input Terminals........................................................ 1-13
1.8.3 Wiring Relay Output Terminals ............................................. 1-13
1.8.4 Wiring Analog Input Channels .............................................. 1-14
1.8.5 Wiring Analog Output Channels ............................................ 1-15
1.8.6 Wiring Temperature Measurement Input Terminals.................. 1-16
1.9 Definitions of the Pins in Communication Ports ............................. 1-16
1.10 Controllers Supporting TP70P ................................................. 1-17
1-1
T P 7 0 P Q u i c k St a r t
TPEditor
Serial Other OCS devices
WPLSoft USB port
ISPSoft COM port Drives
PLCs
TP70P
Barcode readers
Sensors External I/O Printers
Indicators
SCADA
Alarms
Encoders OPC servers
Pumps Serial I/O
Relays
Solenoids
1-2
Chapter 1 Introduction
Display/Touchscreen
Back view
Input/Output connector
Side view
RUN/STO P switc h
1-3
T P 7 0 P Q u i c k St a r t
Side view
USB port
Communication port
DC power input connector
205.6
142.6
49.0
TP70P-RM0
205.6
142.6
37.0
1-4
Chapter 1 Introduction
127.1
~
128.0
Thickness
190.1~191.0 0.5~4
Unit: mm
1 2
3 4
1-5
T P 7 0 P Q u i c k St a r t
1-6
Chapter 1 Introduction
1-7
T P 7 0 P Q u i c k St a r t
Item Range
N Master control loop N0~N7: 8 N devices
P Pointer P0~P255: 256 pointers
I000/I001(X0), I100/I101(X1)
Pointer
External interrupt
(01: Rising edge-triggered ; 00: Falling edge-triggered )
Interrupt
K Decimal system
K-2,147,483,648~K2,147,483,647 (32-bit operation)
H0000~HFFFF (16-bit operation)
H Hexadecimal system
H00000000~HFFFFFFFF (32-bit operation)
Note:
*1: They are not latching/retentive devices. They can not be changed.
*2: They are latching/retentive devices. They can not be changed.
*3: Please refer to section 1.9 for more information.
*4: Please refer to section 1.5.1 for more information.
1-8
Chapter 1 Introduction
12 0VAC R esistive
3,0 00
30 VD C Indu cti ve(t=7ms)
2,0 00
24 0VAC In ductive(cosψ= 0.4)
1,0 00
12 0VAC In ductive(cosψ=0.4)
Operation(X 10 3 )
50 0
30 0
20 0
10 0
30 VD C
Ind uctive
50
(t=40ms)
30
20
Contact
0.1 0.2 0.3 0.5 0.7 1 2 Current(A )
1-9
T P 7 0 P Q u i c k St a r t
1-10
Chapter 1 Introduction
1.7 Installation
Please put (embed) TP70P into a control panel. Use the fasteners and the screws in the container in which
TP70P is packaged. Insert the fasteners into the slots on TP710P, and then tighten the screws. (The torque
applied to the screws should be 4.75 kg-cm. It can not exceed 4.75 kg-cm, otherwise the panel will be
destroyed. If the fasteners are not used correctly, Delta does not guarantee a degree of resistance to water.
Please see the figures below. The control panel should be watertight and dustproof, or meet corresponding
specifications (IP66/NEMA 4).
Please do not install TP70P in the following environments.
Environments in which there are dust, oily smoke, metal powder, and corrosive or flammable gas
High-temperature and humid environments
Environments in which TP70P may be shocked and vibrated directly
Wiring terminals
1. Please connect 22 to 16 AWG (1.5 mm) single-core or twin-core cables to the input/output terminals on
TP70P.
22-16AWG
< 1.5mm
The torque applied to the screws on TP70P should be 1.90 kg-cm (1.65 in-lbs). Only copper leads which
can resist the heat above 60°C/75°C can be used.
2. Please connect 22 to 12 AWG single-core or twin-core cables to the power input connector on TP70P.
(Only copper leads which can resist the heat above 60°C/75°C can be used.) The torque applied to the
screws on the PLC connected to TP70P should be in the range of 5~8 kg-cm (4.3~6.9Ib-in).
3. Please do not wire the terminal . Input cables and output cables should not be put in the same cable tray.
4. When users tighten screws and wire terminals, they should prevent tiny metallic conductors from dropping
into TP70P. After the wiring of TP70P is complete, the users have to ensure that TP70P can radiate heat
normally.
1 - 11
T P 7 0 P Q u i c k St a r t
1.8 Wiring
1.8.1 Wiring a Power Input Connector
The power supplied to TP70P is DC power. When users use TP70P, they have to note the following points.
Please connect wires to the terminals +24V and 0V. The power supplied to TP70P should be in the range
of 20.4 V DC to 28.8 V DC. If the voltage of the power supplied to TP70P is less than 20.4 V DC, TP70P
will stop running, and output devices will be off.
If a power cut is shorter than 10 milliseconds, TP70P will not stop running. If a short cut is long, or the
voltage of the power supplied to TP70P decreases, TP70P will stop running, and output devices will be off.
If power is restored after a power cut, TP70P will automatically resume running. (There are latching
auxiliary relays and retentive registers in TP70P. Users should use them carefully when they design a
program.)
The power supplied to TP70P is DC power. A Delta power supply module (DVPPS02/DVPPS05) can be
used to supply power to TP70P. In order to protect DVPPS02/DVPPS05, users need to have the protection
circuit shown below.
MC
AC
100~240V
50/60Hz
DVPPS02
2A
L
N TP70
24V 0V
24V 0V FE
1-12
Chapter 1 Introduction
I nt ernal
circuit
S/S
Sourcing current
I/O
X0
I nt ernal
circuit
S/S
Y0
A C power
C0
1-13
T P 7 0 P Q u i c k St a r t
Voltage input
AG
-10V ~+10V
CH0
1M
V0+ CH0
*3 1M
VI0-
I0+
Shielded cable*1 250
FE
AG
Current input CH3
-20mA~+20mA 1M
*2 V3+
250 CH3
VI3-
1M
I3+
FE
Shielded cable*1
*4
Connected to on a
power supply module +15V
0V DC/DC
*5 converter AG
24V
Syst em ground -15V
DC24V
Ground
(Impedance: Less than 100 )
TP70P-21EX1R
Current input AG
-20mA~+20mA
CH0 250 1M
I0+ CH0
1M
I0-
FE
Shielded cable*1
*4
Connected to on a
power supply module +15V
0V DC/DC
*5 converter AG
24V
System ground -15V
DC24V
Ground
(Impedance: Less than 100 )
*1: Please isolate analog input cables from other power cables.
*2: If current is connected, the connection between V3+ and I3+ need to be a short circuit.
*3: If ripple voltage results in interference with the wiring, please connect a 0.1~0.47 μF and 25 V capacitor.
*4: If there is much noise, please connect the terminal FE to the ground terminal.
*5: Please connect the ground terminal on a power supply module and the analog input terminal FE to the
system ground, and then ground the system ground or connect the system ground to a distribution box.
1-14
Chapter 1 Introduction
Voltage output
-10V~+10V
CH4
VO4 CH4
*2
IO4
Shielded cable*1 AG
AC motor drive, recorder, AG
proportioning valve.. . FE
Current output
CH5
0mA~20mA
VO5 CH5
IO5
AG
AG
AC motor drive, recorder, FE
proportioning valve.. . Shielded cable*1
*3
Connected to on a
power supply module +15V
0V DC/DC
*4 converter AG
24V
System ground -15V
DC24V
Ground
(Impedance: Less than 100 )
TP70P-21EX1R
Current output
0mA~20mA CH2
IO2 CH2
AG
AG
FE
AC motor drive, recorder, Shielded cable*1
proportioning valve.. .
*3
Connected to on a
power supply module +15V
0V DC/DC
*4 converter AG
24V
System ground -15V
DC24V
Ground
(Impedance: Less than 100 )
*1: Please isolate analog output cables from other power cables.
*2: If the ripple voltage of the input terminal of the load connected is large, and results in interference with the
wiring, please connect a 0.1~0.47 μF and 25 V capacitor.
*3: If there is much noise, please connect the terminal FE to the ground terminal.
*4: Please connect the ground terminal on a power supply module and the analog output terminal FE to the
system ground, and then ground the system ground or connect the system ground to a distribution box.
1-15
T P 7 0 P Q u i c k St a r t
0~300Ω
Ni100/Pt100 Shielded cable*1
1 .66 mA (N i1 00 ,Pi1 00 ,
resi st or)
L3+
L3-
I3-
FE AG
Two-wire
L4+
L4-
I4-
FE AG
Three-wire
*2
Connected to on a
power supply module +15V
0V DC/DC
*3 AG
24V converter
System ground -15V
DC24V
Ground
(Impedance: Less than 100 )
*1: The cables connected to the input terminals should be cables or shielded twisted pair cables which can be
connected to temperature sensors, and should be kept separate from other power cables and cables which
may generate noise.
*2: If there is much noise, please connect the terminal FE to the ground terminal.
*3: Please connect FE on a power supply module and the temperature measurement input terminal FE to the
system ground, and then ground the system ground or connect the system ground to a distribution box.
*4: Please do not wire the terminal .
1-16
Chapter 1 Introduction
TP70P-RM0
Pin RS-232 (COM2) RS-485 (COM3)
1 N/C N/C
2 RX N/C
3 TX N/C
4 N/C N/C
5 4 3 2 1
5 GND GND
9 8 7 6
6 N/C D+
7 N/C D-
8 N/C N/C
9 N/C N/C
Wiring:
Delta server
TP70P Controller Controller
COM3 (RS-485) Male CN3 connector (RS-485) Pins in a male CN3 connector
1-17
T P 7 0 P Q u i c k St a r t
Delta PLC
TP70P Controller
COM3 (RS-485) RS-485
1-18
Chapter 2 Writing Programs
Table of Contents
2.1 Preparations..............................................................................2-2
2.1.1 Hardware............................................................................2-2
2.1.2 Software.............................................................................2-2
2.1.3 Tools and Materials...............................................................2-2
2.2 Wiring ......................................................................................2-2
2.2.1 Wiring Diagram for a Delta VFD-M Series AC Motor Drive...........2-3
2.2.2 Wiring Diagram for External Terminals ....................................2-3
2.2.3 Wiring Diagram for Communication ........................................2-3
2.2.4 Setting Parameteres in a Delta VFD-M Series AC Motor Drive .....2-4
2.3 Example ...................................................................................2-4
2.4 Writing a Program for a Text Panel ...............................................2-5
2.4.1 Planning Objects ..................................................................2-7
2.4.2 Managing Pages...................................................................2-7
2.4.3 Creating Objects ..................................................................2-8
2.4.4 Basic Configuration ............................................................ 2-15
2.4.5 Compile and Downloading a Program .................................... 2-16
2.5 Writing a Program for a PLC ...................................................... 2-18
2.5.1 Planning a Program ............................................................ 2-20
2.5.2 Control Program ................................................................ 2-21
2.5.3 Compile and Downloading a Program .................................... 2-22
2.6 Monitoring and Debugging a Program ......................................... 2-23
2.6.1 Monitoring a Program ......................................................... 2-23
2.6.2 Removing System Errors ..................................................... 2-27
2-1
T P 7 0 P Q u i c k St a r t
2.1 Preparations
2.1.1 Hardware
The hardware required is list below.
1. TP70P-16TP1R 2. Power supply module DVPPS02 3. VFD-M series AC motor drive
2.1.2 Software
The software required is listed below.
WPLSoft version 2.36 or above
TPEditor version 1.9 or above
2.2 Wiring
After users install a text panel, they can wire the text panel. In order to ensure that the users can write
programs smoothly, the users need to at least connect power cables. Please connect power cables to a text
panel when the text panel is disconnected. The structure required is like the one shown below.
2-2
C h a p t e r 2 Wr i t i n g P r o g r a m s
2-3
T P 7 0 P Q u i c k St a r t
2.3 Example
After users install, wire and power up hardware, they can prepare to write programs. In order to make the users
have a specific target and a specific direction before they begin to write programs, the manual provides a
common example for the users. The complete procedure which starts with the creation of a new project and
ends with the downloading of the project to a PLC is described step by step.
Structure of a system
Start (Y0)
Stop (Y 1)
Rotational speed
command (COM3)
Current rotational
speed (COM3)
Alarm(COM3)
Control
The communication between a PLC and a Delta VFD-M series AC motor drive is described here. Y
devices on TP70P are used to control the forward/backward rotation of the AC motor drive. RS-485
communication (COM3) is used to read/set the frequency of signals output by the VFD-M series AC motor
drive. If the AC motor drive breaks down, an alarm signal in the AC motor dirve will be sent to TP70P.
Actions:
1. If the AC motor drive rotates forwards, its forward rotation indicator will be on, and the input which makes
the the AC motor drive rotate barckwards will be ineffective.
2. If the AC motor drive rotates backwards, its backward rotation indicator will be on, and the input which
makes the the AC motor drive rotate forwards will be ineffective.
3. If stop control is input, the operation of the AC motor drive will stop, and its stop indicator will be on.
4. The users can input a frequency range. The frequency range that the users set should be between the
maximum operaring frequency of the AC motor drive and the minimum operaring frequency of the AC
motor drive.
5. If the AC motor drive sends an error code, the operation of the AC motor drive will stop.
2-4
C h a p t e r 2 Wr i t i n g P r o g r a m s
Welcom screen
Main screen
2-5
T P 7 0 P Q u i c k St a r t
Step 2: After on the standard toolbar is cliked, a new project will be added. In the New Project window,
select DELTA VFD Inverter in the HMI<=>PLC section, select TP70P in the TP Type drop-down list box, and
type “TP70-VFD CTRL” in the File Name box.
After OK in the New Project window is clicked, a project environment will be displayed.
The interface of TPEditor is described below. Please refer to TPEditor User Manual for more information.
Menu bar, standard toolbar, and object arrangement toolbar: The main functions of TPEditor are included.
The functions which are used more frequently are on the standard toolbar, and the functions which are used
less frequently are on the menu bar.
Geometric object toolbar and object toolbar: They provide buttons used for drawing figures and creating
buttons. There are some other objects on the Object menu.
Page management area: Users can view/add/delete pages.
Working area: Users can edit pages in this area.
Status bar: The information about the current project and communication is displayed here.
2-6
C h a p t e r 2 Wr i t i n g P r o g r a m s
1
2
2-7
T P 7 0 P Q u i c k St a r t
Numeric/ASCII Display ( ): The value in a related device is read, and displayed on the screen of
TP70P.
Bar Graph ( ): The value in a related device is read, and represented by a bar according to the target
value, the maximum value, and the minimum value which are set.
Circle Meter ( ): The value in a related device can be represented by the number to which the pointer
on the dial of a meter points. The upper limit set can be differentiated from the lower limit set by means of
the region colors set.
Messge Display ( ): The state of a related device or the value in a related device can be represented
by a message displayed on the screen of TP70P.
Button ( ):After users press a button, the state of the device related to the button will be changed, or a
function can be set, e.g. the page selected will be displayed or passwords can be set.
RTC Display ( ): The time on the real-time clock in TP70P is displayed on the screen of TP70P, or the
time in related devices will be read and dispalyed on the screen of TP70P.
2-8
C h a p t e r 2 Wr i t i n g P r o g r a m s
Mlulti-State Bitmap/Lable ( ): The function of a multi-state image is the same as that of a dynaic
image. The difference between a multi-state image and a dynamic image is that text can be inserted in a
multi-state image.
Numeric Input ( ): A numeric input displayed on the screen of TP70P is used to write a value to a
related device.
X-Y Curve ( ): The values in related devices can be represented by an X-Y curve displayed on the
screen of TP70P.
Alarm ( ): An alarm and a system alarm are used together. If a condition set is met, an alarm will
appear.
Slider ( ): Users can write a value to a related device by move the indicator on a slider displayed on
TP70P.
The users have to plan pages and add object. They have to add an image representing the connection
between TP70P and an AC motor drive to the boot page. They need to click on the object toolbar, click
where they want to begin the selection of an area in the working area, hold down the left mouse button, and
drag the cross over the area that they want to select. After the users double-click the object in the working area,
an Open window will appear. After the users select a .gif file, an image will appear in the working area.
The state of the AC motor drive used is displayed on page 0, that is, the current rotational speed of the AC
motor drive, a warning message, forward rotation control, backward rotation control, and stop control are
displayed on page 0.
2-9
T P 7 0 P Q u i c k St a r t
If the users want to add an object to a page, they have to click an object type on the object toolbar, click where
they want to begin the selection of an area in the working area, hold down the left mouse button, and drag the
cross over the area that they want to select.
After the users add an object, they have to set the parameters related to be object. After users double-click a
button in the working area, the Button Setting window will appear. In the example in this chapter, Y0 in TP70P
is used to control the forward rotation of an AC motor drive. If a button is pressed, M0 will be ON. If M0 is ON,
Y0 will be ON. If the button is pressed again, M0 will be OFF. Consequently, the button type selected in the
Button Type drop-down list box is Push On/Off, and the Internal PLC Setting option button and M0 in the
Refer Device window are selected.
2-10
C h a p t e r 2 Wr i t i n g P r o g r a m s
After the users click the Property tab in the window used to set the parameters of an object, they can set the
appearance of the object. After the users click the Property tab in the Button Setting window, they can select
a value in the a Border Width box, select colors in the Button Event Color Setting section, and type text or
select an image in the States section. The text displayed on a button varies with the current state of the button.
In the example in this chapter, “FORWARD” need to be displayed on the forward rotation control button created
if the forward roation control button is not pressed yet, and “Running…” need to be displayed on the rotation
control button created if the forward roation control button is pressed. Consequently, the users have to type
“FORWARD” in the Button Text when 0 in the Current State drop-down list box is selected, and they have to
type “Running” in the Button Text when 1 in the Current State drop-down list box is selected. After the users
click OK in the Button Setting window, the setting of the parameters and the appearance of the button created
will be complete.
2 - 11
T P 7 0 P Q u i c k St a r t
If the users want to make a copy of an object in the working area, they have to click the object, right-click the
object, click Copy on the context menu which appears, right-click the object, and click Paste on the context
menu which appears. If the users want to make several copies of an object in the working area, they have to
click the object, right-click the object, click Multi-Copy… on the context menu which appears, select
checkboxes, values or an option button in the Multi-Copy window, and click OK.
Singe copy:
Multiple copies:
2-12
C h a p t e r 2 Wr i t i n g P r o g r a m s
The users can complete the page shown below in the way described above.
2-13
T P 7 0 P Q u i c k St a r t
Related device
Object Button/Objec
Item Communication Device Other settings
description t type
method address
Total States: 21
Display Sequence: From Min
to Max
Current State (Device
Value>=Range Value): Please
refer to the table below.
0 No error occurs.
1 Overcurrent
2 Overvoltage
3 Overheating
The drive is
4
overloaded.
The motor is
5
overloaded.
6 External fault
7 CPU failure
CPU failure or analog
8
circuit failure
Hardware protection
9
Message COM3, station failure
9 Error message $2100
Diaplay address 1 There is overcurrent
10 during the
acceleration.
There is overcurrent
11 during the
deceleration.
There is overcurrent
12 during the steady
operation.
13 Ground fault
14 Low voltage
15 Reserved
16 CPU failure
17 Base block
18 Overload
Automatic
19 acceleration/decelerati
on failure
The software
20
protection is enabled.
2-14
C h a p t e r 2 Wr i t i n g P r o g r a m s
2-15
T P 7 0 P Q u i c k St a r t
TP Other Setting
After users click TP Other Setting in the Basic Configuration window, they can select a station address, set
the brightness of the backlight that illuminates the screen of TP70P, enable the buzzer of TP70P, set a
password, select a boot page, etc. In the example in this chapter, a user-defined boot page is designed, and
therefore the User Define option button in the Start-Up Menu Display section is selected.
2-16
C h a p t e r 2 Wr i t i n g P r o g r a m s
After the program is compiled, the users can download the program. After the users click Write to TP on the
Communication menu, or on the standard toolbar, the Download Setting window will appear.
After the users make sure of the pages which need to be downloaded, and click Download in the Download
Setting window, the Confirm window will appear.
After the transmission of the program is complete, a message saying the the downloading of the program is
complete will appear.
2-17
T P 7 0 P Q u i c k St a r t
Welcom screen
Main screen
2-18
C h a p t e r 2 Wr i t i n g P r o g r a m s
Step 2: After is cliked, a new project will be added. In the Select a PLC Model window, type “TP70-VFD
CTRL” in the Program Title box, select TP70P/TP70G in the Select drop-down list box, and type “TP70
example” in the File Name box.
Step 3: After Setting in the Communication Setting section is clicked, the Communication Setting window
will appear. Select RS232 in the Type drop-down list box, and select the communication port which is
connected to TP70P. The communication protocol set in the Communication Setting window need to be the
communication protocol of TP70P. The default communication protocol set in the Communication Setting
window is “9600, 7, E, 1”. Select 1 in the Station Address box. Click OK after the adjustment of settings in the
Communication Setting window is complete.
2-19
T P 7 0 P Q u i c k St a r t
After OK in the Communication Setting window is clicked, a project environment will be displayed (the
program title set will appear in the upper left corner of the Delta WPLSoft window).
2-20
C h a p t e r 2 Wr i t i n g P r o g r a m s
2-21
T P 7 0 P Q u i c k St a r t
After the program is compiled, the users can download the program. After the users click , the Transfer
Setup window will appear. The users can select checkboxes in the Transfer Setup window. Owing to the fact
that there are comments on the devices in the program, the Device Comment checkbox in the Transfer Setup
window is selected.
2-22
C h a p t e r 2 Wr i t i n g P r o g r a m s
After the users select the Device Comment checkbox, the System Block window will appear. The users can
select devices and set device ranges.
After the users click OK in the Transfer Setup window, the program will be downloaded to TP70P.
After the users click , the program will be monitored. The program is composed of a logic program,
and the information related to devices. (The states of Boolean devices are indicated by green backgrounds
or white backgrounds, and the information about other devices is indicated by values or text.)
2-23
T P 7 0 P Q u i c k St a r t
If the users want to chage the state of a device, they can right-click the device, and click an item on the
context menu which appears. In the figure below, M0 is set to ON.
Note: Set On and Set Off can not be used to change the state of a device corresponding to an actual I/O
device because the state of the actual I/O device immediately overwrites the value which is set. Force ON
and Force OFF can be used instead.
2-24
C h a p t e r 2 Wr i t i n g P r o g r a m s
Minotring devices
It is sometimes inconvenient for users to search for devices in a logic program that the users test, and
change the values in the devices because the devices are in different sections of the logic program.
Besides, sometimes the purpose of modifying the values in devices in a program is not to debug the
program, but to test an external device. If the users want to change the values in devices in a program by
monitoring the program, they may not easily find the devices, and they need to have the program. To solve
these problems, the users can use a device monitoring table. If the users change the values in devices in a
program by means of a device monitoring table, they do not even need the program.
The users have to click , and then double-click the device monitoring table which appears.
After the users type a device name and the number of devices, and click Input in the Device monitor
input window, devices will be brought into the device monitoring table.
2-25
T P 7 0 P Q u i c k St a r t
The states of the devices broght into the device monitoring table will be shown only if is pressed.
If the users want to chage the state of a device, they can right-click the device, and click an item on the
context menu which appears. M0 is set to ON here. When M0 is ON, Y0 is ON, the AC motor drive used
rotates forwards, and the users can see that the forward rotation indicator on the screen of TP70P is
green.
2-26
C h a p t e r 2 Wr i t i n g P r o g r a m s
2-27
T P 7 0 P Q u i c k St a r t
3. The error code shown in the figure above is HD03. It indicates that the operands of the instruction DHSCS
are invalid. After DHSCS is checked, and the operands are modified, the error will be eliminated.
2-28
Chapter 3 Frequently Asked Questions and
Answers
Table of Contents
3.1 Installing a USB Driver ...............................................................3-2
3.2 Descriptions of the Communication Ports on TP70P .........................3-4
3.3 Setting COM2 ............................................................................3-5
3.4 Using COM2 as a Master Station...................................................3-6
3.5 Setting COM3 ............................................................................3-7
3.6 Setting an RTU Mode for COM3 ....................................................3-9
3.7 Using COM3 as a Slave Station .................................................. 3-10
3.8 Data Exchange ........................................................................ 3-12
3-1
T P 7 0 P Q u i c k St a r t
3. Select the Include this location in the search checkbox, select the USB folder contained inside the
directory where TPEditor is installed, and click Next. (Default path: C:\Program Files\Delta Industrial
Automation\TPEditor X.X\USB)
3-2
C h a p t e r 3 F r e q u e n t l y A s k e d Q u e s t i o n s a n d A n s we r s
4. After the installation of the USB driver selected is complete, the communication port connected to TP70P
will be displayed in the Ports (COM & LPT) section in the Device Manager window.
5. The communication port which is connected to TP70P is also shown in the PC COM Port box in the PC
Communication Setting (PC <=> TP) section in TPEditor.
6. TP70P can communicate with the computer by means of the communication port. TPEditor is used to
upload/download a text panel program, and WPLSoft is used to upload/download/monitor a PLC program.
3-3
T P 7 0 P Q u i c k St a r t
COM1
COM1 can not function as a master station. It only supports the uploading/downloading of a program. If users
use COM1 for the first time, they need to install a USB driver so that the computer can identify the virtual
communication port which is connected to COM1. Please refer to section 3.1 for more information about
installing a USB driver.
COM2
COM2 can be used as a master station or a slave station. It supports ASCII/RTU communication. Users can set
a serial transmission rate. The maximum transmission rate which can be set is 115 kbps. The users can set the
number of data bits, a parity bit, and the number of stop bits. If RTU communication is used, the number of data
bits must be eight. D1120 in the PLC is used to set a communication protocol. If a communication error occurs
in COM2, the users can check special M devices.
COM3
COM3 supports the text panel. After a driver is selected, COM3 can function as a master/slave station, and
support ASCII/RTU communication. Users can set a serial transmission rate. The maximum transmission rate
which can be set is 115 kbps. The users can set the number of data bits, a parity bit, and the number of stop
bits. If a communication error occurs in COM3, a warning window showing that a communication error occurs
will appear on the screen of the text panel.
3-4
C h a p t e r 3 F r e q u e n t l y A s k e d Q u e s t i o n s a n d A n s we r s
3-5
T P 7 0 P Q u i c k St a r t
Notes:
1. After the modification of the communication format that COM2 uses is complete, the communication format
that COM2 uses will not change if the PLC stops running.
2. After the modification of the communication format that COM2 uses is complete, the communication
protocol that COM2 uses will be the default communication protocol (9600, 7, E, 1) if the PLC is turned off
and then powered when it stops running.
3. If COM2 functions as a slave station, users only need to set a communication format. If COM2 functions as
a master station, a Modbus command will need to be sent by means of a communication instruction
(MODRD/MODWR/MODRW)
3-6
C h a p t e r 3 F r e q u e n t l y A s k e d Q u e s t i o n s a n d A n s we r s
Step 2: Connect COM2 to the two RS-485 wires connected to a DVP series PLC. When TP70P runs, Y0 on the
DVP series PLC is ON.
Step 3: If communication error judgement is required, the program below can be added. If communication data
is transmitted normally, M0 will be ON. If a communication timeout occurs, M1 will be ON. If the data received is
incorrect, M2 will be ON. If parameters of an instruction are set incorrectly, M3 will be ON. Users can judge the
state of communication by means of these flags.
3-7
T P 7 0 P Q u i c k St a r t
Step 2: Create a numeric display in the working area. Select the External PLC Setting option button, and set a
PLC address in the Refer Device window. (In the example, the PLC address set is 1.)
Step 3: In the Basic Configuration window, click TP <=> PLC Protocol, and then set a communication format
for COM3. (In the example, the communication format set is (9600, 7, E, 1).)
3-8
C h a p t e r 3 F r e q u e n t l y A s k e d Q u e s t i o n s a n d A n s we r s
Step 4: Compile the program created, and download the program to TP70P. Connect COM3 on TP70P to an
RS-485 communication port on a PLC.
3-9
T P 7 0 P Q u i c k St a r t
Step 2: Create a numeric display in the working area. Select the External PLC Setting option button, and set a
PLC address in the Refer Device window. (In the example, the PLC address set is 1.) Type a standard Modbus
communication address in the Device Number box.
Step 3: In the Basic Configuration window, click TP <=> PLC Protocol, and then set a communication format
for COM3. (In the example, the communication format set is (9600, 7, E, 1).)
Step 4: Compile the program created, and download the program to TP70P. Connect COM3 on TP70P to an
RS-485 communication port on a PLC.
3-10
C h a p t e r 3 F r e q u e n t l y A s k e d Q u e s t i o n s a n d A n s we r s
Step 2: Create a numeric display in the working area. Type a Modbus communication address in the Device
Number box.
Step 3: In the Basic Configuration window, click TP <=> PLC Protocol, and then set a communication format
for COM3. (In the example, the communication format set is (9600, 7, E, 1).)
Step 4: Compile the program created, and download the program to TP70P. Connect COM3 on TP70P to an
3 - 11
T P 7 0 P Q u i c k St a r t
Step 6: When the PLC runs, users can see that the value displayed on the screen of TP70P is changed to 1.
Read Block Setting: The values in D0~D7 in the DVP series PLC are read, and then put in D0~D7 in
TP70P.
3-12
C h a p t e r 3 F r e q u e n t l y A s k e d Q u e s t i o n s a n d A n s we r s
Step 2: Select the Read Block Setting checkbox in the Read/Write Block Setting section.
Read Start Addr.: The values in D0~D7 in the DVP series PLC are read.
Write Start Addr.: The values which are read are put in D0~D7 in TP70P.
Step 3: Click at the right side of the Read Start Addr. box. Select the External PLC Setting option
button and D0 in the Refer Device window.
3-13
T P 7 0 P Q u i c k St a r t
Write Block Setting: The values in D10~D17 in TP70P are written to D10~D17 in the DVP series PLC.
Step 1: Select the Write Block Setting checkbox in the Read/Write Block Setting section.
Write Start Addr.: Values are written to D10~D17 in the DVP series PLC.
Read Start Addr.: Values in D10~D17 in TP70P
3-14
C h a p t e r 3 F r e q u e n t l y A s k e d Q u e s t i o n s a n d A n s we r s
Step 2: Click at the right side of the Write Start Addr. box. Select the External PLC Setting option
button and D10 in the Refer Device window.
Step 3: After the steps above are complete, and the program in TPEditor is downloaded to TP70P, TP70P
can exchange data with the DVP PLC series by means of COM3.
3-15
T P 7 0 P Q u i c k St a r t
MEMO
3-16