Debugging; Displaying And Clearing Error Messages; Section 7 - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Debugging

7-1

Debugging

7-1-1

Displaying and Clearing Error Messages

Key Sequence
244
After inputting a program and correcting it for syntax errors, it must be exe-
cuted and all execution errors must be eliminated. Execution errors include
an excessively long cycle, errors in settings for various Units in the PC, and
inappropriate control actions, i.e., the program not doing what it is designed
to do.
If desired, the program can first be executed isolated from the actual control
system and wired to dummy inputs and outputs to check for certain types of
errors before actual trial operation with the controlled system.
The procedures in this section are designed to aid in debugging the program
and quickly achieving an operative Control System.These procedures can be
used in combination with the monitoring and data modification procedures
provided in the next section.
All but the first of these procedures can be performed only after entering the
Debug operation from PROGRAM mode.
When an error occurs during program execution, it can be displayed for iden-
tification by pressing CLR, FUN, and then MONTR. If an error message is
displayed, MONTR can be pressed to access any other error messages that
are stored by the system in memory. If MONTR is pressed in PROGRAM
mode, the error message will be cleared from memory; be sure to write down
the error message when required before pressing MONTR. OK will be dis-
played when the last message has been cleared. This procedure can also be
used to clear messages produced by the program through MSG(46).
If a beeper sounds and the error cannot be cleared by pressing MONTR, the
cause of the error still exists and must be eliminated before the error mes-
sage can be cleared. If this happens, take the appropriate corrective action to
eliminate the error. Refer to Section 8 Troubleshooting for all details on all
error messages. The sequence in which error messages are displayed de-
pends on the priority levels of the errors. The messages for fatal errors (i.e.,
those that stop PC operation) are displayed before non-fatal ones.
Although error messages can be displayed in any mode, they can be cleared
only in PROGRAM mode. There is no way to restart the PC following a fatal
error without first clearing the error message in PROGRAM mode.

Section 7-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents