Appendix B RS-232 Commands
B-24
Record Formats
Long and short records, and dynamic data can be output in various formats such as ASCII
without text, ASCII with text, or binary (see Table B-1 for codes). The following
commands report and set the current output format for long (lrec) and short records (srec),
and dynamic data (erec).
lrec format
srec format
erec format
These commands report the output format for long and short records, and dynamic data.
The following example shows that the output format for long records is ASCII with text.
Format Code Format output
0 ASCII no text
1 ASCII with text
2 Binary
Table B-1 Format Codes
Send: "lrec format"
Receive: "lrec format 01"
set lrec format
f
set srec format
f
set erec format
f
f = format code from Table B-1 shown above.
These commands set the output format. The following example sets the lrec output
format to ASCII with text.
Send: "set lrec format 1"
Receive: "set lrec format 01 ok"