UD70
Issue code: 70nu2
Diagnostics
9-5
9.4 Advanced
error-handling
Errors that occur when the program is running are usually due to
programming errors, but can sometimes occur due to external influences.
For example, an error signifying a serial communications loss could occur if
incoming data from an I/O Box is lost due to the cable being broken.
Normally, the
UD70
halts all Tasks, and optionally trips the Drive.
If this is undesirable, the
ERROR
Task can be used. The sequence of events is
as follows:
1
All Tasks are stopped.
2
The Drive is tripped (if the trip is enabled). See the Trip enable
parameters in UD70 setup parameters in Chapter 10 Parameters.
3
The number of the error is placed in parameter #88.01 of the
UD70
4
The
ERROR
task is executed. The instructions in the
ERROR
Task can
determine the cause of the run-time error and take necessary action,
such as stopping the Drive system in a controlled manner.
All standard DPL instructions can be used in the
ERROR
Task.
The cause of the error can be determined by reading the virtual parameter
#88.01. This gives the appropriate error code defined in Run-time Trip
Codes earlier in this chapter.
When the Global run-time trip enable
Global run-time trip enable parameter (#17.14) is not set at 1, the
Drive is not automatically tripped. If the Drive is required to be tripped,
write the error code to the appropriate trip code parameter (shown in Trip
codes earlier in this chapter).
To reset the
UD70
and restart the DPL program, set parameter #88.01 at
1070.
Remember that no other DPL tasks will be running after a run-time error has
occurred.
See the on-line help for an example of the
ERROR
task.
Содержание UD70
Страница 6: ......
Страница 14: ...UD70 Issue code 70nu2 2 6 Installation...
Страница 42: ...UD70 Issue code 70nu2 4 20 DPL programming...
Страница 98: ...UD70 Issue code 70nu2 7 22 Reference...
Страница 142: ...UD70 Issue code 70nu2 9 6 Diagnostics...