Simple Control Port Commands - Extron electronics DMP 64 User Manual

Digital matrix processor
Hide thumbs Also See for DMP 64:
Table of Contents

Advertisement

Simple Control Port Commands - Telnet and Web-browser Accessible
Upper & lower case text can be used interchangeably except where noted. Port 23 is
default for Telnet. Port 80 is default for web browser. They both can be mapped to
different ports.
The following commands are for either a Telnet (port 23) or Web browser (port 80)
connection. There are minor differences when implementing these commands via Telnet
or via URL encoding using a web browser. All commands listed will work using either
connection method but due to some limitations of the web browser, the encapsulation
characters must be modified to be certain the web browser will properly handle them. All
examples are shown in a proper implementation of a Telnet or Web Browser session.
NOTE: When using web browsers, some non-alpha numeric characters must be
represented as their hex equivalent such as %xx where xx equal the two
character representation of the hex byte that needs to be sent (i.e. a comma
',' would be represented as %2C). Characters such as '%' (percent), '+' (plus)
and ' ' (space) should also be encoded in Hex.
Telnet
Escape (Hex 1B)
Carriage Return (Hex 0D)
When describing the use of SIS commands via a web browser, the [URL] reference is used
to shorten the examples. [URL] would be the full URL of the control interface and web
page reference including all path information
(e.g. http://192.168.254.254/mypage.HTML).
To send commands using a Web browser, prefix them with the full URL followed by ?cmd=
(e.g. http://192.168.254.254/mypage.html?cmd=WSF|).
Control Command
(via Telnet)
Example:
Control Command
(via WEB)
Example:
X@
= Input number, 1 – 6
X#
= Outputs 1 – 4
Web Browser
W [must not be encoded]
Pipe Character (|) [must not be encoded]
ASCII
Hex
X# X@  
}
Esc
Command
1B
X@
X@  
Data
}
1B 30 33 52 53 0D 31 2A
Esc 03RS
1*2!
32 21
ASCII
URL Encoded
(Web)
 X# X@ 
URL?cmd=W
URL?cmd=W
X@ 
Command |
Data
Command |
URL?cmd=W03RS|1*2!
URL?cmd=W03RS |
1%2A2%21
Unit response
X# X@
response from command
Command 0D
]
Data
OUT 02•IN 01• ALL
Unit response
 X# X@ 
response from command
 X# X@ 
]
Data
OUT 02•IN 01• ALL
DMP 64 • SIS Programming and Control
]
]
54

Advertisement

Table of Contents
loading

Table of Contents