214
RS-232C Communications
Section 6-2
Notification of Operation
at NT20 to the Host
Operation by Terminal
Commands
The terminal commands allow the NT20 to be used as a terminal of the Host
to display text and graphics independently of the screens stored in the NT20.
The Host sends a command and the NT20 processes the message. The
NT20 does not send back a response to the Host.
6-2-2
Precautions
Some important points to consider when using commands are listed below.
Commands
If a personal computer is used as the host and a high-level language, such as
BASIC or C, is used for programming, commands are specified with ASCII
text strings.
In the descriptions in this section, parameters are given in lowercase letters.
When specifying commands, specify any text given in uppercase letters as is
and replace lowercase letters with ASCII text strings to specify the numeric
values of the parameters (BCD or hexadecimal) or the text strings for parame-
ters. Any text given in square brackets [ ], however, represents one control
code, such as ESC or CR.
In the descriptions of commands, “4-digit BCD” indicates an ASCII text string
of a 4-digit BCD value and “4-digit hexadecimal” indicates an ASCII text string
of a 4-digit hexadecimal value. Do not specify BCD or hexadecimal values
directly. Always use ASCII text strings to represent them.
Example
The command format for the Four-digit Numeral Memory Table Write com-
mand is as follows:
Assuming that the following parameters were to be specified, the text string
given below would actually be sent.
d
1
d
2
d
3
: 014 (3-digit hexadecimal)
n
1
n
2
n
3
n
4
: 1234 (4-digit BCD)
Note
In the descriptions of commands and responses, “**” indicates the specified
characters in ASCII (2-digit hexadecimal).
Command Length
If a mistake during command specification results in a command being too
long, the correct length of the command is executed and the remainder is
ignored.
A timeout error results if a mistake during command specification results in a
command being too short.
Host program
NT20 operation
Receive notification
Notification operating command
Send notification command
Host program
NT20 operation
Message to PT
Terminal command
Process message
1B
[ESC]
43
C
d
1
d
2
* *
* *
d
3
* *
* *
* *
* *
* *
n
1
n
2
n
3
n
4
1B
[ESC]
43
C
0
1
4
1
2
3
4
30
31
34
31
32
33
34
Содержание NT20
Страница 1: ...Programmable Terminal Cat No V091 E1 01 NT20 USER S MANUAL ...
Страница 2: ...NT series Programmable Terminal User s Manual Produced March 2007 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x TABLE OF CONTENTS ...
Страница 15: ...xvi ...
Страница 21: ...xxii EC Directives 6 ...
Страница 37: ...16 Before Operating Section 1 6 ...
Страница 153: ...132 Transferring the Resource Data Section 3 11 ...
Страница 185: ...164 Numeral Setting Section 4 8 ...
Страница 267: ...246 Key to Programs Section 6 8 ...
Страница 281: ...260 Specifications Appendix A ...
Страница 285: ...264 Transporting and Storing PTs Appendix C ...
Страница 303: ...282 Function Restrictions Depending on the Support Tool Appendix I ...
Страница 307: ...286 Index ...
Страница 309: ...288 Revision History ...