Specifications

Table Of Contents
APPENDIX C: EVENT PROGRAMMING
Page 189 MRC-565 Packet Data Radio Operations & Maintenance
MRC-565 reset, the event scanner is started again if the SAVE command was not issued while in
the EVENT,STOP state.
EVENT, action
A direct command for immediate action can be issued. This event command will not be added to
the event table, but will cause the action to occur when the command is entered. This can be
used to take action using remote commands, and also can be placed in the MRC-565 schedule
list for periodic event application.
EVENT, STATUS, {bit-name, or chan-name}
This form of the command lets the operator display an immediate value for any discrete input bit
or any ADC channel. For example: to display the status on the DTR input line,
EVENT,STATUS,DTR<cr>. To display forward power, enter EVENT,STATUS,FPWR<cr>.
EVENT, RESET, action
Define an action to be taken at power-up/reset. This is useful for setting control outputs at a
known state or sending a message to a host system that the MRC-565 has been reset. These
RESET actions will also occur if the event monitor is stopped, then restarted. This allows
entering new RESET events into an existing table.
EVENT, DIOHI, bit-name, settle, holdoff, action
Define an event that looks for a discrete input line to go to a high level.
Parameter
Description
DIOHI
Scan discrete input signal for high condition.
bit-name
Name of discrete input signal to be scanned for high level. (single or multiple
inputs)
settle
Number of clock ticks for the input signal to settle at the high level before
declaring an event
holdoff
Number of clock ticks for the analog input signal to settle at the low level to be armed
for detecting the next event.
action
MRC-565 action to be taken when event is declared. See actions below.
Logical combining of multiple discrete inputs is allowed. This is done by expanding the bit-
name parameter of the command into a list on inputs separated by logic operator characters. For
example, to test both the RTS and DTR inputs in one event, use the string ",DTR & RTS," in the
bit-name parameter. Up to 5 inputs can be used in a single event line. Any of the inputs can be
"inverted" before the combination. For example, if the DTR input must be high and the RTS
input low to trigger an event, use the string ",DTR & !RTS," in the bit-name parameter.
The inputs can be combined in any order. The evaluation is done from left to right. There is no
use of "(" and ")" to form more complex ordering. The "0" and "1" values are used for "low" and