Chapter 3. Demo Programs; Chapter 3; Using The Standard C Language; Demo 1 (Beep, Timer, Counter) - ICP DAS USA TPD Series Programming Manual

Hmi devices
Hide thumbs Also See for TPD Series:
Table of Contents

Advertisement

Chapter 3. Demo Programs

In this chapter, you will be detailed instructions in how to write simple demo programs in
either the C or LD language. Before beginning programming, please ensure that both the
hardware and the software are installed
This chapter use the TPD-703-64 to design the demo.

3.1 Using the standard C language

3.1.1 Demo 1 (Beep, Timer, Counter)

Demo 1 is programmed using the C language and implements a single button that will
beep when clicked on and will increase the counter by one. Demo 1 also implements a
second counter that will increase each second and then reset itself to zero when it
reaches 100 seconds.
Step 1:
Create a new TPD-703-64 project based on the C language (refer to
2.2
Enter the default directory
for saving the project
Select the HMI display
orientation
I
Select the device
TPD/VPD Series – Programming Guide v.1.0.6
Copyright@ 2020 ICP DAS CO., LTD. All Rights Reserved. E-mail: service@icpdas.com
for more details).
c.
d.
a.
Select the
programming type
(Chapter
2).
Enter a project name
b.
e.
Section
Page 21

Advertisement

Table of Contents
loading

Table of Contents