EasyManua.ls Logo

GSE 574 - Page 158

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 - 139
Chapter 16 Macro Programming Operations Technical Reference Manual
Chapter 16 Macro Programming
Operations
16.1 Overview:
The purpose of creating macros is to provide a simple
method of performing complex or repetitive operations.
Each macro consists of a stored sequence of keystrokes
which may be "played back" or "executed" at some
future time. The macros may be created and edited in a
way similar to the Custom Transmit setup mode. Also, a
"LEARN" mode allows a simple method for storing
keystrokes as they are executed.
Determining Macro Needs
Before programming a MACRO, one must first
determine what it is that the instrument is to accomplish.
While this may seem obvious, many times this important
step is bypassed. The procedure can be broken down
into very basic steps such as:
1 Tare scale to zero.
2 Prompt operator to enter a part number and store it
to a register.
3 If the pieceweight exists in the database, place the
scale in the quantity mode, prompt the operator to
add parts to be counted an go to step seven.
4 If the part number does not exist, prompt the
operator through a sampling routine.
5 Establish pieceweight
6 Store pieceweight in database with associated part
number.
7 Place unit in quantity mode and prompt operator to
add parts to be counted.
8 Print ticket with actual weight, part number,
pieceweight and quantity.
The next step is to determine the implementation of these
steps. Determine the condition which will invoke the
macro. This could be a setpoint (which could be based
on the actuation of the tare key or the occurrence of
some weight condition), an alarm (for periodically
occurring events), etc.
Once the setup has been broken down into what the
macros, setpoints, and alarms each will do, specific
setpoints, macros, variables, and alarms should be
allocated to each operation. Pay careful attention as to
the fact that if the alarms are used, each alarm is tied to a
specific macro. Then break down each macro into the
actual commands which will need to be executed.
For the example described above the following steps
could be implemented:
1. Operator presses <TARE> key. This auto-
tares the scale.
2. Macro Prompts operator “ENTER PART#”.
3. Operator enters part number.
4. Macro searches the database for the
pieceweight associated with the entered part
number.
5. If the part number exists in the database, the
macro places the scale in the quantity mode.
Go to step 10.
6. If the pieceweight does not exist associated
with the entered part number, the macro runs
the operator through a sampling routine . The
macro will prompt the operator “ADD
SMPLE”.
7. The operator adds the sample and presses
<ENTER>.
8. The macro establishes the pieceweight and
adds it to the database.
9. The macro places the unit in the quantity mode
prompting the operator to “ADD PARTS”.
10. The operator adds the parts to be counted and
presses <ENTER>. The system prints a ticket.
Macro Setup Modes:
The MACRO setup modes begin at P800 (for MACRO
0) through P816 (for MACRO 16).
Each character entered into a macro's setup is indexed by
the two digits following the decimal point on the large
numeric display. The first character entered into macro
0 is stored at location P800.00, the second at P800.01,
etc... These two digits will be referred to as the macro's
entry number. The number applies specifically to the
entry displayed in the last position on the display.
To access MACRO 0's setup, press <800> <SELECT>.
The display will then show the last programmed entries
in MACRO 0's setup. Thus the two digits after the
decimal point indicate the number of entries currently
SECTION - 16.1

Table of Contents