AML M3000 Guía de usuario Pagina 106

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 156
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 105
8-1
8Advanced Operations
Creating and Using a Lookup Table
A lookup table allows the programmer of an M3000 program to define lookup data within the
structure of the program. Lookup table data serves to restrict the contents of the input during data
entry. Unless allowed by a lookup option, only data listed in the lookup table will be accepted by the
program during input.
To illustrate the operation of a lookup table let's modify built-in program P4 so that the UOM (Unit of
Measure) input will accept only specific types of measurements.
For example:
1. Copy built-in program P4 into memory. For additional information on using the
Programming mode, refer to the M3000 User's Guide, Chapter 5 Programming.
2. Press FUNC + Right Arrow three times to advance to input record #3.
3. Use the Down Arrow to scroll down the program options list until the display shows:
Lookup Tbl/File
4. Enter the following:
TA,EA,DOZ,CTN,LBS,OZ
In this example the lookup table settings do the following:
T - Instructs the M3000 that the type of lookup is a "table" as opposed to a "file".
A - Is an option that allows mismatches, and will cause the M3000 to ask the user if
the data is acceptable anyway.
Abbreviations EA,DOZ,CTN,LBS,OZ are the only data inputs accepted by the program
without displaying an error message. In this case, since mismatches are allowed, the
M3000 displays the following message when a user enters anything other than the
allowable inputs:
Input Not Found
Accept Anyway?
Press the ENTER key.
Vista de pagina 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 155 156

Comentarios a estos manuales

Sin comentarios