![Dynapro Technologies Dynapro ET TCS Application Developer'S Manual Download Page 34](http://html1.mh-extra.com/html/dynapro-technologies/dynapro-et-tcs/dynapro-et-tcs_application-developers-manual_2548611034.webp)
3-8
&RQWURO6HTXHQFHV
The general format for a control sequence is:
<ESC>[<Pr><P1>;<P2>;...;<Pn><F>
or
<CSI><Pr><P1>;<P2>;...;<Pn><F>
where:
<ESC> [
=
Control Sequence Introducer
<CSI>
=
Control Sequence Introducer
<Pr>
=
Optional private command code (?>)
<P1>
=
First optional parameter
<P2>
=
Second optional parameter
<Pn>
=
Last optional parameter
<F>
=
Final code
A control sequence always begins with the Control Sequence Introducer and ends with a Final
code. The Control Sequence Introducer can be the two codes <ESC> [, or it can be the control
code <CSI> when the TCS is set for 8-bit communication. The Final code is a single code
representing @ through ~ (40 through 7E hex, inclusive). The Final code varies, depending on
the command.
Between the Control Sequence Introducer and the Final code are an optional private command
code and optional parameters.
If used, the private command code identifies the control sequence as a privately interpreted,
ANSI-compatible control sequence. The private command code is either the code representing ?
or >. The code ? identifies the control string as ANSI-compatible, DEC-private. The code >
identifies the control string as ANSI-compatible, TCS-private.
An optional parameter is either a numeric parameter (which passes a numeric value) or a
selective parameter (which selects a particular subfunction from a specified list). Numeric and
selective parameters are described more completely under the next heading.
The following are examples of valid control sequences:
<ESC>[5
B
Moves the cursor down five lines
<ESC>[12;40H
Moves the cursor to line l2, column 40
<ESC>[;;13w
Adds a carriage return to all TCS reports
<ESC>[?7h
Turns on Auto Wrap-Around Mode (a DEC-private command)
<ESC>[>3n
Reads character under the cursor (a TCS-private command)
Summary of Contents for Dynapro ET TCS
Page 1: ......
Page 127: ...5 40 LJXUH QFRGLQJ WKH 6L HOV...
Page 194: ...6 4 LJXUH 7RXFKNH 9LVXDO WHQW...
Page 310: ......
Page 311: ......
Page 312: ......
Page 313: ......
Page 314: ...ASCII Code Custom Character Pattern Chart ASCII Code ASCII Code ASCII Code...