Omron NT620S Operation Manual page 258

Programmable terminals
Hide thumbs Also See for NT620S:
Table of Contents

Advertisement

Outline of Communications
Operation When Using Instructions
6-2-2 Notes on Using Commands
Method for Specifying Commands
LINE INPUT # instruction : Receives the command or response from the
CLOSE instruction
For detailed information on instructions, refer to the BASIC language instruction
manual for the host.
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]
Command transmission
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]
Command transmission
Command/response reception
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]
Notification reception
The points that should be observed when using commands are given below.
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.).
NT620S/NT620C.
In order to receive input delimited by commas and
double quotation marks, use "LINE INPUT".
: Closes the RS-232C line.
Data write command
Data write command
Response or re-send command
Notify command
Section
6-2
[Operation at NT620S/NT620C]
Command processing
[Operation at NT620S/NT620C]
Command reception
Response transmission
[Operation at NT620S/NT620C]
Notify command transmission
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt620c

Table of Contents