
280
Command Execution Time Samples
Appendix E
Note
1.
The execution time includes the time required for handshaking with the PC. Scan time is usually 2 ms
(approx.).
Transfer of less than 20 words:
2
×
PC scan times max.
@:
1
×
PC scan time max.
Transfer of more than 20 words (C200H Mode):
INT ((No. of transfer words – 1)/20) + 2
×
PC scan times max.
@:
INT ((No. of transfer words – 1)/20) + 1
×
PC scan time max.
Transfer of more than 127 words (C200H-HX/HG/HEPC Mode):
INT ((No. of transfer words – 1)/127) + 2
×
PC scan times max.
@:
INT ((No. of transfer words – 1)/127) + 1
×
PC scan time max.
2.
The execution time includes the time required for handshaking (IORD or IOWR execution) with the
PC.
Functions
PC WRITE “I4”; A (See note 1.)
3.9
PC WRITE “5I4”; A,B,C,D,E (See note 1.)
4.2
PC WRITE “10I4”; A,B,C,D,E,F,G,H,I,J (See note 1.)
7.7
PC WRITE “63H4”; A$ (See note 1.)
20.7
PC READ “@D,0,1,I4” A (See note 1.)
5.8
PC READ “@D,0,5,5I4”; A,B,C,D,E (See note 1.)
5.9
PC READ “@D,0,10,10I4”; A,B,C,D,E,F,G,H,I,J (See note 1.)
7.8
PC READ “@D,0,63,63H4”; A$ (See note 1.)
32.7
PC READ “@D,0,63,63H4”; A$ (
α
mode) (See note 1.)
30.8
PC WRITE “@D,0,1,I4” A (See note 1.)
4.0
PC WRITE “@D,0,5,5I4”; A,B,C,D,E (See note 1.)
4.0
PC WRITE “@D,0,10,10I4”; A,B,C,D,E,F,G,H,I,J (See note 1.)
7.7
PC WRITE “@D,0,63,63H4”; A$ (See note 1.)
20.7
PC WRITE “@D,0,63,63H4”; A$ (
α
mode) (See note 1.)
9.0
PRINT A$ (9,600 bps, 255 characters)
Normal mode:
Approx. 300
DMA mode:
Approx. 5
REM
0.03
WHILE A
<
100 : A = A + 1 : WEND (for one loop)
0.67
Statement
Execution time
(ms)
Function
Execution
time (ms)
A=ABS(–1.5)
0.22
A=ACOS(0.5)
1.72
A%=ASC(”A”)
0.16
A=ASIN(0.5)
1.7
A=ATN(0.5)
0.74
B#=CDBL(1)
4.7
D$=CHR$(&H41)
0.45
C%=CINT(0.5)
0.24
A=COS(0.5)
0.92
A=CSNG(0.1#)
0.22
A=EXP(5)
1.05
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...