7
Reference
7.1
Tasks
Refer also to Tasks and real-time programming in Chapter 4
DPL Programming.
INITIAL task
The
INITIAL
parameters.
The
INITIAL
reset or at the moment
The
INITIAL
running when it is being run. This is significant when other real-time Tasks
are to manipulate data which have initial values.
BACKGROUND task
The
BACKGROUND
require time-related or encoder-related monitoring. It would be used for
the following:
• Data logging
• Checking digital inputs
• Setting output status
The
BACKGROUND
recommended that the majority of the program is run in the
Task.
Note
The
Example
BACKGROUND{
RAMP:
#1.21 = 0
DO WHILE #1.21 < 1000
#1.21 = #1.21+1
LOOP
GOTO RAMP:
}
UD70
Issue code: 70nu2
task is used typically to initialize program variables and Drive
task boots-up the DPL program and runs only when the
power is applied to the Drive.
AC
task is special in that all other tasks are guaranteed not to be
task is used for functions and commands that do not
task runs after the
task does not automatically loop.
BACKGROUND
task is completed. It is
INITIAL
BACKGROUND
Reference
is
UD70
7-1
Need help?
Do you have a question about the UD70 and is the answer not in the manual?
Questions and answers