Specifications

Table Of Contents
APPENDIX C: EVENT PROGRAMMING
Page 195 MRC-565 Packet Data Radio Operations & Maintenance
Action Definitions
The following table shows the possible types of action that can be taken when an event occurs.
Action Value
Action Parameters
Description
TXT, nn
text table item number
Transmit a text message to the default destinations.
NN can range from 1 to 40.
CMD, nn
text table item number
Execute a local command. NN can range from 1 to
40.
CAN, nn
Canned message number
The canned message number is transmitted to 1 to 4
default destination IDs. Valid range: 0 to 255.
POS
A position report with current GPS coordinates is
transmitted to 1 to 4 default destination IDs.
MARK
A marker report with current GPS coordinates is
transmitted to 1 to 4 default destination IDs. The
marker bit is set in one report, but does not remain
set.
COLLISION
A vehicle collision report is transmitted to 1 to 4
default destination IDs. The collision bit is set in one
report, but does not remain set.
SET, ccc, ddd
ccc=Bit, Timer, Counter,
Accumulator Name
ddd=optional decimal value
for Timer, Counter or
Accumulator
If ccc is a named discrete output or status bit, it is
set = 1 and ddd is not used. If ccc is a Timer,
Counter or Accumulator, then ddd is a decimal value
to put into ccc. If ccc is a status bit, a POSS report
will be transmitted with the updated status bits. The
bit remains set.
SET/N, ccc
ccc = status bit name
Sets the status bit and does NOT transmit POSS
SET/T, ccc
ccc = status bit name
"Trigger" a POSS report after setting the status bit,
but clear the bit after the transmission so it is a one-
time event and does not persist.
CLR, ccc
ccc=Bit, Timer, Counter,
Accumulator Name
The named discrete output, status bit, Timer,
Counter or Accumulator is cleared to 0. If ccc is a
status bit, a POSS report will be transmitted with the
updated status bits. The bit remains cleared.
CLR/N,ccc
ccc = status bit name
Clears the status bit and does NOT transmit POSS
PULSE,bit-
name, ddd,
iii, nnn
bit-name is any discrete
output signal
Produce a pulse or series of pulses on the output line
where: ddd is the pulse duration in clock ticks, iii is
the interval between pulses in clock ticks and nnn is
the number of pulses to output.
ADCIN, ccc,
aaa, mult
ccc=any ADC channel name
aaa=accumulator name A1
A24
mult=decimal scaling
multiplier
Read the ADC channel value and store in it the given
accumulator. The value is scaled, multiplied by the
optional multiplier, then converted from floating
point to a long 32-bit integer. The value of 10.123
with a multiplier of 10 will be stored as 103.
UPDT, group-
number
SDATA report group
number
The SDATA report specified by the group number is
transmitted to 1 to 4 default destination ids.
NC, ccc
+1
Increment a counter by 1. Where ccc must be a valid
counter (C1-C8)
DEC, ccc
-1
Decrement a counter by 1. Where ccc must be a valid
counter (C1-C8)