0 appendix, 1 event handlers, Appendix – Rice Lake iRite IDE User Manual

Page 89: Section 6.0

Advertising
background image

920i

Programming Reference - Appendix

85

6.0

Appendix

6.1

Event Handlers

Handler

Description

AlertHandler

Runs when an error is generated from an attached

iQUBE

. Use the EventString function to

retrieve the error message displayed by the

920i

.

BusCommandHandler

Runs when data is received on the fieldbus.

ClearKeyPressed

Runs when the CLR key on the numeric keypad is pressed

ClearKeyReleased

Runs when the CLR key on the numeric keypad is released

CmdxHandler

Runs when an F#x serial command is received on a serial port, where x is the F# command
number, 1–32. The communications port number receiving the command and the text
associated with the F#x command can be returned from the CmdxHandler using the
EventPort and EventString functions (see page 43).

DiginSxByActivate

Runs when the digital input assigned to slot x, bit y is activated. Valid bit assignments for slot 0
are 1–4; valid bit assignments for slots 1 through 14 are 1–24.

DiginSxByDeactivate

Runs when the digital input assigned to slot x, bit y is deactivated. Valid bit assignments for
slot 0 are 1–4; valid bit assignments for slots 1 through 14 are 1–24.

DotKeyPressed

Runs when the decimal point key on the numeric keypad is pressed

DotKeyReleased

Runs when the decimal point key on the numeric keypad is released

EnterKeyPressed

Runs when the ENTER key on the front panel is pressed

EnterKeyReleased

Runs when the ENTER key on the front panel is released

GrossNetKeyPressed

Runs when the GROSS/NET key is pressed

GrossNetKeyReleased

Runs when the GROSS/NET key is released

KeyPressed

Runs when any front panel key is pressed. Use the EventKey function within this handler to
determine which key caused the event.

KeyReleased

Runs when any front panel key is released. Use the EventKey function within this handler to
determine which key caused the event.

MajorKeyPressed

Runs when any of the five preceding major keys is pressed. Use the EventKey function within
this handler to determine which key caused the event.

MajorKeyReleased

Runs when any of the five preceding major keys is released. Use the EventKey function within
this handler to determine which key caused the event.

NavDownKeyPressed

Runs when the DOWN navigation key is pressed

NavDownKeyReleased

Runs when the DOWN navigation key is released

NavKeyPressed

Runs when any of the navigation cluster keys (including ENTER) is pressed. Use the EventKey
function within this handler to determine which key caused the event.

NavKeyReleased

Runs when any of the navigation cluster keys (including ENTER) is released. Use the EventKey
function within this handler to determine which key caused the event.

NavLeftKeyPressed

Runs when the LEFT navigation key is pressed

NavLeftKeyReleased

Runs when the LEFT navigation key is released

NavRightKeyPressed

Runs when the RIGHT navigation key is pressed

NavRightKeyReleased

Runs when the RIGHT navigation key is released

NavUpKeyPressed

Runs when the UP navigation key is pressed

NavUpKeyReleased

Runs when the UP navigation key is released

NumericKeyPressed

Runs when any key on the numeric keypad (including CLR or decimal point) is pressed. Use
the EventKey function within this handler to determine which key caused the event.

Table 6-1.

920i Event Handlers

Advertising
This manual is related to the following products: