4-9
IM 34M6H21-01E
2nd Edition : Aug, 2001-00
no ON ERROR branching, check the status register in the program.
Figure 4.1 Time Chart for Complete Return Type of Access
Figure 4.2 Time Chart for Proceeding Type of Access
z
TRANSFER Procedure
The program procedure for input and output using TRANSFER is explained below. In
both cases, input/output buffers and input/output variables are required in the user area.
- Output Procedure
Data is output to the input/output buffer within the user area. Then, TRANSFER is
started. Common variables cannot be used in the input/output buffer.
10 DEFINT I
20 DIM BUFF$256,A$256
30 A$=“ABCDE”
40 ASSIGN RS22=5
50 OUTPUT BUFF$;A$
… Output data to buffer
60 ON EOT 5,2 GOSUB RSEOT@
… Specify interrupt destination
70 TRANSFER 5,2FORMAT FROM BUFF$
… Initiate TRANSFER
Other
processing
1000
RSEOT@ STATUS 5,2,4;IST
1010
IF IST<>0 THEN
1020
PRINT“TRANSFER ERROR”
1030
ELSE
Interrupt processing for end of TRANSFER
1040
PRINT“TRANSFER END”
1050
ENDIF
1060
RETURN
CPU
Free
CPU
Busy
CPU
Free
CPU
Busy
Time
Time
Data
Dat
a
OUTPUT ENTER
BASIC program
in WAIT state
BASIC
program in
WAIT state
CPU
Free
CPU
Free
CPU
Busy
Transmission
destination
CPU
Busy
Transmission
destination
Time
Time
&CVC
ON EOT
TRANSFER FROM
TRANSFER INTO
*
Time until data
arrives from
remote
equipment
ON EOT
&C
VC
Transmission
destination
Transmission
destination
*
Time until data
arrives from
remote
equipment
Summary of Contents for F3RS22-0N
Page 11: ...Blank Page...
Page 15: ...Blank Page...
Page 28: ...3 3 IM 34M6H21 01E 2nd Edition Aug 2001 00 External Dimensions Unit mm 83 2 28 9 2 12 1 100...
Page 31: ...Blank Page...
Page 59: ...Blank Page...
Page 63: ...Appx 3 2 IM 34M6H21 01E 2nd Edition Aug 2001 00 Blank Page...
Page 65: ...Blank Page...