FAQ: An SMC program does not execute or abnormally terminates and there are no messages displayed on YTerm's terminal window. What can be done to troubleshoot this condition?
Breadcrumb
Contact Us
contactUsAction
First, make sure that the program was not designed to terminate after a preset number of loops.
Monitoring some key system variables should help uncover the problem. For example, if the abort input goes low, the program will terminate. The abort input can be monitored by typing MG_AB in the terminal window of YTerm. A response value of "0" means that the abort input is active.
Another reason that the program will terminate is if it executes an EN statement, and the stack (ZS) is zero.
The application program will have no choice but to terminate in the event of a command error, and no #CMDERR special label routine exists in the program. System variables to monitor include:
TC1 - Tell Error Code - This clears after each interrogation
MG _XQn - The line number currently executing, where n is the thread number.
MG_SCx - Stop Code, where x is the axis in question
MG_TB - Tell Status Byte
MG_ED - Returns the last line that had an error.
If accessible, YTerm provides a screen that encompasses all of the above mentioned troubleshooting tools. From the terminal window, right click on the mouse, and select "Program Status" from the pop up menu.
SAFETY PRECAUTIONS AND INSTRUCTIONS FOR USE OF FAQ INFORMATION!
Please read and understand the product instruction manual before installing, servicing or operating Yaskawa products. FAQ content and illustrations are provided as technical advice to augment the information in manual, not supersede it. It is not possible to give detailed instructions for all types of installation or support activities. The information described in the FAQs are subject to change without notice to improve the product or FAQ. Yaskawa assumes no responsibility for errors or omissions or damages resulting from the use of the information contained in any FAQ. All warnings, cautions and product instruction for product use must be followed. Installation, operation and maintenance should be carried out by qualified personnel. Failure to observe these and other precautions highlighted in the product manuals will expose the user to high voltages resulting in, serious injury or death. Qualified personnel are defined as individuals who are familiar with the installation, starting, operation and maintenance of Yaskawa products of the type described and have proper qualifications to perform the work.
Phone
If you have an urgent request, please call: 1-800-YASKAWA (927-5292) or 1-847-887-7000.Electronically
To contact us electronically, please select your type of request and complete the form.Yaskawa America, Inc. - Drives & Motion Division
2121 Norman Drive South
Waukegan, IL 60085