Delta Starter Kit Manual
Delta Starter Kit Manual
Delta Starter Kit Manual
Table of Contents
i
Chapter 3 Example Programs
3.1 Example 1 ...................................................................3-3
3.1.1 Creating a Project for a PLC ..................................... 3-3
3.1.2 Creating a Main Program ......................................... 3-6
3.1.3 Setting COMMGR for UT-14SS2-A ........................... 3-15
3.1.4 Downloading a PLC Project .................................... 3-18
3.1.5 Monitoring a Program ........................................... 3-21
3.1.6 Using a PLC with an I/O Simulator Board ................. 3-23
3.1.7 Writing a Program for an HMI ................................ 3-24
3.1.8 Compiling and Downloading an HMI Program ........... 3-47
3.1.9 Using an HMI with an I/O Simulator Board ............... 3-49
3.2 Example 2 ................................................................. 3-51
3.2.1 Project Requirements ........................................... 3-51
3.2.2 Project Development ............................................ 3-52
3.2.3 Writing a Program for an HMI ................................ 3-54
3.2.4 Creating a Project for a PLC ................................... 3-73
3.2.5 Setting COMMGR for UT-12SE-A ............................. 3-86
3.2.6 Downloading a PLC Project .................................... 3-89
3.2.7 Setting Ethernet Parameters for DVP12SE11R .......... 3-91
3.2.8 Testing a Project .................................................. 3-95
Chapter 4 Appendix
4.1 Introduction of Hardware ...............................................4-3
4.1.1 DVPPS01 ..............................................................4-3
4.1.2 DVP14SS211R ....................................................... 4-3
ii
4.1.3 DVP12SE11R ......................................................... 4-3
4.1.4 DOP-B07S410 ....................................................... 4-4
4.1.5 DOP-B07E415 ....................................................... 4-4
4.2 Profiles and Dimensions................................................. 4-5
4.2.1 DVPPS01 .............................................................. 4-5
4.2.2 DVP14SS211R ....................................................... 4-5
4.2.3 DVP12SE11R ......................................................... 4-7
4.2.4 DOP-B07S410 ....................................................... 4-8
4.2.5 DOP-B07E415 ....................................................... 4-9
4.3 Connecting Communication Cables ................................ 4-10
4.3.1 Pin Definitions of Serial Communication ................... 4-10
4.3.2 Introduction of Communication Cables .................... 4-12
4.4 Communication between a PLC and an HMI .................... 4-14
4.4.1 Wiring a Controller ............................................... 4-14
4.4.2 PLC Device Addresses ........................................... 4-15
4.4.3 Setting the Communication Parameters in a PLC ....... 4-18
4.4.4 Setting the Communication Parameters in an HMI ..... 4-21
4.5 Equivalent Circuit of an I/O Simulator Board ................... 4-23
4.5.1 Connecting to DVP14SS211R ................................. 4-23
4.5.2 Connecting to DVP12SE11R ................................... 4-24
4.6 Installing the DVP12SE11R Driver ................................. 4-25
iii
iv
1
Chapter 1 Introduction of UT Series Starter
Kits
Table of Contents
1-1
St a r t e r K i t M a n u a l
For that purpose, this manual explains how to connect the components of a starter kit,
and how to program the PLC and HMI by means of several simple examples.
There are two types of starter kits. Users can select a type of starter kit according to their
needs.
1-2
C h a p t e r 1 I n t r o d u c t i o n o f U T S e r i e s St a r t e r K i t s
DVP14SS211R:
1-3
St a r t e r K i t M a n u a l
2. UT-12SE-A: For learning PLC and HMI programming and Ethernet connection
1-4
C h a p t e r 1 I n t r o d u c t i o n o f U T S e r i e s St a r t e r K i t s
DVP12SE11R:
1_
1-5
St a r t e r K i t M a n u a l
_1 Item Contents
1. ISPSoft
2. COMMGR
Software 3. DOPSoft
4. DCISoft
5. UC-PRG020-12A driver
1-6
C h a p t e r 1 I n t r o d u c t i o n o f U T S e r i e s St a r t e r K i t s
(1) Insert the USB flash drive which is an attachment to a UT series starter kit 1_
into a computer, and double-click StarterKit.exe in the USB flash drive.
Install Software
After users click Install Software, they can select the software which needs
to be installed.
1-7
St a r t e r K i t M a n u a l
_1
Review Documentation
After users click Review Documentation, they can select the manual that
they want to read from the list box displayed, and then click Open to open the
manual.
1-8
C h a p t e r 1 I n t r o d u c t i o n o f U T S e r i e s St a r t e r K i t s
Browse Examples
After users click Browse Examples, they can choose to open an HMI
1_
element example or PLC application examples according to their needs.
(D) DVP PLC Application Examples: Program codes for DVP PLC
Application Examples
1-9
St a r t e r K i t M a n u a l
Monitor Full-color display supporting a resolution higher than 1024 x 768 pixels
Printer with a driver for Windows (It is used to print projects, and is
Printer
optionally required.)
*1. Please refer to ISPSoft User Manual for more information about COMMGR. ISPSoft needs
to be connected to a PLC by means of COMMGR.
1-10
C h a p t e r 1 I n t r o d u c t i o n o f U T S e r i e s St a r t e r K i t s
Function area: The main functions of ISPSoft are included. The functions which are
used more frequently are on the toolbars, and the functions which are used less
frequently are on the menu bar.
Status area: The information about a project and communication is displayed in this
area.
1 - 11
St a r t e r K i t M a n u a l
When using ISPSoft, the users can click an item on the Help menu to get help.
_1
Item Description
Users can get the information about the version of the software, and
About
the date when the software is released.
Users can get the usage of the software. (Alternatively, the users
ISPSoft User Index
can click on the file toolbar to get the usage of the software.)
Users can get the information about instructions and registers. If the
PLC Instruction and Special
users click an instruction in the program editing area and press F1
Registers Reference
on the keyboard, they can get the information about the instruction.
Based on the IEC 61131-3 standard, basic program units are called program
organization units (POUs). The management of a group of POUs by means of a
tree structure is added. This function can provide hierarchical management.
With the trend that the size of application software increases, it is getting common for
several developers to work together on a program. ISPSoft manages projects by
means of integrating tasks. The efficient and convenient development environment
that ISPSoft provides enables users to apply PLCs to more complex control systems
as well as to small control systems.
1-12
C h a p t e r 1 I n t r o d u c t i o n o f U T S e r i e s St a r t e r K i t s
Property window: The properties of the elements on the present screen are displayed
in the Property window.
Output window: The editing actions of users, and the output messages about the
compiling of a program are recorded in the Output window.
Screen Manager window: If users create several screens, they can preview the
1-13
St a r t e r K i t M a n u a l
screens by means of the Screen Manager window. The users can know the elements
on a screen in the Screen Manager window without having to switch to that screen. If
_1 the users double-click a screen in the Screen Manager window, they can switch to
that screen rapidly.
DOPSoft allows users to create a project by using features such as animated screens,
alarms, trend graphs, recipes, and reports. DOPSoft and DOP series HMIs make
touchscreen application more visually functional.
1-14
C h a p t e r 1 I n t r o d u c t i o n o f U T S e r i e s St a r t e r K i t s
1-15
St a r t e r K i t M a n u a l
MEMO
_1
1-16
2
Chapter 2 Installation of UT Series Starter
Kits
Table of Contents
2-1
St a r t e r K i t M a n u a l
2-2
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
2-3
St a r t e r K i t M a n u a l
_2
2-4
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
PC UC-PRG020-12A(2M) PLC
UC-PRG015-02A(1.5M)
PC
HMI 1
2-5
St a r t e r K i t M a n u a l
RS-232
Wiring
diagram
PLC HMI 1
RS-485
D+: Red
Wiring
diagram
D-: Black
RS-485 Cable(1M) Male DB9
PLC HMI 1
2-6
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
UC-PRG015-01A(1.5M)
PC
UC-PRG015-02A(1.5M)
PC
HMI
RJ45
Wiring
diagram UC-PRG030-20A(3M)
PLC HMI
2-7
St a r t e r K i t M a n u a l
RS-485
D+: Red
Wiring
diagram D-: Black
RS-485 Cable(1M) Male DB9
PLC HMI
Graphic representations
Graphic
Description
representation
Pressing and holding the left mouse button, and then moving the mouse
without releasing the button
2-8
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
Installing ISPSoft:
(1) Start the operating system installed on a computer. Users have to log on to the
system as a system administrator before they install ISPSoft.
(2) Insert the USB flash drive which is an attachment to a UT series starter kit into the
computer, and then double-click StarterKit.exe in the USB flash drive.
2_
2-9
St a r t e r K i t M a n u a l
_2
(4) Click Install ISPSoft Ver 2.05. (Alternatively, the users can download the
installation program from the official website of Delta http://www.deltaww.com.
(Before the installation program downloaded from the website is installed, it
needs to be decompressed.))
2-10
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
(6) Select the I accept the terms in the license agreement option button, and then click
Next.
(7) Type related information in the User Name box and the Organization box, and then
click Next.
2 - 11
St a r t e r K i t M a n u a l
(8) Leave the default path unchanged, or click Change to change the path. Click Next
to proceed to the next step.
_2
2-12
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
(10) After ISPSoft is installed, shortcuts to the program will be created on the desktop
and the Start menu. Click Finish to complete the installation.
2_
(11) Start ISPSoft. (Click the Start button All Programs Delta Industrial
2-13
St a r t e r K i t M a n u a l
_2 (1) Start the operating system installed on a computer. Users have to log on to the
system as a system administrator before they install ISPSoft.
(2) Insert the USB flash drive which is an attachment to a UT series starter kit into the
computer, and then double-click StarterKit.exe in the USB flash drive.
2-14
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
(4) Click Install COMMGR Ver 1.04. (Alternatively, the users can download the
installation program from the official website of Delta http://www.deltaww.com.
(Before the installation program downloaded from the website is installed, it needs to
be decompressed.))
2-15
St a r t e r K i t M a n u a l
_2
(6) Type information in the User Name box and the Organization box, and then click
Next.
2-16
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
(8) After COMMGR is installed, a shortcut to the program will be created on the Start
menu. Click Finish to complete the installation.
2_
(9) Start COMMGR. (Click the Start button All Programs Delta Industrial
Automation Communication COMMGR COMMGR.)
2-17
St a r t e r K i t M a n u a l
After the users finish changing User Account Control settings, they can install DOPSoft by
following the instructions below.
2-18
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
(1) Insert the USB flash drive which is an attachment to a UT series starter kit into the
computer, and then double-click StarterKit.exe in the USB flash drive.
2_
2-19
St a r t e r K i t M a n u a l
(3) Click Install DOPSoft Ver 2.00.04. (Alternatively, the users can download the
installation program from the official website of http://www.deltaww.com. (Before the
installation program downloaded from the website is installed, it needs to be
decompressed.))
_2
(4) Please select a language. The software provides three languages. They are
traditional Chinese, simplified Chinese, and English. The users have to click OK after
they select a language.
2-20
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
(5) If the users want to install DOPSoft in a different folder, they have to click Browse,
and select another folder. If the users want to install DOPSoft in the default folder,
they have to click Next.
2_
(6) Please check whether the DOPSoft checkbox is selected, and then click Install.
2-21
St a r t e r K i t M a n u a l
(7) After Install is selected, the progress bar which is used to visualize the progression of
the installation of DOPSoft will be displayed.
_2
2-22
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
(9) The Windows Security dialog box appears when the device driver needed is
installed. Please click Install this driver software anyway.
2_
(10) Click Finish after the installation of the device driver is complete.
2-23
St a r t e r K i t M a n u a l
(11) Select the I accept the terms in the license agreement option button in the
Microsoft SQL Server Compact 3.5 SP2 ENU window, and then click Next.
_2
2-24
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
(13) Click Finish after the installation of Microsoft SQL Compact is complete.
2-25
St a r t e r K i t M a n u a l
(14) After the installation of DOPSoft is complete, the progress bar will indicate that the
installation of the software is complete. Please click Close to close the installation
screen.
_2
(15) Start DOPSoft. (Click the Start button All Programs Delta Industrial
2-26
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
2-27
St a r t e r K i t M a n u a l
(3) Click Install DCISoft Ver. 1.12 (UT-12SE-A). (Alternatively, the users can download
the installation program from the official website of http://www.deltaww.com. (Before
the installation program downloaded from the website is installed, it needs to be
decompressed.))
_2
2-28
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
(5) If the users want to install DCISoft in a different folder, they have to click Browse, and
select another folder. If the users want to install DCISoft in the default folder, they
have to click Install.
2_
(6) After DCISoft is installed, shortcuts to the program will be created on the desktop and
the Start menu. Click Finish to complete the installation.
2-29
St a r t e r K i t M a n u a l
_2
(7) Start DCISoft. (Click the Start button All Programs Delta Industrial
2-30
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
2-31
St a r t e r K i t M a n u a l
(3) Click Install UC-PRG020-12A Driver (UT-14SS2-A) (Alternatively, the users can
download the installation program from the official website of http://www.deltaww.com.
(Before the installation program downloaded from the website is installed, it needs to
be decompressed.))
_2
2-32
C h a p t e r 2 I n s t a l l a t i o n o f U T S e r i e s St a r t e r K i t s
2_
(6) Select the I accept this agreement option button, and then click Next.
2-33
St a r t e r K i t M a n u a l
_2
(8) After UC-PRG020-12A is connected to the computer, Silicon Labs CP210x USB to
UART Bridge (COMx) will appear in the Device Manager window. COMx represents
the communication port connected to UC-PRG020-12A.
2-34
3
Chapter 3 Example Programs
Table of Contents
3-1
3.2.8 Testing a Project .................................................. 3-95
3-2
Chapter 3 Example Programs
3.1 Example 1
The steps of writing programs in ISPSoft and DOPSoft are described below. After users
follow the steps introduced below, they will know how to write programs for a PLC and an
HMI. The example below is applicable to UT series starter kits. The starter kit used in the
example is UT-14SS2-A.
UC-PRG015-02A(1.5M)
D+: Red
D-: Black
RS-485 Cable(1M) Male DB9
3_
PC
UC-PRG020-12A(2M) PLC HMI 1
UC-MS020-06A(2M) Male DB9
After the users install hardware and understand the control logic in the example, they can
prepare to write a program.
Please complete the step in section 2.1.2 before writing the example program shown
below.
Step 1: Start ISPSoft. (Click the Start button All Programs Delta Industrial
Automation PLC ISPSoft x.xx ISPSoft x.xx, or click on the
desktop.)
Welcome screen
3-3
St a r t e r K i t M a n u a l
Main screen
_3
Step 2: After is clicked, a new project will be added. The project name typed in the
Project Name box is NEW. Select SS2 in the PLC Type drop-down list box,
leave the default path in the Drive/Path box unchanged, and click OK.
3-4
Chapter 3 Example Programs
After OK in the Create a New Project window is clicked, a project environment will be
displayed (the project name NEW will appear in the upper left corner of the project
environment).
3_
3-5
St a r t e r K i t M a n u a l
Note: Please refer to Chapter 5 in ISPSoft User Manual for more information about
creating a POU.
_3
Type Prog_Main in the POU Name box, select Ladder Diagram (LD) in the Language
section, type Main Program in the POU Comment box, ,and click OK.
The users can see the Prog_Main window on the main screen.
3-6
Chapter 3 Example Programs
3_
The users can prepare to write a main program. In order to scan a program conveniently,
the users can develop the habit of writing comments. If the users want to write network
comments, they have to click .
Type a comment in the comment box for network 1. If the users want to start a new line of
text at a specific point, they can press Shift+Enter on the keyboard.
The users can begin to edit program code. The programming language used here is a
3-7
St a r t e r K i t M a n u a l
ladder diagram. Please click , and then move the mouse cursor to the red frame. If
the mouse cursor becomes , the users can click the left mouse button.
_3
After the users click the line at the right side of the X0 contact, the red frame on the X0
contact will move to the line.
3-8
Chapter 3 Example Programs
Click , move the mouse cursor to the red frame, and click the left mouse button.
3_
Click ???, and type Y0.
3-9
St a r t e r K i t M a n u a l
Click in the project management area in ISPSoft, click Basic Instructions, and
drag CNT to the red frame.
_3
If the users do not know the usage of CNT, they can click the CNT instruction block, press
F1 on the keyboard, and refer to the information in the PLC Instructions and Special
Registers Reference window.
3-10
Chapter 3 Example Programs
Click ??? in the box at the left side of S1, and type C0. Click ??? in the box at the left
side of S2, and type 5.
3_
Click to add a new network, the input contact C0, and the output coil Y1.
3 - 11
St a r t e r K i t M a n u a l
_3
3-12
Chapter 3 Example Programs
Click to open the API List window. The API List window helps the users edit the
parameters of TMR easily. In the API List window, select T in the S1 drop-down list box,
select K in the S2 drop-donw list box, select 0 in the upper Component Value box, select
50 in the lower Component Value box, and click OK.
3_
After the setting of the parameters of TMR is complete, the program shown below will
appear.
3-13
St a r t e r K i t M a n u a l
The writing of the program will be complete after the users save the file.
The users can click to check the syntax of the program, and click to compile the
project. The compiling of a project is different from the checking of the syntax of a
program in that it is composed of the checking of syntax, and the compiling of all
programs and function blocks.
_3
3-14
Chapter 3 Example Programs
Step 1: Start COMMGR. (Click the Start button All Programs Delta Industrial
Automation Communication COMMGR COMMGR.)
3_
Step 2: After COMMGR is started, the icon representing COMMGR will appear in the
notification area. Double-click the icon representing COMMGR to open the
COMMGR window.
3-15
St a r t e r K i t M a n u a l
Step 3: After the COMMGR window is opened, users can begin to set a driver.
UC-RRG020-12A cable is used to connect the computer and a PLC here, and
therefore an RS-232 driver needs to be created. First, click Add. Then, set an
RS-232 driver in the way shown below.
_3
Users can type a driver name in the Driver Name box. Special marks can not be used
except _.
Select RS232 in the Type drop-down list box in the Connection Setup section.
Select an RS- 232 communication port in the COM Port drop-down list box. Each item
in the COM Port drop-down list box is composed of a device name and a
communication port number. The communication ports in the COM Port drop-down list
box are the same as the communication ports in the Device Manager window.
3-16
Chapter 3 Example Programs
If users do not know the communication protocol for exchanging data through a
communication port on a device connected, the users can connect the device to an
RS-232 communication port selected with an RS-232 cable, and click Auto-detect to
automatically detect the communication protocol. If the communication protocol is
detected successfully, the related communication parameters in the Driver Properties
window are set. However, when the communication protocol is detected automatically,
the COM Port parameter and the ASCII/RTU parameter are not detected. As a result,
3_
the users have to set the COM Port parameter and the ASCII/RTU parameter before
clicking Auto-detect.
Users can select the number of times the sending of a command is retried if a
connection error occurs in the Time of Auto-retry box, and select an interval of
retrying the sending of a command in the Time Interval of Auto-retry box.
*. When the Driver Properties window is opened, the information about the
communication ports in the Device Manager window is retrieved once. However, the
information in the COM Port drop-down list box will not be updated. If a device is
added to the computer system after the Driver Properties window is opened, the
device will not be displayed in the COM Port drop-down list box. Users have to close
the Driver Properties window, and open it again.
Step 4: After the setting of an RS-232 driver is complete, the RS-232 driver will appear in
the COMMGR window. If the computer is normally connected to the PLC used,
OK will appear in the Status column.
If the users click or in the COMMGR window, the COMMGR window will
disappear from the desktop, and will be visible only as an icon in the notification area.
3-17
St a r t e r K i t M a n u a l
Setting communication
After the setting of COMMGR is complete, users can set communication in ISPSoft.
First, click Communication Settings on the Tools menu to open the
Communication Setting window.
_3
In the Communication Setting window, select RS-232 in the Driver drop-down list
box, and click OK.
The users can see the information about the driver which is connected on the lower
right corner of the status bar.
3-18
Chapter 3 Example Programs
After users write a PLC program, they can prepare to download the program. The
program created here has been compiled. If the program is modified, the users can
click to check the program. After the compiling of the program is successful, the
us ers can click to download the program.
3_
There are several checkboxes in the Transfer Setup window. Object code is a
necessary condition for the operation of a PLC, and therefore the Object Code
checkbox is selected. In order to maintain the program conveniently, the Program
checkbox and the Comments checkbox are selected in this example. The project will
be backed up onto the PLC connected, and the program will not be lost. Besides, if
the users want to modify the program, and forget to bring the program, they can
upload the program from the PLC to the computer to modify the program.
After the users click OK in the Transfer Setup window, the downloading of the
program will be complete.
3-19
St a r t e r K i t M a n u a l
After the program is downloaded, the users can click if they want to run the PLC.
_3
Alternatively, the users can move the RUN/STOP swithc on the PLC to the RUN
position.
3-20
Chapter 3 Example Programs
When a program is executed, users can monitor the program to understand the current
logical control state of the system, or modify the values in some devices to test the
system. The monitoring of a program is described below.
Monitoring a program
3_
After users click , the program will be monitored. The program is composed of a
logic program, and the information about devices. (The states of Boolean devices are
indicated by green backgrounds (On) or white backgrounds (Off), and the information
about other devices is indicated by values or text.)
If a device corresponds to an actual I/O device, Set On and Set Off can not be used
to change the state of the device because the state of the actual I/O device
immediately overwrites the value which is set, and Force On and Force Off can be
used instead. X0 is forced to be On here.
3-21
St a r t e r K i t M a n u a l
The state of X0 is changed, and a lock symbol indicating that the device is forced to
be On appears.
After the system is tested, the users have to cancel the forced state of the device so
that the PLC can return to normal.
_3
3-22
Chapter 3 Example Programs
3_
1. If X0 is turned from Off to On, Y0 will be On, and the red light on the I/O simulator
board will be turned On.
2. If X0 is turned from On to Off, Y0 will be Off, and the red light on the I/O simulator
board will be turned Off.
3. If X1 is turned from Off to On five times, C0 will be turned from Off to On, Y1 will be
turned from Off to On, and the yellow light on the I/O simulator board will be turned
On.
4. If X2 is turned from Off to On, T0 will begin to measure time. After the time that T0
measures reaches 5 seconds, T0 will be turned from Off to On, Y2 will be turned from
Off to On, and the green light on the I/O simulator board will be turned On.
5. If X2 is turned from On to Off, T0 will be Off, Y2 will be Off, and the green light on the
I/O simulator board will be tunred Off.
3-23
St a r t e r K i t M a n u a l
The Delta software which supports DOP-B07S410 is DOPSoft. Please refer to DOPSoft
User Manual for more information about the usage of DOPSoft.
Please complete the step in section 2.1.3 before writing the example program shown
below.
Step 1: Start DOPSoft. (Click the Start button All Programs Delta Industrial
_3
Automation HMI DOPSoft x.xx.xx DOPSoft x.xx.xx, or click
on the desktop.)
Welcome screen
3-24
Chapter 3 Example Programs
Main screen
3_
3-25
St a r t e r K i t M a n u a l
Step 2: After is clicked, a new project will be added. Select DOP-B series in the
Series drop-down list box, click B07S410 on the HMI list, leave the default
project name in the Project Name box unchanged, and click Next.
_3
3-26
Chapter 3 Example Programs
RS-232 communication
1. In the Project Wizard window, type DVP14SS211R in the Link Name box,
select Delta DVP PLC in the Controller drop-down list box, select RS232 in the
Interface drop-down list box, select 7 Bits in the Data Bits drop-down list box,
select 1 Bit in the Stop Bits drop-down list box, select 9600 in the Baud Rate
drop-down list box, select Even in the Parity drop-down list box, select 1 in the
PLC Station box, and click Finish.
3_
Parity: Even
3-27
St a r t e r K i t M a n u a l
Please refer to section 4.4.3 for more information about setting a communicaiton
format.
_3 3. Please refer to section 2.1.4 for more information about using an RS-232 cable to
connect DVP14SS211R to DOP-B07S410.
RS-485 communication
1. In the Project Wizard window, type DVP14SS211R in the Link Name box,
select Delta DVP PLC in the Controller drop-down list box, select RS485 in the
Interface drop-down list box, select 7 Bits in the Data Bits drop-down list box,
select 1 Bit in the Stop Bits drop-down list box, select 9600 in the Baud Rate
drop-down list box, select Even in the Parity drop-down list box, select 1 in the
PLC Station box, and click Finish.
3-28
Chapter 3 Example Programs
Parity: Even
3_
Stop bit: 1 stop bit
3. Please refer to section 2.1.4 for more information about using an RS-485 cable to
connecting DVP14SS211R to DOP-B07S410.
After Finish in the Project Wizard window is clicked, a project environment will be
displayed.
3-29
St a r t e r K i t M a n u a l
Drag Multistate Indicator in the Indicator section in the Element Tool window to the
screen, and then drop it.
_3
3-30
Chapter 3 Example Programs
3_
3-31
St a r t e r K i t M a n u a l
Select 0 in the State drop-down list box, and then set the parameters in the Style section.
_3
3-32
Chapter 3 Example Programs
Click the Picture tab, select $3DFineSW2State.pib in the Picture Bank Name
drop-down list box, and click SW2State_058.bmp in the Select Picture window.
3_
3-33
St a r t e r K i t M a n u a l
_3
3-34
Chapter 3 Example Programs
Select 1 in the State drop-down list box, and then set the parameters in the Picture
section.
3_
After OK in the Multistate Indicator window is clicked, the screen shown below will
appear.
3-35
St a r t e r K i t M a n u a l
3-36
Chapter 3 Example Programs
Double-click the text box to open the Text window. In the Text window, click the Text tab,
and type X0 in the Text section.
3_
3-37
St a r t e r K i t M a n u a l
Create the X1 indicator and the X2 indicator shown below in the same way.
_3
Drag Multistate Indicator in the Indicator section in the Element Tool window to the
screen, and then drop it.
3-38
Chapter 3 Example Programs
Double-click the element to open the Multistate Indicator window. Set the parameter in
the Memmory section in the Multistate Indicator window.
3_
3-39
St a r t e r K i t M a n u a l
Click the Picture tab, select $3DLamp2State.pib in the Picture Bank Name drop-down
list box, and click Lamp2State_02.bmp in the Select Picture window.
_3
3-40
Chapter 3 Example Programs
3_
3-41
St a r t e r K i t M a n u a l
Select 1 in the State drop-down list box, click the Picture tab, and set the parameters in
the Picture section.
_3
3-42
Chapter 3 Example Programs
Create the Y1 indicator and the Y2 indicator shown below in the same way.
3_
Drag Numeric Display in the Data Display section in the Element Tool window to the
screen, and then drop it.
3-43
St a r t e r K i t M a n u a l
_3
3-44
Chapter 3 Example Programs
Set the parameters in the Memmory section, the Style section, and the Detail section.
3_
3-45
St a r t e r K i t M a n u a l
_3
The writing of the program will be complete after the users save the file.
3-46
Chapter 3 Example Programs
After the HMI program above is created, users can download it to DOP-B07S410. Before
the HMI program created above is downloaded, the users have to compile it. After the
users click Compile on the Tools menu, or click , the HMI program created above will
be compiled, and the information about the result of the compiling of the program will be
displayed in the Output window.
3_
After the users compile the HMI program created above, they can click to donwload
the screen and the recipes in the program.
If the HMI is used for the first time or the firmware of the HMI is old, the firmware of the
HMI will be automatically updated after is clicked. Please see the figure below.
3-47
St a r t e r K i t M a n u a l
A progress bar appears on the screen of the HMI when the firmware of the HMI is
updated.
_3
The users have to click OK after the updating of the firmware of the HMI is complete.
After the firmware of the HMI is updated, the HMI will read the data which needs to be
downloaded.
3-48
Chapter 3 Example Programs
After the downloading of the program is complete, the screen shown below will appear.
3_
3.1.9 Using an HMI with an I/O Simulator Board
1. If X0 is turned from Off to On, Y0 will be On. If X0 is turned from On to Off, Y0 will be
Off.
3-49
St a r t e r K i t M a n u a l
2. If X1 is turned from Off to On five times, C0 will be turned from Off to On, abd Y1 will
be turned from Off to On.
_3
3. If X2 is turned from Off to On, T0 will begin to measure time. After the time that T0
measures reaches 5 seconds, T0 will be turned from Off to On, and Y2 will be turned
from Off to On. If X2 is turned from On to Off, T0 will be Off, and Y2 will be Off.
3-50
Chapter 3 Example Programs
3.2 Example 2
Generally speaking, there are programmers who are responsible for writing a PLC
program and an HMI program during the process of developing a project. They work
together to meet the requirements of the project.
The example below helps users understand how to writing a PLC program and an HMI
program during the process of developing a project. The starter kit used in the following
example is UT-12SE-A.
UC-PRG015-02A(1.5M) 3_
D+: Red
D-: Black
RS-485 Cable(1M) Male DB9
UC-PRG015-01A(1.5M)
PC
UC-PRG030-20A(3M)
PLC HMI
1. There are five rooms, and they are numbered from 101 to 105. If a customer in a
room needs service, the customer can press the call button in the room to call an
attendant. After a call button is pressed, the number of rooms calling will increase by
one.
2. If several rooms call, the display on the service counter will show the number of
rooms calling, and the order in which the rooms call.
3. If an attendant checks a room, and then presses the check button on the display, the
number of rooms calling will decrease by one, and the next room number will be
shown on the display.
4. After all the rooms calling are checked, the number of rooms calling shown on the
display will be 0.
5. After an attendant presses the reset button on the display, all data will be cleared.
3-51
St a r t e r K i t M a n u a l
Check Reset
After users understand project requirements, they need to discuss and plan a project. The
project needs to be composed of a PLC program and an HMI program. Besides, the
users have to select PLC devices and HMI elements.
PLC
3. If an attendant checks a room, and then presses the check button on the display
on the service counter, the number of rooms calling will decrease by one, and the
next room number will be shown on the display.
4. After all the rooms calling are checked, the number of rooms calling shown on the
display on the service counter will be 0.
5. After an attendant presses the reset button on the display, all data will be cleared.
HMI
2. The display on the service counter shows the number of rooms calling.
3-52
Chapter 3 Example Programs
Devices
X3
X3 corresponds to the call button in room 104. X3 will be On
- 3_
if the call button in room 104 is pressed.
The relation between PLC devices and HMI elements is shown below.
3-53
St a r t e r K i t M a n u a l
After users discuss device requirements, they have to edit HMI elements.
Please complete the step in section 2.1.6 before writing the example program shown
below.
Planning elements:
D11: The value in D11 indicates the room which is being checked.
Step 1: Start DOPSoft. (Click the Start button All Programs Delta Industrial
Welcome screen
3-54
Chapter 3 Example Programs
Main screen
3_
Step 2: After is clicked, a new project will be added. Select DOP-B series in the
Series drop-down list box, click B07E415 on the HMI list, leave the default
project name in the Project Name box unchanged, and click Next.
3-55
St a r t e r K i t M a n u a l
Ethernet communication
_3
Type the link name DVP_SE, type 192.168.1.5 in the Controller IP box, select
502 in the Port box, and set the parameters in the Main section.
3-56
Chapter 3 Example Programs
Click the Local Host tab, type 192.168.1.2 in the HMI IP Address box, type
255.255.255.0 in the Subnet Mask box, type 192.168.1.1 in the Gateway IP
box, and click Finish.
3_
Start DCISoft, and click Communication Setting on the Tools menu to open the
Communication Setting window. Users can select RS232 or Ethernet in the
Communication Type drop-down list in the Communication Setting window.
3-57
St a r t e r K i t M a n u a l
_3
3-58
Chapter 3 Example Programs
3_
3-59
St a r t e r K i t M a n u a l
_3
3-60
Chapter 3 Example Programs
3_
Click the Basic tab in the DVP12SE window, set the parameters in the
Network Setup section, and click OK.
3. Please refer to section 2.1.7 for more information about using the Ethernet cable
UC-PRG030-20A to connecting DVP12SE11R to DOP-B07E415.
3-61
St a r t e r K i t M a n u a l
RS-485 communication
1. In the Project Wizard window, type DVP12SE11R in the Link Name box, select
Delta DVP PLC in the Controller drop-down list box, select RS485 in the
Interface drop-down list box, select 7 Bits in the Data Bits drop-down list box,
select 1 Bit in the Stop Bits drop-down list box, select 9600 in the Baud Rate
drop-down list box, select Even in the Parity drop-down list box, select 1 in the
PLC Station box, and click Finish.
_3
Parity: Even
3. Please refer to section 2.1.7 for more information about using an RS-485 cable to
connecting DVP12SE11R to DOP-B07E415.
3-62
Chapter 3 Example Programs
Editing a screen:
Drag Numeric Display in the Data Display section in the Element Tool window to the
screen, and then drop it.
3_
3-63
St a r t e r K i t M a n u a l
Set the parameter in the Memmory section in the Numeric Display window.
_3
3-64
Chapter 3 Example Programs
Set the parameters in the Style section and the Detail section.
3_
Click the Text tab, and then set the parameters in the Text section.
3-65
St a r t e r K i t M a n u a l
After OK in the Numeric Display window is clicked, the numeric display shown below will
appear.
Drag Momentary in the Button section in the Element Tool window to the screen, and
then drop it.
3-66
Chapter 3 Example Programs
3_
3-67
St a r t e r K i t M a n u a l
_3
3-68
Chapter 3 Example Programs
Click the Text tab, type Check in the Language 1 cells, and set a text format.
3_
Select 0 in the State drop-down list box, click the Picture tab, and set the parameters in
the Picture section.
3-69
St a r t e r K i t M a n u a l
_3
Select 1 in the State drop-down list box, and set the parameters in the Picture section.
3-70
Chapter 3 Example Programs
3_
3-71
St a r t e r K i t M a n u a l
After the screen is beautified, the users can get the screen shown below.
3-72
Chapter 3 Example Programs
Please complete the step in section 2.1.5 before writing the example program shown
below.
After users discuss control requirements, they have to write a PLC program.
Planning hardware
After a project is created, the users can plan hardware. The hardware which needs to be
3_
planned for the example is described below.
Check button M0
Reset button M1
Indicating the room which is being checked (First in, first out) D11
In order to make a program more readable and the connection to a SCADA system more
convenient, I/O addresses are generally assigned global symbols. Users can use
symbols when they write a program. Besides, a global symbol table can be
imported/exported. If a medium-sized/large-sized system which is equipped with many
inputs and outputs is used, users can use Microsoft Excel to make the editing of a
program for the system more convenient.
3-73
St a r t e r K i t M a n u a l
The global symbols which need to be created for the example are listed below.
X0 Room101 BOOL
X1 Room102 BOOL
X2 Room103 BOOL
_3
X3 Room104 BOOL
X4 Room105 BOOL
M0 Check_Button BOOL
M1 Reset_Button BOOL
D0 Number_of_Rooms_Calling WORD
3-74
Chapter 3 Example Programs
Double-click the blank to open the Add Symbol window. Type Room101 in the
Identifier box, type X0 in the Address box, type a comment in the Comment box,
leave the default values in the Type box and the Initial box unchanged, and click OK.
3_
The users can see a new piece of data in the Global Symbols window.
The users can create the data in the global symbol table above in the Global Symbols
window in the same way.
3-75
St a r t e r K i t M a n u a l
After users create global symbols, they can create a main program. Right-click
in the project management area in ISPSoft to add a new POU.
_3
Type Prog_Main in the POU Name box, type Main Program in the POU Comment box,
and click OK.
3-76
Chapter 3 Example Programs
Step 1: Edit call buttons and corresponding room numbers. The number corresponding to
the room which calls is stored in D10 temporarily.
After the call button is pressed, the room number corresponding to the button will be sent
3_
to the service counter instantly. Therefore, the contact created is rising edge-triggered.
3-77
St a r t e r K i t M a n u a l
_3
Step 2: Room numbers are stored in D1~D5 according the order in which the rooms
corresponding to the room numbers call.
The instructions SFWR and SFRD are used to implement FIFO. In this project, the room
which calls first is checked first. FIFO is an acronym for First In, First Out.
3-78
Chapter 3 Example Programs
Notes:
S: Source device
D: Head address of a data stack
n: Length of a data stack
1. The value in a source device S is written to a FIFO data stack. The position of
insertion into the stack is automatically calculated by the PLC used.
3_
2. The instruction defines the values in the n word devices starting from D as a FIFO
data stack, and designate D as a pointer.
3. If SFWR is executed, the value in the pointer D will increase by one, and the value in
S will be written to the device designated by the pointer D. If the value in the pointer D
exceeds n-1, the execution of the instruction will stop, and the carry flag M1022 will
be On.
4. This instruction can be used with SFRD for the reading/writing of a FIFO data stack.
5. Example:
After X0 is turned from Off to On, the value in the pointer D0 will become 1, and
the value in D20 will be written to D1. If the value in D20 is changed, and X0 is
turned from Off to On again, the value in the pointer D0 will become 2, and the
value in D20 will be written to D2.
If SFWR is executed once, the writing of a value will follow the steps ~.
3-79
St a r t e r K i t M a n u a l
Source
n=10
D20 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Pointer
D0= 3 2 1
2. If SFRD is executed, the value in S+1 will be moved to D, the values in S+n-1~S+2
will be moved to S+n-2~S+1, and the value in S will decrease by one.
3. If the value in the pointer S is 0, the execution of the instruction will stop, and the
carry flag M1022 will be On.
4. Example:
After X0 is turned from Off to On, the value in D1 will be sent to D21, the values in
D9~D2 will be moved to D8~D1 (the value in D9 will be unchanged), and the
value in D0 will decrease by one.
If SFRD is executed once, the reading of a value will follow the steps ~.
n=10
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D21
Pointer
3-80
Chapter 3 Example Programs
After Room101 is turned from Off to On, SFWR will be used to send the room number
101 to Number_of_Rooms_Calling. (D0 functions as a pointer. After SFWR is executed,
the value in D0 will become 1, and the value in D10 (the value 101) will be written to D1.)
Click , and move the mouse cursor to the position under the contact marked with 3_
Room101. After the mouse cursor becomes , the users have to click the left mouse
button, type Room102 in ???, and change the contact added into a rising edge-triggered
contact.
3-81
St a r t e r K i t M a n u a l
After Room102 is turned from Off to On, SFWR will be used to send the room number
102 to Number_of_Rooms_Calling. (D0 functions as a pointer. After SFWR is executed,
the value in D0 will become 2, and the value in D10 (the value 102) will be written to D2.)
Write the following program. Room numbers are stored in D1~D5 according the order in
which the rooms corresponding to the room numbers call, and the number of rooms
calling is stored in Number_of_Rooms_Calling.
_3
After an attendant presses the check button on the display on the service counter, a room
number will be sent to Displaying_Room_Number, and the value in
Number_of_Rooms_Calling will decrease by one.
3-82
Chapter 3 Example Programs
After the reset button on the display on the service counter is pressed, the values in
Number_of_Rooms_Calling, D1~D5, and Displaying_Room_Number will be cleared.
Click , move the mouse cursor to the red frame, and click the left mouse button.
3_
Type Displaying_Room_Number in ???, and change the output coil into a reset coil.
3-83
St a r t e r K i t M a n u a l
_3
3-84
Chapter 3 Example Programs
3_
3-85
St a r t e r K i t M a n u a l
The writing of the program will be complete after the users save the file.
The users can click to check the syntax of the program, and click to compile the
project. The compiling of a project is different from the checking of the syntax of a
program in that it is composed of the checking of syntax, and the compiling of all
programs and function blocks.
_3
Step 1: Start COMMGR. (Click the Start button All Programs Delta Industrial
Automation Communication COMMGR COMMGR.)
3-86
Chapter 3 Example Programs
Step 2: After COMMGR is started, the icon representing COMMGR will appear in the
notification area. Double-click the icon representing COMMGR to open the
COMMGR window.
3_
3-87
St a r t e r K i t M a n u a l
Step 3: After the COMMGR window is opened, users can begin to set a driver. A USB
cable is used to connect the computer and DVP12SE11R here, and therefore a
USB driver needs to be created. First, click Add. Then, create a USB driver in the
way shown below.
_3
Step 4: After a USB driver is created, it will appear in the COMMGR window. If the
computer is normally connected to DVP12SE11R, OK will appear in the Status
column.
If the users click or in the COMMGR window, the COMMGR window will
disappear from the desktop, and will be visible only as an icon in the notification area.
3-88
Chapter 3 Example Programs
Setting communication
After the setting of COMMGR is complete, users can set communication in ISPSoft.
First, click Communication Settings on the Tools menu to open the
Communication Setting window.
3_
In the Communication Setting window, select SE_USB in the Driver drop-down list
box, and click OK.
The users can see the information about the driver which is connected on the lower
right corner of the status bar.
3-89
St a r t e r K i t M a n u a l
After users write a PLC program, they can prepare to download the program. The
program created here has been compiled. If the program is modified, the users can
click to check the program. After the compiling of the program is successful, the
users can click to download the program.
_3
There are several checkboxes in the Transfer Setup window. Object code is a
necessary condition for the operation of a PLC, and therefore the Object Code
checkbox is selected. In order to maintain the program conveniently, the Program
checkbox and the Comments checkbox are selected in this example. The project will
be backed up onto the PLC connected, and the program will not be lost. Besides, if
the users want to modify the program, and forget to bring the program, they can
upload the program from the PLC to the computer to modify the program.
After the users click OK in the Transfer Setup window, the downloading of the
program will be complete.
3-90
Chapter 3 Example Programs
After programs are created, DVP12SE11R can communicate with DOP-B07E415 through
Ethernet. Users have to set Ethernet parameters for DVP12SE11R. The use of DCISoft to
set Ethernet parameters for DVP12SE11R is described below.
Step 1: Start DCISoft, and click Communication Setting on the Tools menu to open the
Communication Setting window.
3_
3-91
St a r t e r K i t M a n u a l
Step 2: The driver created for DVP12SE11R in COMMGR is a USB driver, but the
communication type selected in the Communication Type drop-down list box in
the Communication Setting window needs to be RS232. The COM port
selected in the COM Port drop-down list box needs to be the same as the COM
port selected for the USB driver created for DVP12SE11R in COMMGR.
_3
Step 3: Click after the setting of the parameters in the Communication Setting
window is complete.
3-92
Chapter 3 Example Programs
3_
3-93
St a r t e r K i t M a n u a l
_3
Step 5: Click the Basic tab in the DVP12SE window, set the parameters in the Network
Setup section, and click OK.
3-94
Chapter 3 Example Programs
After users write a PLC program and an HMI program, they can use UC-PRG030-20A to
connect DVP12SE211R to DOP-B07E415, and then test the system.
3_
After the functions listed above are tested, the programs created will be complete.
3-95
St a r t e r K i t M a n u a l
MEMO
_3
3-96
4
Chapter 4 Appendix
Table of Contents
4-1
4.4.2 PLC Device Addresses ........................................... 4-15
4.4.3 Setting the Communication Parameters in a PLC ....... 4-18
4.4.4 Setting the Communication Parameters in an HMI ..... 4-21
4-2
Chapter 4 Appendix
DVPPS01 is the best choice for DVP series PLCs. It supplies offer
users 24VDC and 24W power with enhanced safety and efficiency.
4.1.2 DVP14SS211R _4
4.1.3 DVP12SE11R
DVP12SE11R is a PLC equipped with eight digital inputs and four digital
outputs. It offers various instructions. The program memory in it is 16K
steps. DVP12SE11R has a mini USB port, an Ethernet port, and two
RS-485 ports. It supports DVP-S series left-side and right-side
modules.
4-3
St a r t e r K i t M a n u a l
4.1.4 DOP-B07S410
Specifications:
_4
4.1.5 DOP-B07E415
Specifications:
4-4
Chapter 4 Appendix
Profile
6
5 2
4
90
3 3
3
36.5 13. 3 60
_4
U nit : mm
4.2.2 DVP14SS211R
Profile
7
25 .2 5 60
3
1 8
2 6 9
12
10
90 13
11
3
14
4
4
Un it : mm
4-5
St a r t e r K i t M a n u a l
I/O configuration
_4 S/S
X0
X1
X2
X3
X4
X5
X6
DC X7
DVP14SS211R 8 6 Relay
(Sink or source) C0
Y0
Y1
Y2
C1
Y3
Y4
Y5
4-6
Chapter 4 Appendix
4.2.3 DVP12SE11R
Profile
1
16 8 3 7.4 60
4 8
3
13
2 P OW E R ss
5 9
R UN
X0
X0
ER R O R
X1
14
X1
C O M1
3
X2
X2
X3
X3
10
X4
R UN X4
X5
X5
X6
X6
90 11
STOP
15
X7
X7
C0
6
Y0
D VP -12S E
Y0
Y1
12
CO M 1
Y2
Y1
Y3
12
Y2
SG
Y3
C O M 3+
COM3 -
7
COM 2
COM 3
Et h e r n e t
7P iV : OO _4
11. DIN rail groove (35 mm) 12. I/O module clip
4-7
St a r t e r K i t M a n u a l
I/O configuration
S/ S
X0
X1
X2
X3
X4
X5
X6
DC X7
DVP12SE11R 8 4 Relay C0
(Sink or source)
Y0
Y1
Y2
Y3
_4 SG
C OM3 +
C OM3 -
4.2.4 DOP-B07S410
Profile
196. 9
1 26. 2
215 1.6~ 6
3
1 42.9
2
4
5
161
Uni t : mm
5. COM port
4-8
Chapter 4 Appendix
4.2.5 DOP-B07E415
Profile
196. 9
1 51. 2
215 7
142.9 1 .6~ 6 8
4
9
5 10
161 142.3 11
2 3 6 12
U nit : mm
4-9
St a r t e r K i t M a n u a l
1 Not connected
PIN1
2 RXD
3 TXD
4 Not connected
5 GND
6 Not connected
7 RTS
8 CTS
9 Not connected
4-10
Chapter 4 Appendix
Note 1: If COM2 is used for RS-232 flow control, i.e. if the RTS and CTS signals are
used for flow control, COM3 port will become incapable of being used.
Note 2: If COM2 is used for RS-422 flow control, please refer to the following table for
more information. The signals RTS+, CTS+, RTS- and CTS- shown in the
brackets in the following table are the signals used for flow control.
4 - 11
St a r t e r K i t M a n u a l
Note 1: If COM2 is used for RS-422 flow control, please refer to the table above for
more information. The signals RTS+, CTS+, RTS- and CTS- shown in the
brackets in the table above are the signals used for flow control.
8 5 1: +5 V(R ED )
2
2: D -(WHITE)
_4 7 4
4: Rx
5: T x
3: D +(GREEN)
8: G ND 4: G ND (BLAC K)
6 1
3
9 5 2 : Tx 1: +5 V(R ED )
3: Rx 2: D -(W HITE)
5 : G ND 3: D +(GREEN )
7 : C TS 4: G ND (BLAC K)
6 1 8 : R TS
UC-PRG015-01A (1.5 m)
5 4
1 1
+5 V(RED): 1 1: +5 V(R ED )
D-(WHITE): 2 2: D -(W HITE)
D+(GR EEN ): 3 3: D +(GREEN )
GN D(BL ACK): 5 4: G ND (BLAC K)
4-12
Chapter 4 Appendix
UC-PRG015-02A (1.5 m)
1 4 1
U SB B Type USB A Ty pe
UC-PRG030-20A (3 m)
RJ45 RJ45
1 8 _4
8 1
R J4 5 RJ 45
1: T x+ 1: T x+
2: T x- 2: T x-
3: R x+ 3 : R x+
6: R x- 6 : R x-
UC-MS020-06A (2M)
8 5 Rx: 4 3 : Tx 9 5
2
Tx: 5 2: Rx
7 4 GND : 8 5 : GN D
5V: 1 , 2 7
6 1 8
3 6 1
1
4
6
4-13
St a r t e r K i t M a n u a l
RS-485 cable (1 m)
RED
BL ACK
9 5
RED 1: D+
BL ACK 6: D-
6 1
RS-232
RS-485
D+ (1) D+ (Red)
D- (6) D- (Black)
4-14
Chapter 4 Appendix
4-15
St a r t e r K i t M a n u a l
4-16
Chapter 4 Appendix
4-17
St a r t e r K i t M a n u a l
Number Port
COM1 COM2 COM3
Item
Description:
_4
COM1 is an RS-232 port, COM2 is an RS-485 port, and COM3 is an RS-485 port. They
support Modbus ASCII/RTU communication. If RTU communication is selected, the data
length selected should be 8 bytes. COM2 and COM3 support data rates up to 921 kbps.
COM1, COM2, and COM3 can be used at the same time. If the communication port used
is a USB port, it can not function as a master.
COM1:
D1036: Master/Slave communication protocol used by COM1 (Bit 8~bit 15 are not used.
Please refer to the table below for more information.)
COM2:
D1120: Master/Slave communication protocol used by COM2 (Please refer to the table
below for more information.)
4-18
Chapter 4 Appendix
COM3:
D1109: Master/Slave communication protocol used by COM3 (Bit 8~bit 15 are not used.
Please refer to the table below for more information.)
Communication protocol
Contents
00: None _4
b2, b1 Parity bit 01: Odd
11: Even
4-19
St a r t e r K i t M a n u a l
Contents
First end-of-text
b9 0: None 1: D1125
character
Second end-of-text
b10 0: None 1: D1126
character
b15~b11 Undefined
1. If users want to modify the communication format used by COM1, they have to add
the program code below to the top of the program in the PLC. When the PLC runs
during the first program scan, it checks whether M1138 is On. If M1138 is On, the
setting of COM1 will be changed according to the value in D1036.
4-20
Chapter 4 Appendix
DOP-B07S410
Setting communication
After users click Communication Setting on the Options menu in DOPSoft, they
can set communication parameters related to COM1.
_4
4-21
St a r t e r K i t M a n u a l
DOP-B07E415
Setting communication
After users click Communication Setting on the Options menu in DOPSoft, they
can set communication parameters related to Ethernet.
_4
4-22
Chapter 4 Appendix
L AC 100V~240V
50~60Hz
N
+24V
0V
S/S
X0
_4
X1
X2
X3
X4
SR1 SR2 SR3 SR4
X5
10K 10K 10K 10K
X6
X7 Red Yellow Green Green
C0
Y0
Y1
Y2
C1
Y3
4-23
St a r t e r K i t M a n u a l
L AC 100V~240V
50~60Hz
N
+24V
0V
S/S
X0
_4 X1
X2
X3
X4
SR1 SR2 SR3 SR4
X5
10K 10K 10K 10K
X6
X7 Red Yellow Green Green
C0
Y0
Y1
Y2
Y3
4-24
Chapter 4 Appendix
_4
After the installation of the DVP12SE11R driver is complete, the message Delta PLC will
appear in the Driver Software Installation window.
4-25
St a r t e r K i t M a n u a l
MEMO
_4
4-26
Industrial Automation Headquarters
Delta Electronics, Inc.
Taoyuan Technology Center
18 Xinglong Road, Taoyuan District,
Taoyuan City 33068, Taiwan (R.O.C.)
TEL: 886-3-362-6301 / FAX: 886-3-371-6301
www.deltaww.com.tw
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
*We reserve the right to change the information in this catalogue without prior notice. UTE1