Omron V022-E3-1 Thermostat User Manual


 
Reference

Section 6-1
7-1 RS-232C Interface Unit Communications
The communication procedure through the RS-232C circuit and the program flow
using examples in BASIC are described below.
7-1-1 Communication Procedure
The Host and NT600S communicate according to the following procedure.
1, 2, 3...
1. The RS-232C circuit must be opened (i.e., communication enabled) before
communication can start.
2. Commands are used to control the PT and to receive notification from the
NT600S.
3. Close the RS-232C circuit again after communication is complete.
Host program
RS-232C circuit
NT600S operation
OPEN command
PRINT # command
LINE INPUT # command
CLOSE command
Open circuit
Send instruction
Close circuit
Send instruction
Receive instruction
Send instruction
Open
status
After a circuit has been opened, it can be used until it is closed again.
OPEN Opens the RS-232C circuit. The Host communication conditions are also set.
Refer to
4-6-4 Setting the RS-232C Communication Conditions
.
PRINT # Sends an instruction via the RS-232C circuit to the NT600S.
LINE INPUT # Receives a command from the NT600S. This command is used because com-
mands from the NT600S are not delimited by commas or double-quotation marks.
CLOSE Closes the RS-232C circuit.
Refer to the Host’s BASIC Manual for more details about the commands.