VP-2117 Getting Started, Apr. 2010, V1.0
4-1
Chapter 4 Show String on the VP-2117
’
s LCD
This chapter describes how to create an ISaGRAF project and show the blinking
String on VP-2117
‟
s LCD screen.
4.1 Writing a Simple ISaGRAF Program
We are going to use ISaGRAF Workbench to write a simple ISaGRAF example
program, then download it to the VP-2117
controller to make it work. If you haven‟t
installed
Dz
SaGRAF
dz
&
Dz
ICP DAS Utilities for ISaGRAF
dz
, please go back to read
This example contains one LD program. (The demo is stored in CD-ROM:
\napdos\isagraf\vp-2117\demo\ ).
Variables declaration:
Name
Type
Attribute
Description
Run
Boolean Internal Initial value at
Dz
TRUE
dz
Mode Integer
Internal Display mode, Default : 1
LCD_Q Integer
Internal Return value of LCD_STR
STR_ Message Internal String, Default :
Dz
ICPDAS VP-2117
dz
T1
Timer
Internal Blinking cycle, Default : T#1s
Ladder Logic
Program Outline:
Project name
–
"example1"
– “
”
Name of project group
–
"Test"
One LD program
–
"LD1"
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru