6-2
Section
Outline of Communications
247
LINE INPUT # instruction : Receives the command or response from the
NT620S/NT620C.
In order to receive input delimited by commas and
double quotation marks, use “LINE INPUT”.
CLOSE instruction
: Closes the RS-232C line.
For detailed information on instructions, refer to the BASIC language instruction
manual for the host.
Operation When Using Instructions
The flow of communications between the host and the NT620S/NT620C follows
one of the three patterns indicated below, depending on the type of command
and the setting made for “response” with the memory switches (see page 75).
S
Pattern with write command when “No” is set for the response
[Operation at host]
[Operation at NT620S/NT620C]
Data write command
Command transmission
Command processing
However, when an error occurs, an error response is returned.
S
Pattern with data read command, re-send command, and data write com-
mand when response “Yes” is set.
[Operation at host]
[Operation at NT620S/NT620C]
Data write command
Command transmission
Command reception
Command/response reception
Response or re-send command
Response transmission
Sometimes multiple responses may be received for one command.
S
Pattern when the operation at the NT620S/NT620C is notified to the host
[Operation at host]
[Operation at NT620S/NT620C]
Notify command
Notification reception
Notify command transmission
6-2-2 Notes on Using Commands
The points that should be observed when using commands are given below.
Method for Specifying Commands
When a personal computer or similar device is used as the host and a high-level
language such as BASIC or C is used for program writing, commands are speci-
fied as ASCII character strings.
Note that in the explanations in this section, parameters are denoted in lower
case characters. When specifying a command, write those parts denoted in up-
per case without modification, and write the numeric values for parameters (BCD
or hexadecimal) as ASCII character strings.
Parts in square brackets, such as [ESC] and [CR] each indicate one control code
(the [ESC] code, the [CR] code, etc.).
Summary of Contents for NT620C
Page 1: ...Cat No V033 E1 5 Programmable Terminals NT620S 620C OPERATION MANUAL...
Page 2: ...NT620S 620C Programmable Terminals Operation Manual Revised April 2001...
Page 3: ...iv...
Page 5: ...vi...
Page 328: ......
Page 329: ......