Error messages, Compile error codes – Kistler-Morse KM Weigh II User Manual
Page 65

Chapter 8. Math Channels
8-5
12.
Press the Menu Key two times to
access the third page of the Math Menu.
The display shows:
13.
Press the F2 Key to select ). The
display shows:
Notice that the display has started to
scroll — the C on the far left is not visible
because of space limitations.
14.
Press the Menu Key three times to
access the second page of the Math
Menu. The display shows:
15.
Press the F2 Key to select ÷. Press
4.0 on the keypad. The display shows:
16.
The entire equation is now input. Use
the Up and Down Arrow Keys to scroll
through the equation to ensure that you
entered it correctly. Use the Key to
back up the cursor to correct any entries.
After you have checked the equation,
press the Enter Key to save the equation
in memory. If the equation does not have
any compile errors, the display flashes a
message acknowledging Script Compile
Successful and returns to:
17.
Press the Esc Key to scroll up the
menu tree or press the Auto/Man Key to
return the display to vessel monitoring.
Channel 5 will now display the average of the
weights in vessel 1 through 4. You can assign
setpoints and current outputs for Channel 5
in the same manner as for a vessel
monitoring channel.
Error Messages
If you make an error inputting an equation in a
math channel, the Weigh II will respond in
one of two ways:
• After you input the equation and press the
Enter Key, the Weigh II will not be able to
compile the equation, and will respond with
a compile error code.
• After you input the equation and press the
Enter Key, the Weigh II will respond with
Script Compile Successful. However, when
you switch to vessel monitoring for the
math channel, the Weigh II will not be able
to perform the calculation and will respond
with a run time error code.
Compile Error Codes
A brief explanation is provided of the possible
cause for each error code. Suggestions for
correcting the error are included where
applicable.
1 — Equal sign not found after math channel
number.
2 — Equation exceeds maximum number of
characters allowed (40).
Solution: Simplify equation or break it up into
multiple equations, using multiple math
channels.
3 — Equation exceeds maximum number of
constants allowed (3) OR a constant includes
more than the maximum number of charac-
ters allowed (11).
Solution: Simplify equation or break it up into
multiple equations, using multiple math
channels.
4 — Incorrect channel ID assigned to this
channel (for example, the equation says C5=,
but you are in channel 6).
5 — Object buffer pointer exceeds maximum
limit.
Solution: Simplify equation or break it up into
multiple equations, using multiple math
channels.
6 — Parenthesis mismatch (i.e., the number
of left and right parentheses are not equal).
C5=(C1+C2+C3+C4
‘(’ ‘)’ CLR
F1 F2 F3
5=(C1+C2+C3+C4)
‘(’ ‘)’ CLR
F1 F2 F3
5=(C1+C2+C3+C4)
‘-’ ‘÷’ ‘=’
F1 F2 F3
1+C2+C3+C4)÷4.0
‘(’ ‘)’ CLR
F1 F2 F3
WII MAIN MENU
Disp I/O Math
F1 F2 F3