203
V530-R160
Operation Manual
SE
C
T
IO
N
8
Serial Interf
ac
e (Norma
l)
SECTION 8
Communication with the Host
Flow Charts
When the Serial Interface is used for both Input and Output
1:1 connection or 1:N (multi drop) connection is possible.
1:1 connection
Program Examples
100 CLOSE #1
110 OPEN “COM:E73NN” AS #1
‘Communications port OPEN status
120 PRINT #1, “@GL”+CHR(&H0D)
‘One shot reading command transmission
130 INPUT #1, RESDATA$
‘Loading data (with Footer code CR)
140 PRINT “READ DATA=” RESDATA$
‘Displaying reading data
150 GOTO 120
‘Repeat
160 END
PC/AT computer
F160
Controller
Output reading data.
Receive reading data.
Execute a command.
Input a command.
During command execution, the BUSY signal of the parallel I/O
interface turns ON.
* When
Xon/off
is selected for flow control
A timeout error occurs if there is no response from the host computer
within the set time when
Xon/off
is selected for flow control, and it is
assumed that the line is broken or the computer is not working correctly.
The controller displays an error message on the screen and turns the
ERR signal of the parallel I/O interface ON.