User Guide

Table Of Contents
COMPANY CONFIDENTIAL: CalAmp reserves all rights to these documents and any information contained therein. Page
Reproduction use or disclosure to third parties without express permission is strictly prohibited. ©2021 CalAmp 20 of 40
LMU-3x40 Training Guide
Revision & Date
1.6 – 03/24/2021
: Comm
ent
The comment tag ‘:’ is immediately followed
by free text and is only terminated by the
end-of-line delimiter (<CR>)
T18,0;T17;A8,4;:This is a
comment
+
OR
Boolean operator that combines result with
next Condition results using ‘OR’ operation
^
AND
Boolean operator that combines result with
next Condition results using ‘AND’ operation
!
NOT
Boolean operator that inverts results of
following Condition or previous Boolean
state depending on placement.
5.4 Multiple Modifiers
PEG2 offers the ability to use multiple modifiers for specific Triggers, Conditions or Actions. This
makes it easier to use some existing PEG actions where there was a need to bit mask one
modifier, or use two PEG actions to satisfy one function (like copy accumulator). See below for a
few examples of how multiple modifiers can be utilized in a PEG2 script.
Trigger/Cond/Action
Definition
Modifier 0
Modifier 1
Update End Trigger
(Code 61)
An update has completed.
PEG1 single modifier mapping: Bits
0-3=File Type, bits 4-7 = Device
Type
Device Type
File Type
Zone State
Condition (Code 40)
True when current location is
inside (0) or outside (1) the Zone
identified by Zone# and the Zone is
enabled.
PEG1 single modifier mapping:
Inside (bit7 of is 0), Outside (bit7 is
1), Zone Identifier (bits 0-6).
Current Location
(inside/outside Zone)
Zone#
Copy Accumulator
Action (103)
Copies value in Accum Source into
Accum Destination
Source Accum
Destination
Accum