iControl Incorporated
iTAG Command List
Revision 2.2
Date: January 2015
Command List Index
iTAG_Mode ...................................................................................................................................... 8
iTAG_ID ......................................................................................................................................... 10
No_OP............................................................................................................................................. 11
Forward_Packet .............................................................................................................................. 12
Load_Config ................................................................................................................................... 13
Send_Config ................................................................................................................................... 14
Network........................................................................................................................................... 15
Port_CFG ........................................................................................................................................ 17
Set_Time ......................................................................................................................................... 18
Net_Type......................................................................................................................................... 19
Power_Cfg ...................................................................................................................................... 20
IO_Addr .......................................................................................................................................... 21
Default_Dest ................................................................................................................................... 22
Power_Override .............................................................................................................................. 23
Power_Save..................................................................................................................................... 24
AT_Dial .......................................................................................................................................... 25
AT_Answer ..................................................................................................................................... 26
Modem_Type .................................................................................................................................. 27
Hangup_Modem ............................................................................................................................. 28
Enable_Schedule ............................................................................................................................. 29
Radio_Parameter ............................................................................................................................. 30
Broadcast_Address ......................................................................................................................... 31
LAN_Device ................................................................................................................................... 32
CMD_Retry..................................................................................................................................... 33
Phone_Number ............................................................................................................................... 34
Password ......................................................................................................................................... 35
Upload_ACL ................................................................................................................................... 36
Upload_Data ................................................................................................................................... 36
Upload_Macros ............................................................................................................................... 36
Upload_TextMsg ............................................................................................................................ 36
Upload_Schedules........................................................................................................................... 36
Save_Data ....................................................................................................................................... 37
Modem_Parms ................................................................................................................................ 38
iModem ........................................................................................................................................... 40
Serial_R/W...................................................................................................................................... 41
General_R/W .................................................................................................................................. 42
Beacon............................................................................................................................................. 43
Track ............................................................................................................................................... 44
Test_Condition................................................................................................................................ 46
MAC_Addr ..................................................................................................................................... 48
Stop_Macro ..................................................................................................................................... 49
Run_Macro ..................................................................................................................................... 50
Load_Macro .................................................................................................................................... 51
Delay_Sec ....................................................................................................................................... 52
Command List
5-Aug-15
Delay_tSec ...................................................................................................................................... 53
Delay_mSec .................................................................................................................................... 54
Wait_While ..................................................................................................................................... 55
LCD_CMD ..................................................................................................................................... 57
Scale_Factors .................................................................................................................................. 58
Labels .............................................................................................................................................. 59
LCD_Strings ................................................................................................................................... 60
Text_Msg ........................................................................................................................................ 61
Reset_Buffer ................................................................................................................................... 62
Init_iTAG ........................................................................................................................................ 63
Commit_Flash ................................................................................................................................. 64
Load_Defaults ................................................................................................................................. 65
Load_Flash ...................................................................................................................................... 66
Set_Password .................................................................................................................................. 67
DataByte ......................................................................................................................................... 68
Check_Alarm .................................................................................................................................. 69
Check_Alarm_Save ........................................................................................................................ 69
Server_Addr .................................................................................................................................... 71
Load_Sched..................................................................................................................................... 72
Super_Reset .................................................................................................................................... 73
Command List
ii
5-Aug-15
iTAG Command List
iTAG Operation Description.
The iTAG is configured through the 802.15.4 radio interface for network management, trip
set-up, and checkout. The factory default radio channel is 802.15.4 channel 21. All
commands for controlling the radio are identified in the iTAG Command List.
Once a User as completed the initial iTAG configuration, complete control and operation
of the iTAG can be accomplished through the radio link interface using commands available
in the iTAG Command List.
The radio in the iTAG is nominally operated in a power saving mode with the receiver
periodically enabled and “listening” for commands or data requests. A key element to the
power saving mode is the principle of “tag-talks-last”. In this mode, battery power is
conserved by only responding to messages that are sent directly to the specific iTAG MAC
address or mutual broadcast address. For a majority of iTAG operation, the iTAG is in a
deep power saving mode (~98% of the time). The iTAG will only transmit when it receives
a properly encrypted message during its receiver active period. The encrypted message
directed to the iTAG may include information about which channel the iTAG should use for
further transmissions. Once, the communication parameters are exchanged, there will
typically be a period a several seconds of active radio transmission as the iTAG relays data.
The data transmitted may either be security data destined for government servers, and/or
commercial data destined for the end customer. This data may originate from internal flash
storage or it may be received and relayed from another compatible device.
Command Formats:
To enhance speed, minimize memory, and reduce network traffic, iTAG’s use binary codes
(command ID’s) to represent iTAG functions. Command codes eliminate the need to perform
string comparisons to determine a particular operation. When encrypted, command codes are
also harder to break since “named” commands are identifiable patterns.
iTAG User interfaces, (iControl’s iView and other applications) convert iTAG command
ID’s to “named” strings to aid in interpreting iTAG commands. Each command listed in this
document includes the iVIEW command name (ASCII string), the hexadecimal command
ID, and the decimal equivalent command used by PC terminal emulators. These command
descriptions are the minimum information required to configure and operate an iTAG using
the terminal emulator available on most PC’s (HyperTerminal).
iTAG’s may be commanded in either binary or ASCII mode. User interfaces with direct
serial interfaces to the iTAG use ASCII Decimal commanding. All commands and telemetry
transmitted over an iTAG network are commanded in binary.
iControl Incorporated Confidential
Page 1
5-Aug-15
The iTAG OS provides multiple levels of security. The User is responsible for determining
the appropriate level protection when setting up an iTAG network.
Command Types:
destination
cmd
Z 0 0 0 0 1 2 3 4 97 1 1(ENTER)
ASCII Decimal:
ASCII decimal commands are the simplest to use when getting started. ASCII decimal
commands may be sent from any terminal emulator. No synchronization, time code, or CRC
is required.
Alternate ASCII:
r 97 1 1(ENTER)
A command may also be entered using the r identifier. A leading ‘r’ or ‘R’ indicates that the
command is for the connected iTAG which is most often the case when connected to the
serial port of that iTAG.
Binary:
Binary commands require synchronization patterns, length, time code pads, and a CRC.
Binary commands may be encrypted.
ASCII Name:
Run_Macro etc
iControl’s iView provides command code translation to ASCII names. Any translation from
command code to ASCII name may be programmed using a customer provided application.
iView provides the necessary encryption of the final command format.
iControl Incorporated Confidential
Page 2
5-Aug-15
ASCII Commands
The ASCII decimal format is the easiest to implement. ASCII commands do not require (or
support) a Cyclical Redundancy Code (CRC), Time Code pad, or encryption. Users may
deploy an iTAG using only ASCII commanding.
The only security feature available with ASCII commanding is password protection.
To send an ASCII command, a command file may be generated from any text editor, and
transferred to an iTAG using the “Transfer Text File” option in HyperTerminal. Each ASCII
command from a PC to an iTAG must use the “Z” or “R” command format. The “Z” prefix
signals the iTAG to send an ASCII formatted command to the indicated address. All
commands included in this list may be sent in ASCII mode with an “Z” or “R” at the start of
the command, “Space” as character delimiter, and a carriage return at the end.
Examples:
The following commands may be sent (using HyperTerminal) to an iTAG whose 8 byte ID is
Destination”. The Destination Address is the first 8 bytes, then command, and a carriage
return. The Destination Address must match the iTAG_ID for which the command is
intended. An iGATE will automatically forward commands it receives with different
destination iTAG_ID’s.
Z 0 0 0 0 0 1 2 255 1 5 5
Destination(0.0.0.0.0.1.2.255), Command (1 5 5)
Same command for the iTAG that we are directly connected to
R155
Invalid commands,
1234556
(need ‘Z’ and command is too short )
Z0000123
(too few characters, need full destination and command)
Z12345678123
Z 0 255 1000 1 1 2 3 4 1 2
(need spaces between each character)
(All numbers represent 1 byte, no number larger than 255)
iControl Incorporated Confidential
Page 3
5-Aug-15
ASCII Command Files:
iTAG ASCII commands may be grouped in a file and loaded all at once with a terminal
emulator or other PC application. The command files may be built using common text
editors such as Notepad, Word, etc.
iTAG command files may include comment fields and up to 1k bytes of commands to be
sent. All characters following a “//” are considered comments and are ignored by the iTAG
processing functions.
The only iTAG serial ports which are enabled for ASCII commanding are User Port, Modem
Port, or DataPort. If password protection is enabled for ASCII commanding, include a
Password command at the beginning of the command file.
ASCII Command File Examples:
The following text may be copied and pasted into a text (.txt) file. If HyperTerminal (or
other application) sends this file to an iTAG (via modem, User Port etc) the iTAG will
process all commands and commit them to flash.
Example1.txt
// This File is an iTAG command file.
// To load, send file using any terminal emulator with a “Transfer Text” Option
// Send file once. The iTAG will begin running its schedule as long as schedule
// checking is enabled.
//
R 253 0 255 255 255 255 23 30 0 97 6 1
// Run Macro 6 at 11:30:00 PM
R 253 1 255 255 255 255 4 15 0 97 0 1
// Run Macro 0 at 4:15:00 AM
R 253 2 255 255 255 255 19 15 97 0 1
// Run Macro 0 at 7:15:00 PM
R 99 0 16 2 18 0 2 17 1 4 100 0 2 120 2 17 0 1 20 // Load Macro 0
R 99 6 5 2 18 1 1 29
// Load Macro 6
R 240
// Commit to flash
Example2.txt
// This File is an iTAG command file.
// To load , send file using any terminal emulator with a “Transfer Text” Option
// Send file once.
// File loads Macro with Relay cycling Macro. Turns all relays off, delays 0.100 seconds,
// Turns all relays on
//
R 99 0 15 4 8 2 0 0 4 101 0 0 1 4 8 2 255 255// Load Macro 0 w/Relay cmds
R 240
// Commit to flash
To run Example2, send the command; R 97 0 1 (Run_Macro[0] once)
iControl Incorporated Confidential
Page 4
5-Aug-15
Binary Commands
Binary commands are sent between iTAG’s and between an iGATE and iTAG using the
radio interface. As such, this document does not cover binary commanding. This document
covers only user initiated commands.
iControl Incorporated Confidential
Page 5
5-Aug-15
Power Considerations
As a remote asset, an iTAG will generally be powered by a battery with no means or very
minor means of being recharged. As such, operating in power savings mode is an important
concept.
The present iTAG firmware implements a power savings mode in which the iTAG will sleep
for most of each second (see commands 12, 15, and 16). During the remaining fraction, the
iTAG may come out of sleep by one of three actions: 1) It is time for a scheduled command
to be executed, 2) A radio packet addressed for this iTAG is received, or 3) There is user port
activity on the serial port.
When a scheduled command is executed, it may or may not cause the iTAG to come out of
power savings mode.
Each command is that will affect the sleep mode is noted in the section for each command.
In general, the iTAG will not sleep when a macro is running.
When the iTAG wakes up from sleep, it will remain awake for the number of seconds
indicated by command 16.
iControl Incorporated Confidential
Page 6
5-Aug-15
iControl Products
There are a variety of iControl products. Each of these products implements the same basic
command set.
Due to functionality and processor based resource constraints, some products may or may not
implement certain functions.
Each command ID is identified as being implemented by each product by indicating one or
more of the following abbreviations.
Product Name
Abbreviation
iTAG
GEN2
3rd Generation iTAG
GEN3
iGATE
GATE
mLOCK
LOCK
miKEY
KEY
iCHIME
CHIME
iGATE Repeater
RPT
iControl Incorporated Confidential
Page 7
5-Aug-15
Command List
iTAG_Mode:
Format:
CMD_ID=0x01
(decimal 1)
r 1 [Param]
iTAG_Mode sets the data reporting function on the iTAG. Additional functionality may
also be accomplished by appending Run_Macro commands to the end of the iTAG_Mode
command. If a User wishes to execute additional commands while the iTAG is in a broadcast
mode, other iTAG functions may be linked to the mode by pointing to a Macro at the end of
the iTAG mode command. While the iTAG mode is 0x00 (0) the iTAG is not broadcasting
data over the Local Area Network (LAN).
Definitions:
Silent
N/A
One Sample
N/A
Stream (1Hz):
N/A
Stream “N” Samples (0<”N”<255)
(Once per second)
0x06 Stream Samples
(0<”N”<255)
(For “N” minutes)
0x0a Send record to default destination
P1: IO MSB Address
P2: IO LSB Address
P3: Xmit Port
0x0b Send record to destination
P1: IO MSB Address
P2: IO LSB Address
P3: Xmit Port
P4-P7: Destination Address
0x0c Send record using repeater channel (RPT)
P1: IO MSB Address
P2: IO LSB Address
P3: don’t care
P5: 0, use repeater channel
Otherwise, indicates channel
0x00
0x01
0x02
0x05
Example:
Append the Run_Macro command at the end of the iTAG_Mode to cause the iTAG to
execute Macro_ID (3) once per second while transmitting data over the LAN.
r 1 2 97 3 1
iControl Incorporated Confidential
Page 8
5-Aug-15
See Also: Run_Macro, Load_Macro, IO_Address
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 9
5-Aug-15
iTAG_ID: CMD_ID=0x03
Format:
(decimal 3)
r 3 [DeviceType]
iTAG_ID sets the four byte iTAG identification number.
This ID may also be programmed from the Setup Menu. (GEN2, GATE, RPT)
Each iTAG should have a unique four byte address. Group calls for multiple iTAG’s may be
achieved by setting Group Call ID’s via the Broadcast_Address command.
This command also updates the first four bytes of the MAC_Addr with this entered
iTAG_ID value.
If DeviceType is included and it is ‘I’, ‘g’, or ‘G’, then the system Device Type variable is
also updated.
Description:
Most Significant Byte of iTAG address
Least Significant Byte of iTAG address
[DeviceType] If ‘I’, ‘g’, or ‘G’, then system device type is updated.
Example:
Program new iTAG_ID (0.1.2.3)
r30123
See Also: Broadcast_Address, Default_Dest, Server_Address, Commit_Flash
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 10
5-Aug-15
No_OP:
CMD_ID=0x04
Format:
r 4 [D3] [D2] [D1] [Dn]
(decimal 4)
An iTAG No_Op command is used to test the Network connection to an iTAG. Sending a
No_OP command from one iTAG to another causes the receiving iTAG to respond to the
Source ITAG with an ACK packet containing the iTAG_ID. A No_OP causes the iTAG to
perform no other functions. Data appended to the end of the No_Op command can be used to
perform a communication test. The user may send up to 236 bytes of data using the No_OP
command. The returned ACK will append the user data to the end of the ACK. A failed
CRC error will be written to the iTAG display if a communication error occurs.
Examples:
Send No_Op packet to iGate 0.0.0.0
This command is useful to establish whether a recently installed iTAG is connected to the
iTAG LAN. When an installer sets up an iTAG, the No_OP command can be sent to the
network iGATE while at the iTAG location. If networked, the iGATE will respond with an
ACK packet to the iTAG. The installed iTAG will print to the screen that an ACK has been
received from the iGATE. If available, the Radio signal strength will be displayed when the
ACK is received.
R5100004
(standard No_OP command)
R 5 1 0 0 0 0 4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 (No_OP with test data)
See Also: Forward_Packet
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 11
5-Aug-15
Forward_Packet:
Format:
CMD_ID=0x05
(decimal 5)
r 5
iTAG’s may forward data packets and commands to other iTAG’s or iGATEs using the
Forward_Packet command. The Forward_Packet provides all of the necessary routing
information for the packet to make multiple hops, command an iGATE, or send data to a
server through a complex network topology.
Decimal:
:
‘C’:
0:
1:
‘s’:
243:
‘S’:
211:
Forward to an iCHIME
(GEN2)
Forward packet once. Do not wait for an ACK. Use encryption
configured on iTAG (see Net_Type)
Forward packet using transmit buffer configured for timeout
and retries (see Command_Retry). Use encryption configured
on iTAG
Forward packet once. Do not wait for an ACK. Do not
encrypt.
(GEN2)
Forward packet once. Do not wait for an ACK. Use
encryption. Note 243 == 128 | ‘s’ (GEN2)
Forward packet using transmit buffer configured for timeout
and retries. Do not encrypt (GEN2)
Forward packet using transmit buffer configured for timeout
and retries. Use encryption. Note 211 == 128 | ‘S’ (GEN2)
:
Four byte address which is the desired destination ID for the
packet.
< Forward Packet>:
Data to be sent to other iTAG’s
Example:
Send No_Op packet to iGate 0.0.0.0
r5100004
Send iTAG_Mode command to (4.5.6.7)
r51456712
See Also: Command_Retry, Net_Type
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 12
5-Aug-15
Load_Config:
Format:
CMD_ID=0x06
(decimal 6)
R 7
iGATE location information may be sent using the Load_Config command. The
Load_Config command sets the iGATE position in memory.
The iGATE location is used as the default location when GPS has not been acquired. It is
also used to calculate distance relative to an iGATE.
Definitions:
Latitude of the iGATE in degrees (ASCII formatted float)
Longitude of the iGATE in degrees (ASCII formatted float)
Altitude of the iGATE in degrees (ASCII formatted float)
Examples:
R 6 “30.5 -121.7 10.”
Set the iGATE position to 30.5 degrees latitude, -121.7 degrees
longitude, and altitude of 10
R 6 51 48 46 53 32 45 49 50 49 46 55 32 49 48 46 Same command using ASCII codes
See Also: Appendix C, Packet ID 0x00 0xfa
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 13
5-Aug-15
Send_Config:
Format:
CMD_ID=0x07
(decimal 7)
r 7
iTAG configuration data may be requested (or sent) using the Send_Config command. The
Send_Config command causes the iTAG to collect the specified data (defined by Param)
and send the data out the specified Port. Data format is automatically determined by the
function define for the specified port.
Any packet id (as defined in Appendix C) with the first byte of 0 can be sent using this
command.
Definitions:
0-2
23
27
Serial port used for configuration data transmission
Standard iTAG configuration data (Packet ID 0x00 0x06)
Broadcast ID’s (up to 20 four byte addresses) (ID 0x00 0x17)
Programmed Phone Number for Modem dial outs (ID 0x00 0x1b)
Examples:
r716
Send the “standard” iTAG configuration parameters out serial port 1
r 7 2 23
Send all programmed Broadcast ID’s out serial port 2
See Also: Broadcast_ID, Phone_Number, Appendix C
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 14
5-Aug-15
Network: CMD_ID=0x08
Format:
(decimal 8)
r 8 [Params]
iTAG’s use an 802.15.4 radio for LAN communications. Network commands are used to
configure the network.
Definitions:
‘A’
‘C’
‘D’
‘I’
‘J’
‘L’
‘R’
‘T’
Params
Force association to specified state (‘l’, ‘L’, ‘N’, ‘S’, ‘W’)
P0: association state
P1: Comm (Association) timer value – stay associated P1
seconds
Set Commissioned state
P0: ‘Y’ or ‘N’: Commissioned state is Yes or No. See
Test_Condition
Action when beacon received from specified address
P0: ‘E’-enable macro, ‘D’-disable, ‘C’-command enabled
P1-P4: 4 byte address to check against beacon sender
P5: Macro number for P0=‘E’, Command length for P0=’C’
P6: Command number for P0=’C’
P7-Pn: Command parameters for P0=’C’
Setup Internetworking for meshing
Insert a unit into ACL (Join)
P0-P7: 8 byte address to insert into the ACL
P8: 0x80 or 0 indicates whether to use encryption or not when
communicating with this unit
P9: Non zero indicates that this unit has power saving enabled.
Send wakeup packets to this unit before trying to communicate.
Delete unit form the ACL (Leaving)
P0-P7: 8 byte address of unit to remove from the ACL
If address is different from destination ID, send an association request
P0-P3: 4 byte address to send the association request to
Set ACL Timer to specified value. Unit in ACL stay in ACL for this
specified number of seconds
P0: MSB of ACL timer (unsigned int)
P1: LSB of ACL timer (unsigned int)
Examples:
r 8 ‘C’ ‘Y’
Set commissioned state to Yes
r 8 ‘DC’ 14 0 0 1 3 249 10 11
Set DataByte[10]=11 when a beacon from 14 0 0 1 is
received
iControl Incorporated Confidential
Page 15
5-Aug-15
r 8 ‘J’ 0 0 0 0 1 2 3 4 128 5 Add unit 0.0.0.0.1.2.3.4 to the ACL, unit uses encryption (128),
unit uses power save (5)
r 8 ‘T’ 1 5
Set units ACL Timer to 261 seconds
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 16
5-Aug-15
Port_CFG: CMD_ID=0x09
Format:
(decimal 9)
r 9 [Param]
Port_CFG remotely (or via a Macro) change a serial port configuration identified by .
Once the Port_CFG is executed, the specified port is re-initialized.
The iTAG serial ports can be configured via the iTAG Setup Menu. (GEN2, GATE, RPT)
Definitions:
Param
Serial port to be changed (0-2)
New baud rate, ranges from 1.2-115 Kbps (use baud/1200)
For Radio (port 2) specify radio parameters
2:
LANPort[0]
3:
LANPort[1]
4:
ModemPort
5:
DataPort
P0: ‘T’ or ‘F’, enables checking of this serial port as a user
interface
6:
LCD port
‘D’: Disable echo port (Not implemented)
P0: Port number to be used as an echo port
‘E’: Set Echo Port (Not implemented)
Example:
Set Serial Port 1, to 57.6KBps, use for LANPort[1]
R 9 1 48 0 3
See Also:
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 17
5-Aug-15
Set_Time: CMD_ID=0x0a
Format:
(decimal 10)
r 10
Set_Time programs the iTAG real-time clock using seconds since 1980. This command is
not implemented.
Example:
Set timer to 1(month) 2(day) 3(year) 4(week day) 5(hour) 6(minute) 7(seconds): January 2,
1983, 05:06:07. Week Day is ignored.
r 10 1 2 3 4 5 6 7
See Also:
Last updated 12-Nov-08
iControl Incorporated Confidential
Page 18
5-Aug-15
Net_Type: CMD_ID=0x0b
Format:
(decimal 11)
r 11
Net_Type defines alternative addressing schemes available on iTAG’s along with an
encryption key. In most cases, Net_Type is not a command sent over the LAN. Typically,
Net_Type is one of many commands in an iTAG configuration file which programs iTAG’s
prior to deployment. It is possible to use Net_Type to periodically change an encryption key
to increase the security of a Network. Extreme caution should be used when sending
Net_Type over an established LAN network. Changing an iTAG address scheme or
encryption may render an iTAG unreachable until the Network iGATE has an updated
configuration also.
Definitions:
‘I’|’Z’|’F’:
‘K’
‘E’
Params
Set Network type to iControl, Zigbee, or Fulton respectively
Set encryption Key
P0: ASCII formatted index of encryption key to set
P1-P16: Encryption key
Enable or disable encryption for the radio network
P0: 0 disables encryption, any non-zero enables
encryption
Examples:
Create an iTAG configuration file which defines the network type (wireless LAN) and sets
encryption key 0 to “myencryptionkey0”. The configuration file should also define the
iTAG_ID, and Radio_Type. Make sure that the configuration file commits the changes to
iTAG flash.
Note: The Default Broadcast_Address is (0.0.0.0).
The Configuration file would contain.
r30001
// Set the ITAG_ID to (0.0.0.1)
r 11 ‘I’
// Use iControl wireless LAN
r 11 ‘K0’ “myencryptionkey0” // load encryption key 0
r 25 “Z”
// Use Zigbee Radio
r 240
// Commit changes to flash
See Also: Configuration Files, Broadcast Address, Network Security
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 19
5-Aug-15
Power_Cfg:
Format:
CMD_ID=0x0c
(decimal 12)
r 12
Power_Cfg sets the normal and Sleep mode power configuration. During normal operation,
the Radio, GPS, and ASIC are enabled. In this configuration the iTAG draws approximately
100 mamps. To reduce power, the iTAG may be placed in a sleep mode using a command or
programmable timeout. During Sleep, the iTAG either wakes up once per second to check
for radio traffic, a scheduled command, or serial port data. While in Sleep, an iTAG uses
approximately 10 mamps. Both the normal and sleep configurations may be set by the
Power_Cfg command.
Definitions:
Power mode setting for normal operation
0x01 Enable radio
0x02 Enable GPS
0x04 Enable ASIC
Power mode sitting during sleep operation
0x01 Enable radio
0x02 Enable GPS
0x04 Enable ASIC
0x08 Enable deep sleep (Deprecated)
0x10 Enable sleep
Not implemented
Example:
While awake, use a completely powered iTAG, while in Sleep, power down everything.
Note: This command only needs to be sent once to maintain this sleep/wake configuration.
r 12 7 16
See Also: Power_Save
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 20
5-Aug-15
IO_Addr: CMD_ID=0x0d
Format:
(decimal 13)
r 13
Legacy hardware allowed a unit interface to a variety of Input and Output (IO) devices. Each
IO interface board had a unique address. An IO address would include a Board address and
an Extended address; thus the naming convention.
IO_Addr is typically used to set the default address of the iTAG IO. When the iTAG_Mode
is set to send data, the current value of IO_Addr is used to build the packet sent over the
LAN.
Definition:
and are equivalent to the two byte Packet ID shown in
Appendix C.
Example:
Set Default IO address to reflect an Analog-to-Digital status packet (56)(12).
r 13 56 12
See Also: Appendix C, iTAG_Mode, Save_Data, Upload_Record, DataByte
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 21
5-Aug-15
Default_Dest:
Format:
CMD_ID=0x0e
(decimal 14)
r 14
When the iTAG must send an un-requested data packet (like alarms) to the iGate or Server,
the iTAG uses the Default_Dest as the sending address. Typically, the Default_Dest should
be the same four byte address as the network’s iGate ID.
Definition:
Least significant Byte of Destination address
Most significant Byte of Destination address
Example:
Change the iTAG default destination ID to (0.0.0.0)
r 14 0 0 0 0
See Also: Check_Alrms, Run_Macros
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 22
5-Aug-15
Power_Override:
Format:
CMD_ID=0x0f
(decimal 15)
r 15
Power_Override sets the current power configuration to that specified by the PowerCfg
bitmask parameter.
Definitions:
0x01
0x02
0x04
0x08
0x10
Enable radio
Enable GPS
Enable ASIC
Enable deep sleep (Deprecated)
Enable sleep
Example:
Enable only GPS and ASIC.
r 15 6
See Also: Power_Cfg
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 23
5-Aug-15
Power_Save:
Format:
CMD_ID=0x10
(decimal 16)
Z(Source) (Destination) (16) (Power_Save) (seconds)
The iTAG will enter Sleep mode after the sleep counter decrements from the Power_Save
count to zero. Setting Power_Save to zero disables the iTAG from transitioning into Sleep
mode. Any Power_Save value above zero, represents the number of seconds before the
iTAG will transition to Sleep.
While in Sleep mode, the iTAG checks to see if any Scheduled commands need to be
processed. Also, all serial ports are monitored to see if any activity indicates a transition to
normal operation may be required. When an iTAG is wakened, the Power configuration on
wake up is controlled by the Power_Cfg. The initial Power_Save count remains the same
value set by the Power_Save command. The power down count re-starts from the
Power_Save count. If there is no serial port activity, or executing macros, the iTAG will
return to sleep mode after the Power_Save counter decrements to zero.
Definitions:
0x00
1-255
Disable Power_Save
Transition to Power Save mode after (seconds)
Example:
Enable Sleep mode with a Power_Save count down of 10 seconds (0x0a).
S 0 0 0 0 1 2 3 4 16 10
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 24
5-Aug-15
AT_Dial:
CMD_ID=0x11
Format:
r 17
(decimal 17)
An iTAG that is configured with a modem uses the AT_Dial command to enable (or disable)
an attempt to communicate with iVIEW using the modem. If a modem is not enabled, the
AT_Dial command will be ignored. The number the modem uses to dial is set with the
Phone_Number command.
When AT_Dial is enabled, AT_Answer is automatically disabled.
Definitions:
:
0x01= Enable modem dial out
0x00= Disable modem dial out
Example:
Command the modem to dial the stored Phone_Number
r 17 1
See Also: Phone_Number, AT_Answer, Set_Modem
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 25
5-Aug-15
AT_Answer:
Format:
CMD_ID=0x12
(decimal 18)
r 18
An iTAG that is configured with a modem utilizes the AT_Answer command to enable (or
disable) checking for connections on the modem. If a modem is not enabled, the AT_Answer
command will be ignored. An iTAG may leave the parameter AT_Answer equal to 0x01
(Answer enable) even if the modem is not receiving a call. The parameter AT_Answer
simple permits the iTAG to answer if a remote computer is attempting to communicate via
the modem.
Definition:
:
0x01= Enable modem Answer
0x00= Disable modem Answer
Example:
r 18 1
See Also: Phone_Number, AT_Dial, Set_Modem
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 26
5-Aug-15
Modem_Type: CMD_ID=0x13
Format:
(decimal 19)
r 19
To enable the iTAG to use a modem, the Modem_Type command is sent to enable the
appropriate iTAG drivers. Before enabling the iTAG Modem_Type, the modem serial port
must be enabled for modem use and the corresponding modem baud rate should be selected.
Check the Set Up Menu to verify the modem serial port properties. (GEN2, GATE, RPT)
Definition:
< Modem_Type >
‘N’:
‘P’:
‘C’
‘s’:
‘S’:
‘e’:
‘E’:
‘g’:
‘i’:
‘I’:
No Modem
PSTN
Cellular connecting to remote PSTN
Cellular using SMS
Satellite
Ethernet with DNS and DHCP enabled
Ethernet
GSM using GPRS
Iridium SBD modem
Iridium modem
Example:
Enable the iTAG to use the cellular modem using SMS.
r 19 “s”
See Also: AT_Answer, AT_Dial, Phone_Number, Hangup_Modem
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 27
5-Aug-15
Hangup_Modem
Format:
CMD_ID=0x14
(decimal 20)
r 20 [ModemState]
For general usage, the Hangup_Modem command ends the present modem connection. In
most cases, the ModemState is set to ‘S’ which will (shutdown) power down and disable the
modem.
For a PSTN modem, if the modem is connected, the iTAG may hang-up the modem and
return to command mode using the Hangup_Modem command. The Hangup_Modem
command is equivalent to the standard (AT modem command) ATH0. If the user wants to
override the modem state (in the iTAG software), an optional parameter can be provided
which controls the software state. This feature is useful for writing custom modem drivers
using macros, or adapting the iTAG to unsupported modem types.
Please Note: Overriding the modem state parameter does not control the external
modem, only the iTAG firmware state machine is affected by the ModemState
parameter i.e. (commanding ModemState=> Connect, does not mean the modem is
connected. The iTAG with “think” it is connected)
Definition:
< ModemState >
‘I’:
‘C’:
‘G’:
‘R’:
‘O’:
‘D’:
‘A’:
‘X’:
‘S’:
Initialize modem
Modem State is connected
Modem command mode, while online
Modem state = ready
Modem is offline
Modem is dialing a number
Modem is answering a call
Modem is waiting for a connection
Shutdown modem
Example:
Send command to hang up modem, then reconfigure modem to Answer any incoming call.
r 20
r 18 1
// Hangup command
// AT_Answer = 1; Enable Answer
See Also: AT_Answer, AT_Dial, Phone_Number
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 28
5-Aug-15
Enable_Schedule:
Format:
CMD_ID=0x15
(decimal 21)
r 21 [Enable | Disable]
The iTAG Operating System supports stored commands which are executed at User specified
times. The stored commands utilize the clock/calendar function on the iTAG to determine
when a scheduled command should be executed. Enable_Schedule is used to enable or
disable the execution of stored commands. A User may wish to disable schedule checking to
prevent an iTAG from “Hanging up” during a commanded connection.
Definition:
:
0x01= Enable Schedule Checking
0x00= Disable Schedule Checking
Example:
r 21 1
Enable Schedule checking
See Also: Load_Schedule, Dump_Schedule
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 29
5-Aug-15
Radio_Parameters:
CMD_ID=0x16
(decimal 22)
Format: r 22
An iTAG configured with a LAN radio uses parameters to control the timing for transmit,
receipt and RX mode. TXpreamble is deprecated and no longer used, but is reserved for
future use. TXtail is the duration of time (milliseconds) that the iTAG waits before sending
an ACK. bSpacing is used in the Delay_mSec command.
Definitions:
:
:
:
Deprecated
0-255 msec
0-255 msec * DataByte[0] to delay in Delay_mSec command
Example:
Set Radio parameters
TXpreamble don’t care
TXtail to 150 msec
bSpacing 10 msec
r 22 0 150 10
See also: Delay_mSec
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 30
5-Aug-15
Broadcast_Address: CMD_ID=0x17
Format:
(decimal 23)
r 23 …
An iTAG may be programmed with “Broadcast” addresses that are used as alternative
iTAG_ID’s. The iTAG will not respond with an ACK when commanded using a broadcast
address. Multiple iTAG’s may have the same broadcast address allowing groups of iTAG’s
to be commanded with a single command. Typical uses for broadcast addresses are
commanded time updates or Macro loads which all units in a group need. Up to 20 broadcast
addresses may be used per iTAG.
The factory default configuration defines one Broadcast_Address (0.0.0.0.). This allows
multiple iTAG’s to be programmed with the same Configuration File via the user interface.
iControl recommends retaining the first Broadcast_Address as a generic iTAG_ID for
configuration loading.
Definitions:
N_Addrs:
B00-B03:
Bn0-Bn3:
1-20 possible broadcast addresses (0 disables)
Broadcast address <0> (Bytes 1-4)
Broadcast address (Bytes 1-4)
Example:
Program the following three broadcast addresses:
0.0.0.0
1.2.3.4
5.6.7.8
r 23 3 0 0 0 0 1 2 3 4 5 6 7 8
See Also: Configuration File
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 31
5-Aug-15
LAN_Device:
Format:
CMD_ID=0x19
(decimal 25)
r 25
The iTAG LAN network device is an 802.15.4 compliant radio.
LAN device types are selected during iTAG initialization with the setup menu (GEN2,
GATE, RPT) or via a configuration command file.
Definitions:
:
‘N’:
‘Z’:
No Device (disables Devices)
802.15.4 compliant device
Example:
Set LAN_Device for 802.15.4 compliant radio.
R 25 “Z”
See Also: iModem_Param
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 32
5-Aug-15
CMD_Retry:
Format:
CMD_ID=0x1a
(decimal 26)
r 26
Command transmissions are placed in the iTAG transmit queue. Commands are transmitted
immediately following the placement in the queue. After “TX_Attempts”, the packet is
discarded and a message is posted to the user interface. Each transmission attempt is
separated by “Retry Time” seconds. All commands forwarded from an iGate places
commands in the transmit queue. iTAG ACK’s are not placed in transmit queues.
Definitions:
< TX_Attempts >
Number of times a packet may be sent before it is discarded
Number of seconds to wait before attempting to send packet again
During a data upload attempt, the upload fails if the transmit fails
TX_Attemtps times. If this failure occurs MaxUploadFail times, the
iTAG is automatically disassociated
Example:
Set the transmit queue to discard messages after 4 attempts. After each transmission failure,
wait 8 seconds before attempting the next transmission. Allow four failed attempts at
uploading before disassociating.
R 26 4 8 4
See Also:
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 33
5-Aug-15
Phone_Number:
Format:
CMD_ID=0x1b
(decimal 27)
r 27 ”(c0)(c1)(c2)(c3)….(cn)”
An iGATE or modem enabled iTAG can connect to either an ISP, modem bank , directly
to a customer phone line, connect using GPRS, or send an SMS message. All these
services use the Phone_Number command to set the default dial out number for
connections. Phone_Number is up to 20 ASCII characters long, and includes the
numbers 0-9 and “,”. Commas insert a 2 second delay between numbers while dialing.
Multiple commas may be inserted to allow switch board timing from internal phone
system to transition to external phone lines. Alternate numbers may be stored in Macros
which may be used in the event of a connection failure.
Examples:
Set the default dial out number to be 1 800 555 5555.
r 27 “18005555555”
Set the default dial out number to be, 9 wait 4 seconds then dial 555 1234.
r 27 “9,, 5551234”
See Also: Modem_Type, Appendix C
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 34
5-Aug-15
Password: CMD_ID=0x1c
Format:
(decimal 28)
r 28 …
iTAG Set-Up and ASCII command functions may be password protected to prevent
accidental or deliberate commands from being executed. Password can be sent remotely
through the LAN or via the User Interface. The Password command is functionally the
same as entering the Set-Up Menu using the iTAG login via the User Interface. The
password is an ASCII alpha-numeric string with no more than 9 characters. Spaces and
control characters are not allowed in the password. When the Password command is
sent, both the Set Up menu and iTAG command processing functions are enabled. The
string which accompanies the Password command is the iTAG password. Sending a zero
length string disables both Set-Up Menu access and the command process functions.
The Factory default password settings are:
Password:
SET-Up Menu:
ASCII Commanding:
“icontrol”.
Password Required
Access Permitted
Examples:
An iTAG has its password set to “yourword”. For security purposes, a User programmed
Macro[38] sends the password command “0” effectively disabling Set-Up menu access and
command processing. Send a command to the iTAG to re-enable ASCII commanding.
r 28 “yourword”
After the iTAG receives this command, access to the Set Up menu and command processing
is enabled. When the user is ready to disable access, send a zero length Password command.
R 28
Password may be used remotely to enable/disable iTAG access.
See Also: Set_Password, Run_Macro,Load_Macro
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 35
5-Aug-15
Upload_ACL: CMD_ID=0x1d (decimal 29)
Upload_Data: CMD_ID=0x1f (decimal 31)
Upload_Macros:
CMD_ID=0x62 (decimal 98)
Upload_TextMsg:
CMD_ID=0xc9 (decimal 201)
Upload_Schedules: CMD_ID=0xfe (decimal 254)
Format:
r
To
upload
data
to
iVIEW
(or
other
application),
Upload_ACL/Upload_Data/Upload_Macros/Upload_TextMsg/Upload_Schedules
is
used to start the data transfer process. This command defines which serial port is used for the
upload. The user is responsible for knowing which port is required for the data transfer. The
port selected may be the UserPort, the LANPort, or the modemPort. The second parameter is
deprecated.
During the upload process, the MSB bit of the Board Address is set ‘high’ to indicate the data
is stored (not currently streaming).
Definitions:
:
:
0:
UserPort
1:
( modemPort, dataPort)
2:
LANPort
deprecated
Examples:
Command the iTAG to upload the ACL using port1.
r 29 1 4
Command the iTAG to upload the Macros using port2.
r 98 2 0
See Also: Network, Save_Data, Load_Macro, Text_Msg, Load_Schedule
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 36
5-Aug-15
Save_Data:
Format:
CMD_ID=0x1e
(decimal 30)
r 30
Both iTAG’s and iGATE’s provide a flexible approach to save data for later upload. The
Save_Data command instructs the iTAG to collect data using the specified packet IDs. See
Appendix C for packet ID definitions. The Save_Data command may be sent in real-time, by
a stored command, or as a result of an event. All saved data is placed in a single data buffer
that places the data with a time tag (most recent first). The saved data buffer is a circular
buffer. When the data buffer is full, oldest data is over written first. When data is uploaded
from the stored data buffer, the MSB of the Board address is set “high” to signal the packet is
a stored data packet. Users are responsible for performing periodic uploads of the stored data
to prevent loss of mission critical information.
Description
See Appendix C for packet ID definitions.
Examples:
Load an iTAG program to save analog data from the motherboard every 15 minutes.
r 253 0 255 255 255 255 255 0 0 30 56 12
r 253 1 255 255 255 255 255 15 0 30 56 12
r 253 2 255 255 255 255 255 30 0 30 56 12
r 253 3 255 255 255 255 255 45 0 30 56 12
Top of hour
15 minutes
30 minutes
45 minutes
See Also: IO_Addr, Appendix C
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 37
5-Aug-15
Modem_Parms:
Format:
CMD_ID=0x22
(decimal 34)
r 34
The iTAG 802.15.4 radio may be configured using the Modem_Parms command. The
iTAG radio supports channels ranging from1 to 26. The iTAG will listen on a Default
Channel when it is awake. It will listen on the Sleep Channel when asleep. When
configured as a repeater, the iTAG will communicate with an iGATE on the Modem Channel
and operate as above when communicating with other iTAGs.
There is also the concept of a current channel. This value holds the channel that the radio is
currently operating on.
Some modem parameters may also be set using this command.
Definitions:
:
‘P’:
‘s’:
‘r’:
‘S’:
‘C’:
‘c’:
‘D’:
‘T’:
‘R’:
‘Q’:
Params
Copy 802.15.4 radio initialization parameters. This command does not
actually initialize the radio with these parameters. It only copies the
parameters that may be used to initialize the radio using the
Radio_Config command
Save the current channel for later restoring
restore current channel to that saved with the ‘s’ command
if Association is not ‘L’ change channel as in ‘C’
change indicated channel
P0:
‘D’ – change default channel
‘S’ – change sleep channel
‘M’ – change modem channel (RPT)
P1:
(1-26) Channel to change to
Change the current channel
P0:
(1-26) Channel to change to
Reinitialize radio with default values
Modem timeout – used for maximum time to wait for a valid modem
signal strength and registration on a network
P0: MSB of timeout (unsigned int)
P1: LSB of timeout (unsigned int)
Flag indicating that an iGATE should store any upload data from a
remote tag in the iGATEs local flash. This data may be uploaded
through the iGATE modem at a later time.
P0: 0 indicates do not save data, otherwise do so
Query iVIEW for any commands through the modem
Examples:
Set the default radio to channel 11.
iControl Incorporated Confidential
Page 38
5-Aug-15
R 34 ‘CD’ 11
See Also: Radio_Config
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 39
5-Aug-15
iModem:
CMD_ID=0x23
Format:
r 35
(decimal 35)
Definitions:
Examples:
See Also:
iControl Incorporated Confidential
Page 40
5-Aug-15
Serial_R/W:
Format:
CMD_ID=0x27
(decimal 39)
r 39
iTAG’s may send or receive data via the serial ports to communicate with smart sensors. For
most applications this operation is performed using the serial port configured as the DataPort.
With this command, users define the parameters necessary to prompt MODBUS devices or
PLC’s to return data for the iTAG to store or place in telemetry.
Definitions:
(0)
(1)
(2)
(3)
Sets message sync characters used for receiving data.
There are 3 sync characters. Two start characters and
a terminating character.
Write bytes out specified port
Write contents of DataBytes out specified port
Reset specified serial port to flush receive buffer
0-2
Serial port for data read write operations
Examples:
Prompt a GPS receiver to return data. Send appropriate prompt, wait 20 milliseconds, read
data into a stored data packet.
Assume:
a)
b)
c)
d)
e)
GPS receiver is hooked to serial port 2
“#” Generates data prompt
Receiver needs 20 milliseconds to respond with data
Start of returned data packet is a “&=”.
The terminating character is
Load Macro 0 with the following commands, (in a text file they are decimal)
r 39 0 2 38 61 13
r 39 1 2 35 13
r 102 20
r 30 0 32
Sets the message sync and terminating characters
Send the Prompt (ASCII decimal #,enter)
Delay Macro[0] 20 milliseconds
Read/save data string from serial port 2 (0x20=32)
Each time the user wishes to save data from the GPS receiver, execute Macro 0 with a
Run_Macro command.
See Also: MS_Delay, Save_Data, Run_Macro
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 41
5-Aug-15
General_R/W:
Format:
CMD_ID=0x28
(decimal 40)
r 40
iTAG’s may read or write data to internal or external IO address space.
General_R/W only writes to general purpose I/O pins.
At present,
Although implemented in hardware which can change with each revision, the GPIO 3 pin is
usually used to control the power to an installed modem.
Definitions:
(4) Write to a general purpose I/O pin
(3,4,10,15) GPIO Pin to write to
(0 or 1) Set specified GPIO pin to 0 or 1
Examples:
Set GPIO pin 3 to high (1).
r 40 3 1
See Also: Save_Data, Load_Macro,Run_Macro
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 42
5-Aug-15
Beacon:
Format:
CMD_ID=0x3c
(decimal 60)
r 60
iTAGs join the iGATE 802.15.4 network by sending a beacon request. The only valid
parameter when sending a beacon request is the broadcast address.
An iGATE sends a Beacon signal to inform iTAGs of the channel that the iGATE is listening
on.
Definitions:
Index of broadcast address to use when sending beacon or beacon
request
Most significant byte of an unsigned int value indicating how many
seconds that the remote iTAG should remain associated
Least significant byte of an unsigned int value indicating how many
seconds that the remote iTAG should remain associated
Beacon type: ‘W’ or ‘B’. W – send beacon using the Sleep Channel.
B – send beacon using the Default Channel
Radio channel that remote iTAGs use to communicate with this
iGATE
Example:
Request a beacon using the first broadcast address.
r 60 0
Send a beacon on the Sleep Channel using broadcast address 0. Send a beacon timer of 900
seconds. Tell remote iTAGs to use Channel 14 to communicate with this iGATE.
r 60 0 3 132 ‘W’ 14
See Also: Broadcast_Address, Modem_Parms
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 43
5-Aug-15
Track:
CMD_ID=0x3e
Format:
r 62 [params]
(decimal 62)
Program Track mode and motion sense parameters.
The motion sense parameters are used when the iTAG is equipped with an accelerometer.
The accelerometer is checked once per second. If the magnitude of the accelerometer axis
has changed more than MotionDetect, then increment a counter. If that counter is greater
than MotionTimer, indicate that motion has occurred. This counter is reset with each 63 ‘M’
command.
The track parameters are used to check for changes related to GPS. The 63 ‘T’ ‘P’ or the 62
‘t’ ‘P’ command uses the TrackRange value to determine if the iTAG has moved greater than
TrackRange meters from Waypoint[0]. Waypoint[0] is overwritten with the present location
if the iTAG is greater than TrackRange meters from the previous Waypoint[0] value.
The algorithm that uses the TrackVelocity, MovingFix, and StationaryFix is not
implemented.
The waypoints are used to calculate distance from the present position. These distances can
then be formatted into a data packet and used in the Check_Alarm command.
All parameters can be saved to non-volatile ram using the 240 command. (GEN2)
Definitions:
(Params)
Set Velocity counters (Not presently implemented)
P0: Moving Fix MSB of unsigned int
P1: Moving Fix LSB of unsigned int
P2: Stationary Fix MSB of unsigned int
P3: Stationary Fix LSB of unsigned int
Debug/Display parameters – only valid in DN display
Set motion sense parameters
P0: Motion Detect MSB of unsigned int
P1: Motion Detect LSB of unsigned int
P2: Motion Timer MSB of unsigned int
P3: Motion Timer LSB of unsigned int
Run track algorithm
P0: P | V | T
Set Tracking parameters
P0: Track Range (string formatted float)
P1: Track Velocity (string formatted float)
Program waypoints
P0: ‘C’ – clear all waypoints
iControl Incorporated Confidential
Page 44
5-Aug-15
P0: Index of waypoint to program
P1: Waypoint Lat (string formatted float)
P2: Waypoint Long (string formatted float)
Example:
Set Track Range to 500 meters and Track Velocity to 10.3 meters per second.
r 62 ‘T’ “500. 10.3”
r 63 84 53 48 48 46 32 49 48 46 51
Set waypoint 2 to 35.12 and -90.01 degrees
r 62 ‘W’ 2 “35.12 -90.01”
r 62 87 2 51 53 46 49 50 32 45 57 48 46 48 49
Set motion detect to 60 and motion timer to 301.
r 62 ‘M’ 0 60 1 45
r 62 77 0 60 1 45
If DataByte[5]==8 and iTAG is associated and GPS is valid, execute macro 20, else do
nothing. Note that the ‘x’ value in “G=x” is a don’t care as GPS is either valid or not and this
state is not compared to any value that may be set in the firmware.
r ‘?d58?A=L?G=xrM’ 20 99
r 63 100 5 8 63 65 61 76 63 71 61 120 114 77 20 99
See Also: Test_Condition, Check_Alarm
Last updated 11-Nov-08
iControl Incorporated Confidential
Page 45
5-Aug-15
Test_Condition: CMD_ID=0x3f
Format:
Alternate:
Alternate:
Alternate:
(decimal 63)
r 63 “