MGP Pro Series • Remote Configuration and Control
65
Command
ASCII (Telnet)
(Host to Processor)
URL Encoded (Web)
(Host to Processor)
Response
(Processor to Host)
Additional Description
Event Control (continued)
Read string from event buffer memory
27
E
X12%
,
X12^
,
X12&
,
X13!
FE
}
W
X12%
,
X12^
,
X12&
,
X13!
FE
|
{
string
}
]
Read string from event
X12%
, buffer
X12^
, offset by
X12&
,
X13!
bytes.
Write string to event buffer memory
24 27
E
X12(
,
X12%
,
X12^
,
X12&
FE
}
W
X12(
,
%2A
X12%
,
X12^
,
X12&
FE
|
Ewr
X12%
,
X12(
]
Write data string
X12(
from event
X12%
, buffer
X12&
, offset by
X12&
.
Start events
24, 27
E
1AE
}
W
1AE
|
Ego
]
Initiate all programmed events.
Stop events
24, 27
E
0AE
}
W
0AE
|
Est
]
Stop all programmed events.
Read number of
events running
E
AE
}
W
AE
|
Enm
nn
]
With tagged response –
verbose modes 2 and 3:
Enm
nnnnn
nn
= 2-digit number.
nnnnn
= 5-digit number.
KEY:
X12%
= Event number
range = 0 - 99
X12^
= Event buffer
0 = receive
1 = user
2 = NVRAM
X12&
= Event buffer offset
range = 0 to max. buffer size
X12(
= Event data to write
X13!
= Number of bytes to read
E-mail Commands
Configure e-mail
events
24
X13@
,
X13#
,
X13$
CR
}
W
X13@
,
X13#
,
X13$
CR
|
Ipr
X13@
,
X13#
,
X13$
]
When event
X13@
occurs, end e-mail
notification
X13$
to recipient address
X13#
.
Example:
E
5,
7.eml
CR
}
W5
%2C
jdoe
%40
extron
%2E
xom
%2C
7
%2E
eml
CR
|
lpr5,
7.eml
]
For e-mail event 5, send file 7.eml to
.
View e-mail events
X13@
CR
}
W
X13@
CR
|
X13#
,
X13$
]
Send e-mail (file
named in mail
box)
E
X13@
SM
}
W
X13@
SM
|
Eml
X13@
]
KEY:
X13@
= E-mail event number (
1-64
)
X13#
= E-mail recipient address
X13$
= Name of e-mail file to be sent. First line of the file is the subject. The rest is the body of the e-mail.