Command and Response table for basic SIS commands (continued)
Command
Serial Port
Send Data String
Configure parameters
View serial port parameters
Configure rcv timeout
View receive timeout
X!
NOTES:
= Port Number
X@
= Command data section
X1&
= Command string wait time
X2)
= Character wait time
X2!
= Length of stream or delimiter
X2#
= Priority status for receiving
timeouts (Default=0)
X2%
= Baud Rate (Default=
X2^
= Parity (Default=N=none)
X2&
= Data bits (Default=8)
X2*
= Stop bits (Default=1)
Command
Event Control
Read event buffer memory
Write event buffer memory
NOTE:
Response to Write Event is padded with leading zeros for
Read string from event
buffer
Write string to event buffer
NOTE:
'F' must be capitalized to read and write strings to event buffer memory.
Response to Write Event is padded with leading zeros for
Start events
Stop events
Query # of running events
X3%
NOTES:
= Event number
X3^
= Event buffer
X3&
= Event buffer offset
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
X5$
= Data element read
ASCII command
(host to device)
EX!
X1&
X2)
X2!
} X@
*
*
*
RS
EX!
X2%
X2^
X2&
X2*
}
*
,
,
,
CP
EX!
}
CP
EX!
X1&
X2)
X2#
X2!
}
*
*
*
*
CE
EX!
}
CE
0
1-99 represented by 2 Bytes (ASCII).
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:
Plus sign (Hex:
0
-32767 in tens of milliseconds
0
-32767 in tens of milliseconds
L=Byte Count (
D=decimal value for ASCII character (
0
=Send data string command parameters if they exist
1=Configure receive timeout command parameters instead.
300,600,1200,1800,2400,3600,4800,7200,9600,14400,1
9600
)
9200,38400,57600,115200
O=odd
N=none
M=mark
S=Space
7, 8
1,2
ASCII command
(host to device)
EX3%
X3^
X3&
X3*
}
,
,
,
E
EX3%
X3^
X3(
X3*
}
,
,
,
E
EX3%
X3^
X3&
X4$
FE
,
,
,
E
X3%
X3^
X3&
*
FE
{string}
,
,
E
}
1AE
E
}
0AE
E
}
AE
00
range
-99
0
=receive
1
=Unified
2
=data
3
=NVRAM
0
range:
to Max buffer size
range 1–127
ASCII digit(s) representing numeric value of data elements read from buffer
(leading zeros suppressed)
Response
Additional
description
(device to host)
]
response
X!
X2%
X2^
X2&
X2*]
Cpn
•Ccp
,
,
,
X2%
X2^
X2&
X2* ]
,
,
,
X!
X1&
Cpn
•Cce
,
X2)
X2#
X2! ]
,
,
X1&
X2)
X2#
X2! ]
,
,
,
2
%2
0
) would be encoded as
2B
) would be encoded as
00
32767
–
)
0-00255
E=even
Response
Additional
description
(device to host)
X5$]
X3%
X3^
X3&
X3( ]
Evt
,
,
,
X3%
&
X3&
.
]
{string}
X3%
X3&
&
.
]
Ego
]
Est
]
#####
(5 digit number)
DMP 64 • SIS Programming and Control
0
and
%2B
)
101