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
Summary of Contents for NT20
Page 1: ...Programmable Terminal Cat No V091 E1 01 NT20 USER S MANUAL ...
Page 2: ...NT series Programmable Terminal User s Manual Produced March 2007 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 15: ...xvi ...
Page 21: ...xxii EC Directives 6 ...
Page 37: ...16 Before Operating Section 1 6 ...
Page 153: ...132 Transferring the Resource Data Section 3 11 ...
Page 185: ...164 Numeral Setting Section 4 8 ...
Page 267: ...246 Key to Programs Section 6 8 ...
Page 281: ...260 Specifications Appendix A ...
Page 285: ...264 Transporting and Storing PTs Appendix C ...
Page 303: ...282 Function Restrictions Depending on the Support Tool Appendix I ...
Page 307: ...286 Index ...
Page 309: ...288 Revision History ...