Instruction Manual

<Appendix G User Program>
App.G-10
IM 11B08A01-01E
REM Statement
Function Adds remarks in the program.
Format (1) REM character string
(2) ! character string
Explanation Adds remarks in the program. They are ignored at time of execution.
Only ASCII characters can be used for the REM statement character strings.
RESTORE Statement
Function Speci es the DATA statement read by the READ statement.
Format RESTORE [label]
Explanation Speci es the pointer (read-out location) of the DATA statement used by the next
READ statement.
Sets the pointer to the rst DATA statement in the program block when labels are
omitted.
Sets the pointer to the rst DATA statement following the speci ed label in the
program block when labels are speci ed.
WHILE/END WHILE Statement
Function Repeats while conditions are met.
Format WHILE equation
Statement
END WHILE
Explanation While equation conditions are TRUE (0), the statement between WHILE and
END WHILE statements are repeatedly executed.
While equation conditions are FALSE (0), it moves to the statement in the line
following the END WHILE statement.
When conditions for the relational expression or logical expression speci ed in the
rst WHILE statement are not met, the statement between the WHILE and END
WHILE statements will not be executed even once.
Relational expression such as (A>0) is often used for the equation. Other
equations can be used but the results must be expressed in numerical values.
The processes from the WHILE to END WHILE can be multiplexed in the same
way as the FOR to NEXT processes. When multiplexing, change to the nested
structure (see FOR to NEXT statements).
In the WHILE to END WHILE loop, it is possible to exit the loop by a divergence
created by the GOTO statement, but it is not possible to enter the loop.
2.3 Commands
The three categories of commands are described below.
Script commands for peak detection stop time
Command used only for script for peak detection stop time
Script command for xed period
Command used only for xed period script
• Common commands
Commands that can be used by both xed period and peak detection stop time scripts
Commands used by GC8000 user script are shown in Table 5.
Table 5 List of commands
No. Command Format Category
1 DO_OFF Common
2 DO_ON
3 GET_ALARM_1
4 GET_ALARM_2
5 GET_ALARM_A
6 GET_ALARM_C
7 GET_ALARM_STS
8 GET_DHM
2nd Edition : May 11, 2012-00