The text of a manual · part 6 of 8
IPL T S Series IP Link Ethernet Control Interfaces User's Manual, pages 51 to 60
Pages 51 to 60 of 79
The original document is the PDF (4.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Extron IPL T S1, Extron IPL T S4 and Extron IPL T S2
Page 51
IPL T S Series • Communication and Control
4-11
WX4%%2CX7)%2CX4&SM|
E X4%,X7),X4&SM}
(host to unit)
URL Encoded (Web)
(host to unit)
ASCII (Telnet) EmlX4% ]
(unit to host)
Response
Set mail server IP, unit domain name24 View mail server IP, unit domain name
Mail server setup WX1$%2CX1%CM| WCM|
E X1&,X1%CM]
ECM}
X1$,X1%]
Ipm•X1$,X1%]
N If file X4&.eml is not found when the SM command is executed, the MLC sends a default e-mail message. Set e-mail server IP E X1$,X1%,X7#,X7$ CM} W X1$%2C X1% %2C X7# %2C X7$ Ipm•X1$,X1%,X7#,X7$ ] address and user %2C CM| domain name24
Send e-mail (using different file)24
Command zeros are optional in setting values. Leading zeros are suppressed in returned values. X1% = E-mail domain name, e.g., extron.com X7# = An e-mail account username (for SMTP authentication) of up to 31 characters. Do not use commas. This parameter is optional during setup. X7$ = An e-mail account password (for SMTP authentication) of up to 31 characters. Do not use commas. This parameter is optional during setup. In a response, instead of the actual password, X7$ is displayed as 4 asterisks (****) if a password has been set up or as nothing ( ) if it has not.
X1$ = IP address (xxx.xxx.xxx.xxx). Leading corresponding to the e-mail’s filename (xxx. eml). If xxx = 0 or no parameter is given, the IPL T S unit sends the file that was set via the CR command.
X7) = The number to insert into an e‑mail message if a ____.eml file has an embedded server-side include “<!--#echo var = “WCR|” -->” (the E} command with no parameters.) The numeral is a 16-bit number to be employed as the user defines. This is an optional parameter. Use 0 as a placeholder if the optional X4& variable is used but X7) is not needed. X4& = xxx, where xxx = a number 1 to 999
Additional description
Page 52
IPL T S Series • Communication and Control
X3$] Idh1]
WX3$CX| WCX| W1DH|
ECX}
E1DH} E0 DH}
WCZ|
WX#CZ|
WCT|
WX1#CT|
X1@] Ipt•X1#] X1#] IpzX#] X#] IpxX3$]
Ipn•X4(]
W%20CN| WCN|
Ipn•X1@]
WX1@CN| response from command]
(unit to host)
Response
ECN} E X1#CT} ECT} E X#CZ} ECZ} E X3$CX}
E X1@CN} E•CN}
WUB|
(host to unit)
URL Encoded (Web)
W X1$ CI|
W CI| WCH| W X1( CS|
WCS| W X1$ CG| WCG|
E CI}
E CH}
E X1( CS}
E CS} E X1$ CG}
E CG}
View IP address
View hardware address (MAC)
Set subnet mask24
View subnet mask
View gateway IP address
Set gateway IP address24
WDH|
E DH} E X1$ CI}
Set IP address24
View DHCP mode
Set DHCP off24
X1$ ]
X1(] Ipg• X1$ ]
Ips• X1( ] or Iph•X1* ]
X1* ]
X1$ ]
X% ] Ipi• X1$ ]
W0DH| Idh0] N Changing DHCP from on to off also resets the IP address to the factory default (192.168.254.254).
Set daylight savings time24 View daylight savings time Set DHCP on24
View GMT offset
Set GMT offset
View date/time
Set date/time24
Set unit name to factory default24 View unit name
Set unit name24
IP setup commands
EUB}
4-12
Read response from last URL command
Web browser-specific
(host to unit)
ASCII (Telnet)
Command
Leading zeros are optional.
X1$ = IP address (xxx.xxx.xxx.xxx).
X1( = subnet mask (xxx.xxx.xxx.xxx). Syntax is the same as for IP addresses. Leading zeros are optional in setting values. Leading zeros are suppressed.
xx-xx-xx).
X1* = hardware (MAC) address (xx-xx-xx- zeros in each of the four fields are optional in setting values. Leading zeros in each of the four fields are suppressed in returned values.
X% = 0 (off) or 1 (on). X1$ = IP address (xxx.xxx.xxx.xxx). Leading
Additional description
Communication and Control, cont’d
Page 53
IPL T S Series • Communication and Control
4-13
WX2@CV|
E X2@CV}
(host to unit)
URL Encoded (Web)
(host to unit)
ASCII (Telnet) VrbX2@ ]
(unit to host)
Response Enable or disable the verbose mode via this command. For X2@: 0 = clear/none, default for Telnet connections; responses are not echoed to the host 1 = verbose mode is on, default for RS-232 host control; responses are echoed to the host and displayed to the user 2 = send tagged responses for queries 3 = verbose mode is on and tagged responses are sent for queries.
Additional description
X6$,X1$ ] Bpt{port#}*X1*]
W EB| W{port}*X7!,X7@PB|
E EB } E{port#}*X7!,X7@PB]
Set broadcast port and MAC
W0EB|
E0EB }
Bmd 000,255.255.255.255]
Bmd X6$,255.255.255.255]
W X6$ EB|
E X6$ EB }
Set broadcast mode to the default address Clear broadcast mode24 View broadcast mode
Bmd X6$,X1$ ]
WX6$%2CX1$EB|
E X6$,X1$ EB }
Set broadcast mode
This command sets the repeat interval to zero, turning off the broadcast mode.
This command details how often and to what subnet work the IPL T S unit broadcasts a message. X6$ = Broadcast repetition interval in seconds (0 to 255 [4.25 minutes], default = 0 = off). X1$ = IP address (xxx.xxx.xxx.xxx). Leading zeros in each of four fields are optional in setting values, and they are suppressed in returned values. Default broadcast address: 255.255.255.255.
N Verbose mode is a communication mode in which the device responds with more information than it usually would - more than the device, itself, requires. For example, the controller can send out unsolicited information (such as notice of a volume or input change or a change in some other setting). That is an example of a verbose (wordy) relationship between the controller and a connected device. Verbose mode creates more network traffic than usual, which can slow down network performance. Verbose mode is usually enabled for troubleshooting and disabled for daily use. • For a direct RS-232 connection, the controller is set for verbose mode by default. • When the IPL T S device is connected via Ethernet, verbose mode is disabled (by default) in order to reduce the amount of communication traffic on the network. If you want to use the verbose mode with a controller connected via Ethernet, this mode must be set to “on” each time you reconnect to the controller. View verbose mode ECV } X2@ ] WCV|
N If tagged responses are enabled, all read commands return the constant string + data, the same as for setting a value. For example, for ECN }, the response is Ipn• X1@] rather than just the data.
Set verbose mode24
Command
Page 54
4-14 WPB|
EPB}
(host to unit)
URL Encoded (Web)
(host to unit)
ASCII (Telnet)
WCU|
ECU} ECK}
View user password
Ipa• X4!]
{port}*X1*]
(unit to host)
Response
Additional description
IPL T S Series • Communication and Control
Query session’s security level
WCK |
X4!] X5@ ] or Pvl X5@ ]
For X5@ 11 = user 12 = administrator
Set the administrator access password (X3#, 4 to 12 alphanumeric characters). The password is case sensitive. Special characters (spaces, symbols) are not allowed. X4! = Password to display on screen (response to password query). When the IPL T S unit connects to a host device via RS-232, the password (X3#), itself, is the response. When the connection is via IP, X4! is 4 asterisks (****) if a password has been assigned, or it is an empty field ( ) if a password hasn’t been assigned. Clear administrator Clear/remove all passwords (administrator E•CA} W%20CA] Ipa•] password24 and user). N A user password cannot be assigned if an administrator password does not exist. Also, if the administrator password is cleared, the user password is also cleared. View administrator ECA} X4!] WCA| password Set user password14, 24 E X3#CU} WX3#CU| Ipu•X4!] Set the user password (X3# is 4 to 12 alphanumeric characters). The password is case sensitive. Special characters (spaces, symbols) are not allowed. X4! = Password to display on screen. N A user password cannot be assigned if an administrator password does not exist. Also, if the administrator password is cleared, the user password is also cleared. This clears the user password only. Clear user password24 E•CU} W%20CU| Ipu•]
WX3#CA |
E X3#CA}
Set administrator password24
Password and security settings
N {port#} = UDP outgoing port, X7!*X7@ = MAC address for UDP unicast transmissions. N Changes to the PB command become effective in kernel versions 1.53 or higher.
View broadcast port and MAC
Command
Communication and Control, cont’d
Page 55
IPL T S Series • Communication and Control
4-15
(host to unit)
ASCII (Telnet) (host to unit)
URL Encoded (Web) (unit to host)
Response
Additional description
Pmh{port#}] Pmh00080]
W{port#MH| W80MH| Pmh00000]
Pmt00000 ]
This resets the Web port to port 80.
Setting the port number to 0 disables the port.
Select a number for the port that will not conflict with any other ports. This resets the Telnet port to port 23.
View Web port map24
WMH| {port#}] Set Direct Access port W{port#}MD| Pmd{port#}] map24 Reset Direct Access This resets the direct access port to port E2001MD} W2001MD| Pmd02001] port map24 2001. Disable Direct Access E0MD} W0MD| Pmd00000] port24 View Direct Access EMD} WMD| {port#}] port map N Duplicate port# assignments are not permitted (for example, Telnet and Web cannot be the same) and result in an E13 (invalid parameter) response.
Disable Web port24
Reset Web port map24 W0MH|
{port#}]
WMT|
EMT} E{port#}MH} E80MH} E0MH} EMH} E{port#}MD}
Set Web port map24
View Telnet port map
W0MT|
E0MT}
Pmt00023 ]
W23MT|
E23MT}
Reset Telnet port map24 Disable Telnet port24
Pmt{port#}]
W{port#}MT|
E{port#}MT }
Set Telnet port map24
N If you remap a port, you must set the port number to 1024 or higher, unless you reset the port to the default number or disable the port by setting it to 0.
For security reasons the network administrator may wish to assign new/different port numbers to the controller’s Telnet, Web browser, and direct access ports or to disable one or more ports. Typically Telnet uses port 23, Web access is via port 80 (HTTP), and direct access is via port 2001. Do not set two or more ports to the same port number. Setting two ports to the same number could cause networking conflicts and will also result in an E13 (invalid C parameter) error.
Remap port designations
Command
Page 56
IPL T S Series • Communication and Control
Epath/directory/CJ}
(host to unit)
ASCII (Telnet)
Wpath/directory/CJ|
(host to unit)
URL Encoded (Web)
Dir•path/directory/]
(unit to host)
Response
Additional description
Eoak/CJ} E/CJ} E..CJ} ECJ
Dir•/]
W%2FCJ|
24 28
Up one directory
W52E%2ECJ|
Dir• oak]
Woak %2FCJ|
Wcustompages%2F HTMLfiles%2FCJ| Dir•custompages HTMLfiles/]
Ecustompages/HTMLfiles/CJ} This example just created a subdirectory for storing the user’s custom-made HTML files. The directory that was just created is called HTMLfiles.
Dir•path/directory/] View current WCJ| path/directory/] directory N The current directory is determined on a per-connection basis. At the beginning of each IP connection/session, the current directory is selected as the root directory. Erase user-supplied EfilenameEF} WfilenameEF| Del•filename] Web page/file24 28 Erase current E/EF} W/EF| Ddl] directory and its files
Back to root directory
Example:
Example:
Dir•majordirectory/subdirectory/next-level/] In this case, the path is majordirectory/ subdirectory/. The directory that was just created or changed to is called next-level.
Wmajordirectory %2F subdirectory %2F next-level %2F CJ|
The directory’s name must be composed of alphanumeric characters and may include the minus sign (hyphen, -) and the colon (:). The first character must be a letter. Case does not matter. No blank or space characters are permitted in the name. Include the full path, not just the name of the directory. Nonalphanumeric characters in the path (for example, /) must be encoded to hex. characters for use with a Web browser. N A directory does not fully exist until a file has been copied into that path. Also, the IPL T S unit operates differently from PC operating systems: files stored in and directories created in the IPL T S device may have the same names. Example: Emajordirectory/subdirectory/next-level/CJ}
Directories
4-16
Change/create a directory
Command
Communication and Control, cont’d
Page 57
IPL T S Series • Communication and Control
4-17
W//EF| WDF| WCC|
WCC|
E//EF}
EDF}
ECC }
ECC }
Upl]
002]
[number of connections]] or Icc [total number of client connections]]
Ddl]
(unit to host)
Response
The example shows two client connections.
Additional description
Absolute system reset, E ZY} W ZY| Zpy] but retain IP24 N This command is intermediate between the ZXXX and ZQQQ commands. It is an absolute system reset excluding IP settings (IP address, subnet mask, gateway IP address, unit name, DHCP settings, port mapping). This allows you to maintain communication with the device. This reset is recommended after a firmware update. It erases the file system.
Erase all files from E ZFFF} W ZFFF|pf] Zpf] flash memory24 Reset all device The “reset all settings” command does not E ZXXX} W ZXXX| Zpx] settings to factory affect IP settings or flash memory. defaults24 N This is a product-dependent reset: flex I/O defaults back to TTL input, contact closure defaults to open, relays are reset to open, current sensing thresholds are reset to default, receive time-outs are reset back to defaults, port redirects are terminated. Consult product-specific documentation for settings affected and default values. Excludes IP settings such as IP address, subnet mask, gateway IP address, and IP security-level table, and does not remove the file system.
Reset (zap)/erase commands
N Firmware can be updated by using this command to upload an ____.s19 file to the IPL T S device. If the IPL T S unit determines that the file is not intended for its model, the Upl ] response is followed by a Fwm ] (firmware mismatch) response. Retrieve file from user EfilenameSF} 1B filename 53 46 0D {responds with 4 bytes of file flash memory28 size,+ raw unprocessed data in file} Load files to user Use a POST command on port 80 by the delimited data to be written to the flash file memory. flash memory Retrieve file from user Send a page GET on port 80 followed by: WSF| {responds with raw flash memory unprocessed data in file} Example: {data from the file mypage.html.} | http://192.168.254.254/mypage.html?cmd=WSF
N If the IPL T S unit has insufficient memory available to store the sent file, it responds with Fld ] (failed) instead of with Upl ].
N File streaming commands should be used by advanced programmers only. {raw, unprocessed data in a file of Load file to user flash E+UF filesize, filename} up to filesize} memory24, 28
(host to unit)
URL Encoded (Web)
(host to unit)
ASCII (Telnet)
Stream files via Telnet or RS-232
Example:
Erase current directory and subdirectories 24 28 List files from current directory Get connection listing
Command
Page 58
4-18 W ZQQQ|
E ZQQQ}
(host to unit)
URL Encoded (Web)
(host to unit)
ASCII (Telnet) Zpq]
(unit to host)
Response
N Unlike various PC operating systems, a file and directory on the Extron product are allowed to have the same name.
Absolute system reset24
Command This resets all device settings/memories to factory default; however, the firmware version remains the same. This includes all settings, adjustments, PINs, the IP address, and subnet mask. Files in flash memory are also erased by this command. The IP address is reset to 192.168.254.254, the subnet mask is reset to 255.255.0.0. This command is identical to reset mode 5, discussed in “Resetting the Unit” in chapter 2.
Additional description
Communication and Control, cont’d
IPL T S Series • Communication and Control
Page 59
Customization
In the IPL T S interface series of products, varying degrees of customization are possible. Custom Web pages allow you to create customized Web pages to control your A/V devices. Server Side Includes (SSI) makes it possible to obtain information from the unit and to display it on Web pages. URL encoding allows you to send information and commands to the unit to change its configuration or to receive feedback.
Custom Web pages These pages can be either modified versions of the existing default Web pages on the Web server, or new Web pages developed in the field. Web page development can be done with a Web site development tool such as FrontPage® or Dreamweaver®. Custom Web pages can be loaded through the Web server File Management page.
Server Side Includes (SSI) SSIs are HTML commands that direct the Web server to dynamically generate data for a Web page whenever requested. SSIs typically use the Extron Simple Instruction Set (SIS) to communicate commands to the products or to attached control devices. Using SSIs, you can design and display custom pages with the IPL T S information provided by the SIS commands. The basic format for an Extron SSI command is: <! - #echo var=”x” - > Where x is the SIS command to be executed. The SIS instructions sent to IP Link-enabled products fall into two categories: host or remote. •
Host commands instruct the IP Link product to act or respond.
Remote commands instruct an A/V product (for example, a switcher or projector) to act or respond through an IPL T S unit. When a Web page is requested, the Web server removes the SSI and replaces it with the answer to the SIS command within quotes. •
Server Side Include Using the Host SIS command <!--#echo var="
SIS Command N
"-->
SIS command to be processed by the IP Link
*Type with no spaces.
Figure 4-1, Example of an SSI host command In this example the “N” command is used to request the IPL T S product’s part number.
IPL T S Series • Communication and Control
4-19
Page 60
Communication and Control, cont’d Server Side Include Using a Remote SIS command SIS Command
<!--#echo var=" W Delimiter
1 * 50 Port Number
*
3 * 3L
RS
"-->
Hello
Time to Time Length or Command wait for between Delimiter first character characters parameter of response in response SIS Command Elements
Delimiter
Data to be passed to external device via a serial port
*Type with no spaces.
Figure 4-2, Example of an SSI “remote” command In the example above, a “remote” serial command sends the word “Hello” and waits up to 50 ms for a response (until three characters are received). For more information on this command, see the “Command/response table for Simple Instruction Set (SIS) commands”, earlier in this chapter.
Query string A query string is the portion of a URL that appears after the question mark. The query string contains parameters or instructions for the Web server to execute. The basic format for a query string within a link is: <a href=”index.html?cmd=x”>Input #1</a> Where x is the SIS command to be executed. When a link is accessed on a Web page, the URL is passed to the Web server to tell it which Web page to return to the browser. The portion of the URL after the question mark is the query string, which contains the SIS command that the IPL T S interface removes and executes. As with SSI formatted commands, query strings can use any valid SIS command, either “host” or “remote”. The query string in the figure below turns off DHCP on the IP Link device. URL with a Query String using a Host SIS command SIS Command
<a href="index.html
?
Starts Query String
HTML code for a link cmd=
W0DH|
">
Tells Web server an SIS command follows
SIS command to be processed by the IP Link
HTML code for a link
DHCP off </a> Linked Text
Closes Link
*Type with no spaces.
Figure 4-3, Example of a host query string command URL with a Query String using a Remote SIS command SIS Command
<a href="index.html HTML code for a link
?
cmd=
W
2
RS
1!
"> Input #1 </a>
Starts Delimiter Port Command Delimiter HTML Linked Query String Tells Web Data to Number server an code Text be passed to SIS command for a link external device follows via a serial port
Closes Link
*Type with no spaces.
Figure 4-4, Example of a remote query string command In the figure above, the data string that follows the pipe (|) symbol is sent to the attached controlled device on serial port #2. This string instructs an attached Extron switcher to change to input #1.
4-20
IPL T S Series • Communication and Control