
5Programming
5-25
NOTE: Any ASCII character may be input by a 3 character sequence of "/nn" (/nn is the HEX
value of the character). Since a / is the start of any HEX value, you must type "//" to
output a slash. Refer to Appendix K for Special Character values.
Auto Advance on Default Data
When you want to 'Default Data' in an input, you can force the cursor to automatically advance
past the default data and stop in the next input. To force auto advance on default data: Enter a /0D
(carriage return) after the last character of the default data.
NOTE: For this feature to be effective, the input must be defined as the first input of the display
after a "New Screen" has been created.
Lookup Tbl/File
This input allows the programmer of an M3000 program to define lookup parameters for Lookup
Tables, and Lookup Files. For more information on using this feature, refer to Chapter 8,
Advanced Operations.
Enable Input Transmit
You have the option of controlling which inputs are transmitted with a data file and which inputs
are not transmitted. By default this option is set to 'Yes' and the display shows:
Enable Input
Transmit? Y
When you want the user to collect data on an input field during FUNCTION INPUT, but you do
not want the input transmitted with the data file, change this setting to 'No'. This option can be
useful on 'Description' and 'Comment' fields where the optional information is helpful to the user,
but not needed by the central database. This option is also useful when using embedded header
inputs.
Data Output Parameters
The following five parameters control the formatting of the output data, and specifications for
control characters that are transmitted with the data file. The data output parameters include:
Enable Input Transmit Output Format V, L or R
Prefix Prefix Delay
Suffix Suffix Delay
Output Format V,L or R
The Output Format defines how the data for this input will be formatted during data
transmission. The output formats available are:
V Variable length format will transmit only the data entered by operator.
L Left justified will transmit the data entered by the operator followed by the number of
spaces needed to create a field the size of the maximum input size that is defined for
this input (i.e. left justify, space fill).
R Right justified will transmit the number of zeros needed followed by the data entered
by the operator to create a field the size of the maximum input size that is defined for
this input (i.e. right justify, zero fill).
Field Requirements: V, L or R is required
Prefix
Prefix is a string of characters output before the input field data during transmission. The Prefix is
used to specify delimiters between inputs and also define any special keys or data that must prefix
Komentáře k této Příručce