UD70
Issue code: 70nu2
4-8
DPL programming
BACKGROUND task
The
BACKGROUND
task is used for functions and commands that do not
require time-related or encoder-related monitoring. This task would be
used for the following:
•
Data logging
•
Checking digital inputs
•
Setting output status
The
BACKGROUND
task runs after the
INITIAL
task is completed. It is
recommended that the majority of the program is run in the
BACKGROUND
Task.
Note
The
BACKGROUND
task does not automatically loop.
Example
BACKGROUND{
RAMP:
#1.21 = 0
DO WHILE #1.21<1000
#1.21 = #1.21+1
LOOP
GOTO RAMP:
}
Summary of Contents for UD70
Page 6: ......
Page 14: ...UD70 Issue code 70nu2 2 6 Installation...
Page 42: ...UD70 Issue code 70nu2 4 20 DPL programming...
Page 98: ...UD70 Issue code 70nu2 7 22 Reference...