EasyManua.ls Logo

GSE 574 - Page 178

Default Icon
339 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GSE Scale Systems - 159
Chapter 16 Macro Programming Operations Technical Reference Manual
%T Tag (#0)
command
command
command
1%T Tag (#1)
command
command
4%_ IF row not found...
1;91%- Decrement counter (parameter 91).
1%R IF counter (parameter 91) is not 0...
%J Jump to Tag (#0)
%E END IF
4%_ IF row not found...
1%J Jump to Tag (#1)
%E END IF
PrintDONE%P prompt
%k Put filter selection into entry buffer.
This command puts the currently selected filter selection
to be placed into the entry buffer. This value can be 0
thru 7 for standard filter and 15 thru 17 for auto-filter.
This command when executed will place the filter
selection number into the entry buffer. Placing this
number in the entry buffer will allow it to be transfered
to a numeric register. Placed in a numeric register the
macro math capabilities can now perform calculations on
the this value.
n%k Dynamically set the filter value
This command is used to change the filter selection on
the fly. The “n” can be a value from 0 - 7 for standard
filter selections and 15 - 17 for auto-filter selections.
Note that this change in filter selection is temporary. On
power-up the filter selection will always be specified at
parameter P116.
Example:
Changing from a fast filter to a slower filter between
ingredients of a batch can help create more accurate
mixes. The fast filter allows for quick averaging during
the dispensing of an ingredient. The slower filter at the
end of the ingredient fill will calculate a more averaged
value. This value might determine the target value of the
next ingredient to fill. In some cases it is very critical
that the next ingredient to fill is changed proportional to
the variation of the previously filled ingredient.
*%k Reset to default filter selection
Executing this command will default the filter selection
to to the value entered in parameter P116.
n%K Timed interval of n seconds, then call macro
15
This command is a form of an alarm which is set by a
macro. This should be used when a macro needs to
cause another macro to be executed at some time in the
future. The time delayed macro will always be macro
15!
For example, if a macro executes the command "60%K"
then 60 seconds later macro 15 will be invoked. If
another macro is executing when the 60 seconds elapses
then the need to execute macro 15 will be noted (pushed
onto a stack) and when the previously invoked macros
are completed then macro 15 will execute.
Example:
1%A Activate setpoint #1.
90%K After 90 seconds, invoke macro 15.
This is the end of this macro.
Macro 15:
This macro is invoked 90 seconds later...
1%D De-activate setpoint #1.
The preceding macro shows how a macro may be used to
energize a relay for a specific period of time.
%L Display current language selection
This command can be used to determine the language
character set in use. When this command is executed, it
will display the number of the currently selected
language. The number will be 0 - 12.
This can be useful if a verification of what types of
characters were used to print labels. A transaction row
stored to a database can hold this number. This number
must be stored to a VAR or REG.
n%L Change language selection
This command is used to change the character set
selection. Refer to the chart in the OIML section of this
manual for language selections. The “n” can be a value
SECTION - 16.8

Table of Contents