Command/Response table for basic SIS commands (continued)
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!
]
NOTE:
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,19200,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
58
Содержание DMP 64
Страница 4: ......