Debugging - Omron SYSMAC C20P Operation Manual

Sysmac programmable controllers
Hide thumbs Also See for SYSMAC C20P:
Table of Contents

Advertisement

Debugging

7–7

Debugging

Displaying and Clearing
Error Messages
Key Sequence
Example
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 scan time, errors in settings for various Units in the PC,
and inappropriate control actions, i.e., the program not doing what it is de-
signed to do.
When necessary, the program can first be executed isolated from the actual
control system and wired to artificial inputs and outputs to check for certain
types of errors before actual trial operation with the controlled system.
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, the MONTR key can be press 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.
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.
The following displays show some of the messages that may appear. Refer
to Section 8 Troubleshooting for an inclusive list of error messages, mean-
ings, and appropriate responses.
Section 7–6
143

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents