CP6100 I/O Process Programming Manual
CPTEST
SEND Command
whether the request completed successfully or in error.
To find out the meaning of a status code, consult the
manual describing the protocol.
The number following the characters "Tout=" is meaningful
only in certain protocols; for instance, in ADCCP you ignore
this field. If the protocol includes a Status Detail
field in its response buffer, the number after "Tout=" is
the status detail code.
For all protocols, the number after "Tin=" tells you how many
bytes of "text" were read from the protocol; the next several
lines display that text, whose contents are specific to the
protocol and function. To interpret the status detail code
and the text, consult the manual that describes the protocol.
3. The maximum wait for the SEND command is five minutes. At
the end of five minutes, CPTEST terminates the wait (and
displays the prompt) but does not terminate the request.
When the response arrives, CPTEST displays it just as it
displays nowaited messages.
4. Responses to the SEND command (that is, waited responses)
include the elapsed time in tics (1 tic = 1/100th second)
used to process the request.
5. If you enter hexadecimal digits as the <text>, the text must
be an even number of digits in length, because two
hexadecimal digits are required to represent one byte of
data. Four hexadecimal digits represent a word of data.
6. The maximum length of a single input line is 132 characters.
However, you can extend the line by entering the ampersand
(&) as a line continuator.
7. The maximum length (using line continuation) for a single
command is 2048 characters.
8. The maximum length for the <text> is 2000 characters.
9. The following function codes are common to all protocols,
with some differences in implementation:
(1) Set Configuration Parameters
(2) Fetch Configuration Parameters
(3) Start Protocol Trace
(4) Stop Protocol Trace
(5) Fetch Protocol Statistics
(6) Start Line Operation
(7) Stop Line Operation
Other function codes are defined for each protocol.
B-20