App-1
IM 765501-01E
Appendix
3
2
1
6
5
4
9
8
7
12
11
10
15
14
13
18
17
16
Index
App
App
Appendix 1 Computation Definition Specifications
Computation (MATH) can be performed by creating a text file (equation definition file)
containing equations and statements similar to BASIC on a PC, (2) placing the file in the
MATH directory on the GS610ROM disk, and (3) selecting the file on the GS610.
File Format
The file is a text file consisting of statements. To write multiple lines of statements, use a
line feed code (CR, LF, or CR+LF) for the delimiter. However, in the case of a
compound statement described later, the line feed code is parsed as a delimiter of the
statement composing the compound statement.
Variables, constants, and functions are not case-sensitive. You can arbitrarily insert
blank lines between statements for better readability. You can enter arbitrary blank
characters (spaces or tabs) between variables, constants, literals, operators, and
functions.
If multiple statements are written, the statements are basically executed in ascending
order of line numbers. Statements for substituting initial values into internal variables are
executed only in the following cases.
• First computation after the output is turned ON.
• First computation after the sweep operation is started.
• First computation after the computation is turned ON.
• First computation after the equation definition file is reselected.
If the total number of variables, constants, literals, operators, functions, and branches in
a statement exceeds 256 or the total number of variables, constants, literals, operators,
functions, and branches in the definition file exceeds 1024, the GS610 generates the
following error indicating that the definition is too complex to be handled.
“101: Too complex expression”
If a syntax error exists in the definition, the GS610 generates the following error, and the
definition is not selected.
“100: Expression syntax error”
Appendix