EasyManuals Logo

Control Techniques UD70 User Manual

Control Techniques UD70
154 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #18 background imageLoading...
Page #18 background image
UD70
Issue code: 70nu2
3-4 Getting started
DO WHILE #1.21<1000
DO WHILE is a loop statement. In this example, it gives the program an
instruction to repeat the following block of code while the value of
parameter 1.21 is less than 1000.
#1.21=#1.21+1
This line adds the value 11 to parameter 1.21. Every time this command is
executed, 11 is added to the parameter value.
LOOP
LOOP is the end expression for the Instruction DO WHILE. LOOP tells
the program to go back to the line DO WHILE and check that the DO
WHILE
instruction remains true. When the value of #1.21 = 1000#1.21 = 1000, DO
WHILE
#1.21 < 1000 #1.21 < 1000 becomes false. The instructions between DO
WHILE
and LOOP stop being repeated and the program goes to the
next line after the LOOP command.
GOTO Top:
GOTO is a flow-control instruction. In this case, it tells the program to
go to the label Top:Top:. This causes the program to run continuously.
Note
The label name must be specified using a colon[:].
} Closing brace
Instructions within braces belong to the defined Task. Closing-braces
work in conjunction with opening-braces. In this example, the
opening- and closing-braces work in conjunction with the Task
BACKGROUND..
3.3 Creating a DPL file using the DPL Toolkit
This section shows how to write, compile and download the example
DPL program for the Unidrive.
Opening the DPL Toolkit
In Windows 3.xx Program Manager, or Windows 95 Start menu, click on:
The DPLDPL Toolkit Toolkit window appears. At the top of the window are a menu bar
and toolbar.

Table of Contents

Other manuals for Control Techniques UD70

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Control Techniques UD70 and is the answer not in the manual?

Control Techniques UD70 Specifications

General IconGeneral
BrandControl Techniques
ModelUD70
CategoryControl Unit
LanguageEnglish

Related product manuals