Extron electronic MGP 464 DI manual Programming, Preliminary, Control, cont’d, 4-34 MGP, Command

Models: MGP 464 MGP 464 DI

1 140
Download 140 pages 21.25 Kb
Page 86
Image 86
4-34 MGP

4-34 MGP

PRELIMINARY

Command/response table for IP SIS commands (continued)

Command

ASCII (Telnet)

URL Encoded (Web)

Response

Additional description

(host to processor)

(host to processor)

(Processor to host)

 

 

Re-map port designations (continued)

SIS

464 • Software

Disable Web port map24

E 0MH }

Read Web port map24

E MH }

Set Direct Access port map24

E {port#} MD }

Reset Direct Access port map24

E 2001MD }

Disable Direct Access port map24

E 0MD }

Read Direct Access port map24

E MD }

W0MH

WMH

W{port#} MD

W2001MD

W0MD

WMD

Pmh 00000 ]

{port#} ]

Pmd {port#} ]

Pmd 02001 ] Pmd 00000 ]

{port#} ]

Programming

Configuration

Listing connections

Get connection listing

E CC }

W CC

Number of connections

File commands

and

and Control

List files from current directory

E DF }

W DF

List files from current directory and below

 

 

E LF }

W LF

Unit Telnet text responses: filename x • date/time • length ] filename x • date/time • length ] filename x • date/time • length ] filename x • date/time • length ]

...

space_remaining • bytes left ] ]

(See below.)

Retrieve a list of files stored in the MGP 464.

(See below.)

Each line of the response lists a different file

 

name and its corresponding file size. The

 

last line of the response indicates how much

 

available file space remains.

Unit Web responses (HTML sample code): var file – new Array ():

file [1] = "filename 1, date 1, filesize 1"; file [1] = "filename 2, date 2, filesize 2"; file [1] = "filename 3, date 3, filesize 3";

...

file [n] = "filename n, date n, filesize n";

file [1] = "filename n+1, date n+1, filesize n+1";

Control, cont’d

Stream files via port 80

Load file to user flash memory

Use POST on port 80 followed by the delimited data to be written to the flash file memory.

Retrieve file from user flash memory

Send a page GET on port 80 followed by: WSF

Responds with raw unprocessed data in file.

Example

http://192.168.254.254/mypage.html?cmd=WSF

 

Stream files via Telnet or RS-232

 

 

 

Load file to user flash memory

E + UF filesize, filename } {Raw unprocessed data in file up to filesize}

 

 

 

Upl ]

Retrieve file from user flash memory

E filename SF }

1B filename 53 46 0D

Responds with 4 bytes of file size + raw unprocessed data in file.

Page 86
Image 86
Extron electronic MGP 464 DI Programming, Preliminary, Control, cont’d, 4-34 MGP, Command, ASCII Telnet, URL Encoded Web