7526 DCT Reference


Transaction Program Command Descriptions

The following transaction program commands are arranged by function and include command format and description.

Clock Control Key Command

(Ref #5.)

:5&mdash.Set Time-of-Day Clock

Command Format

Parameter Description

Custom Function Routine Key Command

;M&mdash.Call CFR 0-9

Command Format

Parameter Description

Data Control Key Commands

:A&mdash.Automatic Transaction Build

(Ref #6.)

Command Format

Parameter Description

:W&mdash Write Data from Source to Target

Command Format

Parameter Description

Note:

Special characters can be embedded in strings to be printed by using a format of \x?? where ?? is the hexadecimal code of the character to be sent to the printer port. For example, to send a form feed to the printer, put the code \x0C in the string, at the point you want to go to the next page.

.

;7&mdash.Append Data to User Variable Data Strings

Command Format

Parameter Description

Bar Code/Magnetic Data Input Key Commands

:1&mdash.Fixed Length Badge Read with Validation

Command Format

Parameter Description
(Ref #7.)

:4&mdash.Alphanumeric Keys or Badge Input Expected with Validation

Command Format

Parameter Description

:R&mdash.Read Data with Validation

Command Format

Parameter Description

;1&mdash.Read Variable Length Badge.

Command Format

Note:

Variable length reads for I 2 of 5 and UPC barcodes are only supported if an optional bar code coprocessor is installed. However, reading variable length Interleaved 2 of 5 (I 2 of 5) bar codes is not advised due to the nature of the bar code symbology. Valid I 2 of 5 bar codes of shorter length are often found embedded in longer bar codes.
.

Parameter Description

DI/DO Key Commands

:7&mdash.Toggle DO Point 0

Command Format

Parameter Description

:M&mdash.Read Value of DI/DO Point

Command Format

Parameter Description

:N&mdash.Wait DI Point

Command Format

Parameter Description

Suspends execution of the currently defined transaction program in File 0 until value of DI point pp equals v. If the DI reading is not satisfied before the timeout expires, then the transaction program is cancelled.

If the point is already in the correct state, no wait occurs.

:P&mdash.Write DO Point

Command Format

Parameter Description

Display Key Commands

:0&mdash.Display Message from Message File

This key command displays a message, left justified, on line 1 and column 1.

Command Format

Parameter Description

:6&mdash.Display Message

Command Format

Parameter Description

:E&mdash.Show Message

Command Format

Parameter Description

If row and/or column are out of range for this DCT display, the transaction is aborted.

:T&mdash.Clear Display

Command Format

Parameter Description

:U&mdash.Set Cursor Position

Command Format

Parameter Description

;5&mdash. Read Display Buffer

Command Format

Parameter Description

Keypad Input Key Commands

:2&mdash.Numeric Keypad Input (Models 150, 155, and 200 only)

Command Format

Parameter Description

Note:

If the display buffer is used to display the data, it will hold the data and continue to display it until power is cycled, or the Clear key is pressed.
.

:3&mdash.Alphanumeric Keypad Input.

Command Format

Parameter Description

Note:

If the display buffer is used to display the data, it will hold the data and continue to display it until power is cycled, or the Clear key is pressed.
.

:R&mdash.Read Data With Verification

Refer to ":R&mdash.Read Data with Validation".

Operator Indicator Key Command

;C&mdash.Activate Selected Operator Indicator

Command Format

Parameter Description

Transaction Control Key Commands

transaction control key commands

:8&mdash.Link Function

Command Format

Parameter Description

:9&mdash.NO-OP

Command Format

Parameter Description

:D&mdash.Delay 1-99 Seconds

Command Format

Parameter Description

:G&mdash.Goto

Command Format

Parameter Description

:GS&mdash.Gosub

Command Format

Parameter Description

:L&mdash.Program Label

Command Format

Parameter Description

Note:

Microcode version 2.00 or later is required to use this function.
.

:Z&mdash.Onkey&mdash.Goto

Command Format

Parameter Description

Note:

Microcode version 2.00 or later is required to use this function.
.

:ZS&mdash.Onkey&mdash.Gosub

Command Format

Parameter Description

Note:

Microcode version 2.00 or later is required to use this function.
.

;0&mdash.Hot Key

Command Format

Parameter Description

;2&mdash.Latching Function

Command Format

Parameter Description

Notes:

  1. The latching function can be aborted by pressing the Clear key during data entry.

  2. If the timer for operator input expires, the transaction is aborted. l.

    ;6&mdash.Do Not Transmit

    Command Format

    Parameter Description

    Note:

    This is a 7525 function included for compatibility; using the Automatic Transaction Command is preferred.
    .

    ;A&mdash.Alias Transaction ID

    This command may be used to assign an alias identification to the transaction in progress. If the host system processes transactions differently according to the key or other event which started the transaction, the alias command can be used to allow the host to accept a transaction initiated by another event.

    For example, a host program may expect the F28 key to identify all time and attendance transactions. The alias command allows a 7526 DCT, Model 100 (which has no F28 key), to start this transaction from F1 and alias it to F28.

    Note:

    If the 7526 is running in 7525 Compatibility mode, the highest value that can be used for the alias is 63 hex (99 decimal) for buffered mode, and 27 hex (39 decimal) for interactive mode. Any values higher than these will be rejected, and an E03 error displayed.
    .

    Command Format

    Parameter Description

    ;N&mdash.Conditional Test

    Command Format

    Parameter Description

    Note:

    Microcode version 2.00 or later is required to use this function.
    .

    ;R&mdash.Return

    Command Format

    Parameter Description

    Notes:

    1. An E08 will be returned if there are no Gosub (:GS) or Onkey-Gosub (:ZS) commands pending. This is known as a Return without a Gosub.

    2. Microcode version 2.00 or later is required to use this function. l.

      User Variable Key Commands

      :F&mdash.Append Data

      • This command appends data to a user variable or transaction record from selected source.

      Command Format
        :F nnnsrrrrr.

      Parameter Description
      • nnn = Variable to which the data will be appended
        • 001-998 = Append to selected user variable number
        • 100 = Append to transaction record
      • s = Source of string to be appended
        • 0 = From message File 8
        • 1 = From user variable, number follows
        • 2 = Transaction record
      • rrrrr = Record number or user variable number
        • rrrrr = Record number in File 8 if s = 0
        • rrrrr = 00001-00998 if s = 1
        • rrrrr = 00100 transaction record, if s = 2

      :H&mdash.Clear Selected User Variable or Transaction Record

      This command erases the contents of the specified user variable or the transaction record.

      Command Format
        :H nnn

      Parameter Description
      • nnn = Variable to clear
        • 001-998 = User variable number
        • 100 = Transaction record

      :J&mdash.Format User Variable

      • This command formats the selected user variable into a field of a specified length, strips indicated leading and trailing characters, and truncates the field to the length specified, or fills out the remainder of the field with the indicated character.

      Command Format
        :J nnnlllrccclcccfccc

      Parameter Description

        nnn = User variable number

        • 001&mdash.998 = User variable number (cannot format user variable 0)

        lll = Length of the resulting variable

        • 001&mdash.999 = Exact length of resulting variable

        • If lll = 000, then only the stripping is done.

        r = Strip characters on the right

        • 0 = Do not strip characters on right

        • 1 = Strip characters on right

        ccc = Number in ASCII of the character to strip from the right of the string (000&mdash.255; usually an ASCII space or zero&mdash.032 or 048)

        l = Strip characters on the left

        • 0 = Do not strip characters on left

        • 1 = Strip characters on left

        ccc = Number in ASCII of the character to strip from the left of the string (000&mdash.255; usually an ASCII space or zero&mdash.032 or 048)

        f = Truncation/fill direction

        • 0 = Truncate/fill on left

        • 1 = Truncate/fill on right

        ccc = Number in ASCII of the character used to fill the string (000&mdash.255; usually an ASCII space or zero&mdash.032 or 048)

      Note:

      Microcode version 2.00 or later is required to use this function.
      .

      :K&mdash.Verify Selected User Variable

      This command verifies the contents of variable nnn against the validation specification. It continues with the transaction if validation succeeds; otherwise, the transaction is cancelled.

      Command Format
        :K nnnft

      Parameter Description
      • nnn = Variable to verify
        • 000-998 = User variable number (can verify user variable 0)
      • f = File ID of validation file 2-7, A-Z, a-z
      • t = Positive/negative validation type
        • 0 = Abort if data is found in the file
        • 1 = Abort if data is not found in the file
        • 2 = Skip if data is found in the file
        • 3 = Skip if data is not found in the file

      Note:

      The maximum size of user variable data for the :K verify process is 40 bytes.
      .