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
Digital i/o Port
View I/O mode
View I/O state
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=9600)
X2^
= Parity (Default=N=none)
X2&
= Data bits
X2*
= Stop bits
X4)
= I/O mode
X4#
= I/O state
ascii command
(host to device)
E
X1&
X2)
X2!
} X@
1
RS
*
*
*
E
X2%
X2^
X2&
X2*
}
1
CP
*
,
,
,
E
}
1CP
E
X1&
X2)
X2#
X2!
}
1
CE
*
*
*
*
E
}
1CE
X!
[
X!
]
01 to 99 up to maximum digital ports
For web encoding only: Data will be directed to specified port and
encoded if non-alpha numeric. Since data can include either command
terminator, they must be encoded as follows when used within the data section:
20
Space (Hex:
) is encoded as
%2B.
is encoded as
0-32767 in tens of milliseconds
0-32767 in tens of milliseconds
L=Byte Count (00 – 32767), D=decimal value for ASCII character
(0-00255)
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,19200
38400,57600,115200
O=odd
E=even
N=none
M=mark
S=space
7, 8 (Default=8)
1, 2 (Default=1)
0
=Input
1
=Output
0
=Off
1
=On
response
additional
description
(device to host)
]
response
X2%
X2^
X2&
X2*]
Cpn1
Ccp
•
,
,
,
X2%
X2^
X2&
X2* ]
,
,
,
X1&
Cpn1
Cce
•
,
X2! ]
X2)
X2#
,
,
X1&
X2)
X2#
X2! ]
,
,
,
X4) ]
X4# ]
%20
and Plus sign (Hex:
DMP 128 • SIS Programming and Control
must
be
2B
)
138
Need help?
Do you have a question about the DMP 128 and is the answer not in the manual?
Questions and answers