beautypg.com

Extron Electronics DMP 64 User Guide User Manual

Page 107

background image

Command and Response table for basic SIS commands (continued)

Command

ASCII command

(host to device)

Response

(device to host)

Additional

description

Serial Port

Send Data String

EX!

*

X1&

*

X2)

*

X2!

RS

} X@

response

]

Configure parameters

EX!

*

X2%

,

X2^

,

X2&

,

X2*

CP

}

Cpn

X!

•Ccp

X2%

,

X2^

,

X2&

,

X2*]

View serial port parameters

EX!

CP

}

X2%

,

X2^

,

X2&

,

X2*

]

Configure rcv timeout

EX!

*

X1&

*

X2)

*

X2#

*

X2!

CE

}

Cpn

X!

•Cce

X1&

,

X2)

,

X2#

,

X2!

]

View receive timeout

EX!

CE

}

X1&

,

X2)

,

X2#

,

X2!

]

NOTES:

X!

= Port Number

0

1-99 represented by 2 Bytes (ASCII).

X@

= Command data section

NOTE: For web encoding only: Data will be directed to specified port and

must be encoded if non-alpha numeric. Since data can include either
command terminator, they must be encoded as follows when used
within the data section:
Space (Hex:

2

0

) would be encoded as

%2

0

and

Plus sign (Hex:

2B

) would be encoded as

%2B

X1&

= Command string wait time

0

-32767 in tens of milliseconds

X2)

= Character wait time

0

-32767 in tens of milliseconds

X2!

= Length of stream or delimiter

L=Byte Count (

00

32767

)

D=decimal value for ASCII character (

0-00255

)

X2#

= Priority status for receiving

timeouts (Default=0)

0

=Send data string command parameters if they exist

1=Configure receive timeout command parameters instead.

X2%

= Baud Rate (Default=

9600

)

300,600,1200,1800,2400,3600,4800,7200,9600,14400,1
9200,38400,57600,115200

X2^

= Parity (Default=N=none)

O=odd E=even
N=none M=mark
S=Space

X2&

= Data bits (Default=8)

7, 8

X2*

= Stop bits (Default=1)

1,2

Command

ASCII command

(host to device)

Response

(device to host)

Additional

description

Event Control

Read event buffer memory

EX3%

,

X3^

,

X3&

,

X3*

E

}

X5$]

Write event buffer memory

EX3%

,

X3^

,

X3(

,

X3*

E

}

Evt

X3%

,

X3^

,

X3&

,

X3(]

NOTE: Response to Write Event is padded with leading zeros for

X3%

&

X3&

.

Read string from event
buffer

EX3%

,

X3^

,

X3&

,

X4$

FE

{string}

]

Write string to event buffer

E

{string}

*

X3%

,

X3^

,

X3&

FE

NOTE: ‘F’ must be capitalized to read and write strings to event buffer memory.

Response to Write Event is padded with leading zeros for

X3%

&

X3&

.

Start events

E

1AE

}

Ego

]

Stop events

E

0AE

}

Est

]

Query # of running events

E

AE

}

#####

]

(5 digit number)

NOTES:

X3%

= Event number

range

00

-99

X3^

= Event buffer

0

=receive

1

=Unified

2

=data

3

=NVRAM

X3&

= Event buffer offset

range:

0

to Max buffer size

X3*

= Event data size (case sensitive) b=bit, B=Byte (8-bit), S=short (16-bit), L=long ((32-bit)

X3(

= Event data to write

X4$

= number of Bytes to read

range 1–127

X5$

= Data element read

ASCII digit(s) representing numeric value of data elements read from buffer

(leading

zeros

suppressed)

NOTES:

X!

= Port Number

01-99 represented by 2 Bytes (ASCII).

X@

= Command data section

NOTE: For web encoding only: Data will be directed to

specified port and must be encoded if non-alpha
numeric. Since data can include either command
terminator, they must be encoded as follows when
used within the data section:
Space (Hex: 20) would be encoded as %20 and
Plus sign (Hex: 2B) would be encoded as %2B

X1&

= Command string wait time

0-32767 in tens of milliseconds

X2)

= Character wait time

0-32767 in tens of milliseconds

X2!

= Length of stream or delimiter

L=Byte Count (00 – 32767)
D=decimal value for ASCII character (0-00255)

X2#

= Priority status for receiving

timeouts (Default=0)

0=Send data string command parameters if they exist
1=Configure receive timeout command parameters instead.

X2%

= Baud Rate (Default=9600)

300,600,1200,1800,2400,3600,4800,7200,9600,14400,1920
0,38400,57600,115200

X2^

= Parity (Default=N=none)

O=odd
E=even
N=none
M=mark
S=Space

X2&

= Data bits (Default=8)

7, 8

X2*

= Stop bits (Default=1)

1,2

DMP 64 • SIS Programming and Control

101