Product Manual

XT2500 Product Manual
Page 29 | 92
CONFIDENTIAL AND PROPRIETARY
System Values
Script Language Description
UnixTime Maps directly to UnixTime packet field (ID: 0x06)
GPSLat Maps directly to Latitude packet field (ID: 0x07)
GPSLon Maps directly to Longitude packet field (ID: 0x08)
GPSAlt Maps directly to Altitude packet field (ID: 0x09)
GPSHeading Maps directly to Heading packet field (ID: 0x0a)
GPSSpeed Maps directly to GpsSpeed packet field (ID: 0x0b)
Inputs Maps directly to InputStates packet field (ID: 0x0c)
Outputs Maps directly to OutputStates packet field (ID: 0x0d)
GSPTripOdom1
OdomDelta
Maps directly to GpsTripOdom1 packet field (ID: 0x10)
GPSHDOP Maps directly to Hdop packet field (ID: 0x12)
GPSNumSats Maps directly to NumSats packet field (ID: 0x13)
InternVoltage Maps directly to InternalBattVolts packet field (ID: 0x16)
BattVoltage Maps directly to VehicleBattVolts_1byte packet field (ID: 0x17)
GPSLifetimeOdom
GPSOdom
GPSOdom Maps directly to GpsLifetimeOdom packet field (ID: 0x18)
OBDLifetimeOdom
OdomDiff
Maps directly to ObdLifetimeOdom packet field (ID: 0x2f)
WakeReason Maps directly to WakeReason packet field (ID: 0x53) (see Wake Reason Mask for
mask definition)
Events
Script Language Description
TimerExpired(<index>) Evaluates to 1 when timer is expired; otherwise 0
Range: 0 to 31
UserEventIsActive(<index>) Evaluates to 1 when a user event has been injected into interpreter;
otherwise 0.Use:xrmsg <index>to inject a message into interpreter.
Range: 0 to 255
AccelEventIsActive(<index>) Evaluates to 1 when an accelerometer event is detected; otherwise 0
Range: 0 to 7
DriverIdRead(<index>) Evaluates to 1 when driver id is detected on 1-wire channel <index>,
otherwise 0
Range: 0 to 1
SystemEventIsActive
(<index>)
Evaluates to 1 when system event <index> is active, otherwise 0
Range: 0 to 20