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. ©2020 CalAmp
15
of
35
LMU-1300 Training Guide
Revision & Date
0.8–09/22/2020
5.3
PEG2 TAG Definitions
Definitions of the PEG2 Tag Characters with examples are listed below:
Tag
Char
Name
Description
Example
L
Label
Defines a unique label to be used as a
“virtual line”. Used as reference for Jump &
Call PEG Actions
L514013
T
Trigger
Define one or more Triggers on the same
line.
T<TrigCode>,<Mod0>,T<TrigCode>,<Mod0>
T18,0;T17;A8,4
C
Conditi
on
Define one or more Conditions on the same
line.
C<CondCode>,<Mod0>,
C<CondCode>,<Mod0>
T13;C16,11;^C16,10;!+!C16,12;A
1,24
A
Action
Defines one or more PEG Actions. Actions
executed in order of appearance.
A<ActionCode>,<Mod0>,A<ActionCode>,<M
od0>
T13;C16,11;^C16,10;!+!C16,12;A
1,24
:
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.