Sentry Industries CA756 User Manual

Page 65

Advertising
background image

96

97

After a program has been created and input,it will
sometimes generate error messages when it is executed,or
it will produce unexpected results.This indicates that there
is an error somewhere within the program that needs to be
corrected. Such programming errors are referred to as
"bugs", while correcting them is called "debugging".

Debugging when an error message is generated

An error message is displayed as follows:

The error message informs the operator of the program
area (P0 to P9) in which the error was generated. It also
states the type of error,which gives an idea of the proper
countermeasure to be taken.

Error messages

There are a total of seven error messages.

Syn ERROR (Syntax error)

Indicates a mistake in the formula or a misuse of program
commands.

Ma ERROR (Mathematical error)

Indicates the calculation result of a numeric expression
exceeds 10

100

, an illogical operation (e.g. division by

zero), or the input of an argument that exceeds the input
range of the function.

Go ERROR (Jump error)

Indicates a missing Lbl for the Goto command , or that
the program area for the Prog command does not contain
a program.

Ne ERROR (Nesting error)

Indicates a subroutine nesting overflow by the Prog
command .

Stk ERROR (Stack error)

Indicates the calculation performed exceeds the capacity
of the stack for numeric values or for commands

< Summary >

Advertising