Programming
117
MVP-5200i Modero® ViewPoint® Touch Panel with Intercom - Instruction Manual
^RAF, ^RMF - Embedded Codes
The ^RAF and ^RMF commands add and modify any and all resource parameters by sending embedded codes and data:
"'^RAF-<resource name>,<data>'"
"'^RMF-<resource name>,<data>'"
The <data> variable uses the embedded codes described in the following table:
Escape Sequences
The ^RAF and ^RMF commands support the replacement of any special escape sequences in the filename (specified by the
%F
embedded code) with the corresponding data obtained from the system as outlined in the table below:
For instance,
http://www.amx.com/img.asp?device=$DV
would become
http://www.amx.com/img.asp?device=10001.
^RAF, ^RMF - Embedded Codes
Parameter Embedded Code
Description
protocol
’%P <0-1>’
Set protocol. HTTP (0) or FTP (1).
user
’%U <user>’
Set Username for authentication.
password
’%S <password>’
Set Password for authentication.
host
’%H <host>’
Set Host Name (fully qualified DNS or IP Address).
file
’%F <file>’
Full path to the location of the file or program that will return the resource. The path must be a
valid HTTP URL minus the protocol and host.
The only exception to this is the inclusion of special escape sequences and in the case of FTP
protocol, regular expressions.
path
’%A <path>’
Set Directory path. The path must be a valid HTTP URL minus the protocol, host and filename.
The only exception to this is the inclusion of special escape sequences and in the case of FTP
protocol, regular expressions.
refresh
’%R <refresh 1-65535>’
The number of seconds between refreshes in which the resource is downloaded again.
Refreshing a resource causes the button displaying that resource to refresh also.
The default value is 0 (only download the resource once).
newest
’%N <0-1>’
Set the newest file. A value of 1 means that only the most recent file matching the pattern is
downloaded.
Note: The 'newest file' option only applies to FTP Dynamic Images, and only those that have
pattern matching as part of their filename. Neither 'newest file' nor pattern matching apply to
HTTP Dynamic Images.
When set, the panel will first pull a list of files matching the given pattern from the specified
FTP server and path. The timestamps of the items in the list will be compared, with the newest
one being displayed on the panel. This is useful for source devices that place a uniquely named
still image in a folder at constant intervals, allowing the panel always to
display the most recent one.
preserve
’%V <0-1>’
Set the value of the preserve flag.
Default is 0. Currently preserve has no function.
Escape Sequences
Sequence Panel Information
Sequence Panel Information
$DV
Device Number
$AC
Address code
$SY
System Number
$AP
Address port
$IP
IP Address
$CC
Channel code
$HN
Host Name
$CP
Channel port
$MC
Mac Address
$LC
Level code
$ID
Neuron ID (
Only supported on panels that use ICSNet;
ignored on all other panels
)
$LP
Level port
$PX
X resolution of current panel mode/file
$BX
X Resolution of Current button
$PY
Y resolution of current panel mode/file
$BY
Y Resolution of Current button
$ST
Current state
$BN
Name of Button