beautypg.com

Sentry Industries CA756 User Manual

Page 66

background image

98

99

Arg ERROR

Check whether values specified by

(Sci) or

(Fix) are within the range of 0~9. Also check whether

values specified by Goto, Lbl, or Prog commands are

within 0-9.Also ensure that memory expansion using

(Defm) is performed within the remaining number of

steps and that the value used for expansion is not
negative.

The program capacity of this unit consists of a total of 400
steps.
The number of steps indicates the amount of storage
space available for programs, and it will decrease as
programs are input. The number of remaining steps will
also be decreased when steps are converted to memories.
There are two methods to determine the current number of
remaining steps:

When

are pressed in the RUN mode, the

number of remaining steps will be displayed together with
the number of memories.

Specify the WRT mode (

), and the number of

remaining steps will appear. At this time the status of the
program areas can also be determined.

Basically, one function requires a single step, but there are
some commands where one function requires two steps.
• One function/one step: sin, cos, tan, log,(,). :, A, B, 1, 2, 3, etc.
• One function/two steps: Lbl 1, Goto 2, Prog 8, etc.
Each step can be verified by the movement of the cursor:

Mem ERROR (memory error)

Indicates the attempt to use a memory name such as Z
[5] without having expanded memories.

Arg ERROR ( Argument error)

Indicates the argument of a command or specification in

a program exceeds the input range (e.g. Sci 10, Goto 11)
Further operation will become impossible when an error
message is displayed.

Press

,

or

to cancel the error.

Pressing

cancels the error and new key input becomes

possible.
With this operation, the RUN mode is maintained.

Pressing

or

cancels the error and changes the

system mode to the WRT mode. The cursor is positioned at
the location where the error was generated to allow
modification of the program to eliminate the error.

Checkpoints for each type of error

The following are checkpoints for each type of error:

Syn ERROR

Verify again that there are no errors in the program.

Ma ERROR

For calculations that require use of the memories, check
to see that the numeric values in the memories do not
exceed the range of the arguments. This type of error
often occurs with division by 0 or the calculation of
negative square roots.

Go ERROR

Check to see that there is a corresponding Lbl

n

when

Goto n is used. Also check to see that the program in P

n

has been correctly input when Prog

n

is used.

Ne ERROR

Check to ensure that the Prog command is not used in
the branched program area to return execution to the
original program area.

Stk ERROR

Check to see that the formula is not too long thus causing
a stack overflow. If this is the case ,the formula should be
divided into two or more parts.

Mem ERROR

Check to see that memories were properly expanded

using "

n

(Defm). When using array-type

memories , check to see that the subscripts are correct.