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.
Содержание V530-R160E
Страница 36: ...34 SECTION 1 Operational Flow V530 R160 Operation Manual SECTION 1 Outline MEMO...
Страница 144: ...142 SECTION 5 Setting Reading Conditions QRCode V530 R160 Operation Manual SECTION 5 Setting Reading Conditions MEMO...
Страница 192: ...190 SECTION 7 Checking the Version Version V530 R160 Operation Manual SECTION 7 System Settings MEMO...
Страница 250: ...248 SECTION 8 Serial Interface Host Link V530 R160 Operation Manual SECTION 8 Communication with the Host MEMO...
Страница 288: ...286 SECTION 10 Glossary SECTION 10 V530 R160 Operation Manual SECTION 10 Appendix MEMO...