TEKVOX TekMonitor 2 User Manual
Page 32
TEK 2
User’s Manual
V111813
32
TEK
Commands
To help create the Macros and Status commands for the control system a report can be
generated on the Finish page in TekWizard.
Macros
Most commands can be handled by a Macro defined in the TEK 2. To send a Macro command
use the following:
MACRO,# # = 1-
30 Example Macro 1 “MACRO,1”\x0D
EMAIL,# # = 1-5 Normal, 6-10 High Priority and 11-15 Security
Error
ERROR,#,String # = 1-5
Status
Status commands allow for the usage monitoring of selected devices defined in the TEK 2. To
send a Status command use the following:
DSCMD, Index, Value.
Example: Status value 1 on index 0 “DSCMD,0,1”\x0D
MACRO,# # = 1-
30 Example Macro 1 “MACRO,1”\x0D
LOCATION - Returns
“LOC,” and the Location name
BUILDING - Returns
“BUI,” and the Building name
GROUP - Returns
“GRO,” and the Group name
ROOM - Returns
“ROM,” and the Room name
TIME
- Returns
“TIM,” and Time/Data (Hrs),(Min),(Sec),(Month),(Day),(Yr),(WeekDay)
Byte Command
The Byte command is a hardware command that requires a port number, Index and value.
DBCMD, Port, Index, Value
Integer
Integer commands are used to directly set a TEK 2. To send an Integer command use the
following:
DICMD, Port, Value.
Example: Set Volume Left to 50 on Display 2 - “DICMD,3,4”\x0D