
MotionBASIC
TM
Error Handler
Configuring The Module
Chapter 3
Configuring
The Module
3. Configuring The Module
There are three steps to adding the Error Handler Module to your program:
1.
First, you must configure the module using MotionPRO’s off-line editor.
2.
Second, you merge ERRMENU.BAS, and any other MBTools you want
to use, into the controller’s Setup Area.
3.
Third, you modify your program to work with the Error Handler Module.
This chapter describes how to do step one.
3.1 The Configuration Process
There are two things that need to be configured for the Error Handler. You
need to tell the Error Handler which axes must be present and healthy for your
application to run successfully. And second, you need to specify the names
you want the Fault Menu to use when referring to each of the axes.
The configuration is stored in a block of DATA statements identified by the
program label "ERR.DATA". You should edit this part of the ERRMENU.BAS
program before loading it into the controller.
GN3-ERRb
page 5
Содержание MotionBASIC
Страница 3: ...ii...
Страница 5: ...MotionBASICTM Error Handler Table of Contents A3 Complete Program Listings 31 iv...
Страница 6: ...v...
Страница 8: ...vii...
Страница 10: ...MotionBASICTM Error Handler Welcome THIS PAGE INTENTIONALLY LEFT BLANK page 2 GN3 ERRb...
Страница 16: ...MotionBASICTM Error Handler Configuring The Module THIS PAGE INTENTIONALLY LEFT BLANK page 8 GN3 ERRb...
Страница 20: ...MotionBASICTM Error Handler Loading The Module THIS PAGE INTENTIONALLY LEFT BLANK page 12 GN3 ERRb...
Страница 26: ...MotionBASICTM Error Handler Modifying Your Program THIS PAGE INTENTIONALLY LEFT BLANK page 18 GN3 ERRb...
Страница 35: ...MotionBASICTM Error Handler Source Code Overview THIS PAGE INTENTIONALLY LEFT BLANK GN3 ERRb page 27...
Страница 37: ...MotionBASICTM Error Handler Appendix A1 GN3 ERRb page 29...
Страница 38: ...MotionBASICTM Error Handler Appendix A1 THIS PAGE INTENTIONALLY LEFT BLANK page 30 GN3 ERRb...
Страница 40: ...MotionBASICTM Error Handler Appendix A2 THIS PAGE INTENTIONALLY LEFT BLANK page 32 GN3 ERRb...