![ICP DAS USA TPD Series Programming Manual Download Page 53](http://html2.mh-extra.com/html/icp-das-usa/tpd-series/tpd-series_programming-manual_3525573053.webp)
TPD/VPD Series – Programming Guide v.1.0.6
Page 53
Copyright@ 2020 ICP DAS CO., LTD. All Rights Reserved. E-mail: [email protected]
f.
Double-click on the second function block to set the function to it. Here we set it the
function, “Beep”, of the category, “system”.
g.
Double-click on the contact symbol to select variable “beep_tag”.
h.
Similarly, double-click on the neighborhood of the input parameter “in” as below
figure to select variable “count”.
i.
Finally, the first rung is done.
j.
The first rung does the followings:
if
( beep_tag ==
1 )
//that is, when the BitButton is pressed.
{
count = count + 1;
//increment the count
Beep();
//make a beep sound
}
i.
h.
g.
f.