EasyManua.ls Logo

Omron NT21 User Manual

Omron NT21
480 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #387 background imageLoading...
Page #387 background image
4-2SectionOutline of Communications
372
4-2 Outline of Communications
This section describes the basic communication protocol when using memory
link and the program flow for using memory link, taking RS-232C communica-
tions using the BASIC language as an example.
4-2-1 Communication Protocol
Communication between the host and the PT takes place in accordance with the
following protocol.
1, 2, 3... 1. In order to perform communications, it is necessary to open the communica-
tion line. Opening here means making the line usable.
2. In accordance with the commands, the PT is controlled or notification is re-
ceived from the PT.
3. To terminate communication, close the communication line.
[Host program]
OPEN instruction
PRINT #instruction
LINE INPUT
CLOSE instruction
Line opened
Command
transmission
Line closed
#instruction
Command/
response
transmission
Command/
response
transmission
Command
reception
Communication line
Open state
[Operation at PT]
:
:
:
:
:
Once the line has been opened, it can be used until it is closed.
Function of Each Command
OPEN command: Opens the RS-232C line.
Also sets the communication conditions at the host
side. Refer to the Setup Manual for details.
PRINT # command: Sends commands to the PT via an RS-232C line.
LINE INPUT # command: Receives the command or response from the PT.
In order to receive input delimited by commas and
double quotation marks, use LINE INPUT.
CLOSE command: Closes the RS-232C line.
For detailed information on commands, refer to the BASIC language command
manual for the host.
Operation When Using Commands
The flow of communications between the host and the PT follows one of the
three patterns indicated below, depending on the types of command and the set-
tings made for response with the memory switches. Refer to section 6 of the Set-
up Manual for details.
Pattern with write command when No is set for the response
Command transmission
[Operation at host]
Data write command
Command processing
[Operation at PT]
However, when an error occurs, an error response is returned.
Pattern with data read command, re-send command, and data write command
when response Yes is set.
[Operation at host]
Data write command
Command transmission
Command reception
Command processing
Response transmission
Command/response
reception
Response or re-send command
[Operation at PT]

Table of Contents

Other manuals for Omron NT21

Questions and Answers:

Omron NT21 Specifications

General IconGeneral
Display TypeSTN monochrome LCD
Display Size5.7 inches
Resolution320 x 240 pixels
Touch PanelAnalog resistive
Communication PortsRS-232C, RS-422/485
Power Supply24 VDC
Operating Temperature0 to 50°C
Storage Temperature-20 to 60°C
Weight0.8 kg
Memory512 KB

Summary

SECTION 1 General

1-1 Role and Operation of the PT

Introduces the fundamental role and operation of Programmable Terminals (PTs).

1-2 Functions of the NT21, NT31/NT31C and NT631/NT631C

Details the features, comparisons, and principal functions of the NT series terminals.

1-3 System Configuration

Explains the system configuration and peripheral devices connectable to the PTs.

1-4 Communications with the Host

Covers various communication methods for connecting the PT to a host system.

1-5 Communication by Using Memory Links

Describes communication using memory links, a method other than direct connection.

1-6 Before Operating

Provides essential steps and considerations before operating the PT.

SECTION 2 PT Functions

2-1 PT Screens

Describes the PT screens which form the basis of PT functions.

2-2 Areas for Control/Notification

Explains the areas provided for PT control and status notification between PT and host.

2-7 Touch Switches

Details input from the touch panel, allowing screen switching and bit information transmission.

2-11 Alarm List, Alarm History

Explains monitoring host bits and displaying messages or image/library data when a bit changes to ON.

2-12 Inputting Numeric Values

Details the procedure for inputting numeric values using numeral input fields or thumbwheel switches.

2-13 Inputting Character Strings

Explains inputting character strings using touch switches or a bar code reader.

2-14 Recipes

Describes writing and reading data in table format to/from the host, allowing multiple settings to be managed.

2-16 Special Functions

Covers display history, alarm history, resume, screen saver, buzzer, clock, print, contrast/brightness, programming console, and device monitor.

2-17 Device Monitor Function

Details the Device Monitor function for reading/changing PC data and displaying PC error logs.

SECTION 3 How to Use the PT

SECTION 4 Using Memory Link

SECTION 6 Troubleshooting and Maintenance

6-1 Troubleshooting

Guides on actions to take when PT errors occur, by matching symptoms to remedies.

6-2 Responding to Displayed Error Messages

Details how to respond to various error messages displayed on the PT.

Appendix B Compatibility with Screen Data of Other PT Models

Appendix C NT20S and NT30/620 Compatible Modes

Related product manuals