User Guide
Table Of Contents
- 1. Scope
- 2. LMU-3040 Hardware Specifications
- 3. LMU-3040™ Connectors
- 4. Getting Started
- 4.2 SSH Credentials
- 4.3 Interactive “AT Console”
- 4.4 Command Line Interface (CLI)
- 4.5 Log File
- 4.6 Backup Logs
- 4.7 File Components
- 4.8 Software & Script Updates
- 5. PEG2
- 5.2 PEG2 File
- 5.3 PEG2 TAG Definitions
- 5.4 Multiple Modifiers
- 5.5 PEG1 -> PEG2 Conversion
- 5.6 PEG2 Native Editor
- 6. LMU32 vs EdgeCore Platform Differences
- 6.1 I/O Mapping & Wake-Up Sources
- 6.2 LMU Firmware Updates (Delta Files)
- 6.3 Vehicle Bus PID Polling Rate
- 6.4 PEG2 “Lines”
- 6.5 Event Index Field
- 6.6 Remote Debug PEG Action
- 6.7 Modem/GPS Reset
- 6.8 SIM Form Factor
- 6.9 Boot Reason
- 6.10 Peg Resources
- 6.11 GPS
- 6.12 Motion Logs (4hz vs 5hz GPS Sample Rate)
- 6.13 Time Sync Precedence
- 6.14 Version String in ID Reports
- 6.15 Firmware Revision Convention
- 6.16 Status LEDs
- 6.17 Dual APN Mode
- 6.18 Version Reports (App Message 111)
- 7. Installation Verification
- 8. Regulatory Information
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