NT30-KBA01 Omron, NT30-KBA01 Datasheet - Page 371

no-image

NT30-KBA01

Manufacturer Part Number
NT30-KBA01
Description
CHEMICAL RESISTANT COVER FOR NT31
Manufacturer
Omron
Datasheets

Specifications of NT30-KBA01

Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
4-2
4-2-1 Communication Protocol
362
Outline of Communications
Outline of Communications
1, 2, 3...
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.
Communication between the host and the PT takes place in accordance with the
following protocol.
Once the line has been opened, it can be used until it is closed.
Function of Each Instruction
OPEN instruction:
PRINT #instruction:
LINE INPUT #instruction: Receives the command or response from the PT.
CLOSE instruction:
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 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
• Pattern with data read command, re-send command, and data write command
1. In order to perform communications, it is necessary to open the communica-
2. In accordance with the commands, the PT is controlled or notification is re-
3. To terminate communication, close the communication line.
when response Yes is set.
OPEN instruction
PRINT #instruction
LINE INPUT
CLOSE instruction
tion line. Opening here means making the line usable.
ceived from the PT.
However, when an error occurs, an error response is returned.
[Host program]
Command transmission
[Operation at host]
Command transmission
[Operation at host]
Command/response
reception
:
:
:
:
:
#instruction
Line opened
transmission
Command
Line closed
Opens the RS-232C line.
Also sets the communication conditions at the host
side. Refer to the Setup Manual for details.
Sends commands to the PT via an RS-232C line.
In order to receive input delimited by commas and
double quotation marks, use LINE INPUT.
Closes the RS-232C line.
Response or re-send command
Data write command
Communication line
Data write command
Command/
response
transmission
[Operation at PT]
Command processing
[Operation at PT]
Command reception
Command processing
Response transmission
[Operation at PT]
Command/
response
transmission
Command
reception
Section
4-2

Related parts for NT30-KBA01