GSE 60 SERIES Technical Reference Manual page 332

Programmable process controllers
Table of Contents

Advertisement

9-84 Chapter 9
GSE Scale Systems
Calling a macro can be used to invoke a common subroutine as shown in
the example – Using a Macro as a Subroutine. This reduces memory
consumption and helps streamline you macros.
110C%^
Suspends execution of the current macro, executes macro
110, then returns to the next command of the calling macro.
i
If the execution of a called macro is terminated by a %B Break
command, all calling macros are cleared from the macro stack and
will not be resumed.
I
D
%_
F
ATABASE
Syntax
If Database Error
[ error# ] %_
Arguments
error#
Database error that occurred as a result of the last
database macro command. Select one of the following
database errors:
0
If no error occurred
1
If bad entry (invalid entry type)
2
If invalid database specified (database not defined)
3
If invalid column specified (column not defined)
4
If record not found
5
If not enough memory
6
If checksum error (row contains corrupt data)
7
If list corrupt (bad link - list of stored rows not intact)
8
If operation aborted (i.e. search, print, sort, upload)
9
If ID too long (entry exceeds maximum string length)
10 If data type mismatch
11 If greater than maximum number of row allowed
12 If invalid data type (string stored in numeric
parameter; results in '0' stored for numeric parameter)
13 If extra characters found (string characters found
when numeric-only data was expected)
14 If not enough columns / row received during database
upload
15 If too many columns / row received during database
upload
16 If greater than maximum number of columns found
(likely due to missing <CR> at end of each data row)
E
RROR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents