CP6100 I/O Process Programming Manual
CPTEST
SEND Command
SEND Command
Use the SEND command to format and send a request to the
protocol. You can send byte values, word values, hexadecimal
strings, ASCII strings, or specified numbers of repetitions of
any of these.
The syntax of the SEND command is:
-----------------------------------------------------------------
| |
| SEND <F>, <M>, <ReqID> [,<TextIn> |
| [,[*<rep>][<text>][<text>]...] ] |
| |
| |
| <F> |
| |
| is a general arithmetic expression that specifies the |
| function. The values for <F> are specific to each |
| protocol; the manual describing a protocol includes a |
| list of its function codes. |
| |
| |
| <M> |
| |
| is a general arithmetic expression that specifies the |
| modifier. The values for <M> are specific to each |
| protocol; the manual describing a protocol lists the |
| modifiers for each function. |
| |
| |
| <ReqID> |
| |
| is a general arithmetic expression that specifies the |
| the request ID. The ID must be unique among pending |
| requests for the line. |
| |
| |
| <TextIn> |
| |
| is the number of bytes of text or data expected in the |
| response. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ---> |
-----------------------------------------------------------------
B-18