DMC-40x0 Command Reference
UI • 245
UI
FUNCTION:
User UDP “Interrupt”
DESCRIPTION:
UI pushes a user-defined status byte into the EI queue. UI can generate 16 different status bytes,
$F0 to $FF (240-255), corresponding to UI0 to UI15. When the UI command (e.g. UI5) is
executed, the status byte value (e.g. $F5 or 245) is queued up for transmission to the host,
along with any other interrupts.
The UDP interrupt packet dispatch may be delayed. If immediate packet dispatch is required, use
the message command (MG) to send a unique message to the host software.
EI,,h must be set to a valid UDP port (set by the host, not the DMC code, is recommended) before
any interrupt packet will be dispatched.
ARGUMENTS:
UI n where
n is an integer between 0 and 15 corresponding to status bytes $F0 to $FF (240-255).
status byte
Condition
$F0 (240)
UI or UI0 was executed
$F1 (241)
UI1 was executed
$F2 (242)
UI2 was executed
$F3 (243)
UI3 was executed
$F4 (244)
UI4 was executed
$F5 (245)
UI5 was executed
$F6 (246)
UI6 was executed
$F7 (247)
UI7 was executed
$F8 (248)
UI8 was executed
$F9 (249)
UI9 was executed
$FA (250)
UI10 was executed
$FB(251)
UI11 was executed
$FC (252)
UI12 was executed
$FD (253)
UI13 was executed
$FE (254)
UI14 was executed
$FF (255)
UI15 was executed
USAGE:
DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
3.0
Command Line
Yes
Controller Usage
DMC-4000
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...