Omron C200H-ASC11 Manual page 268

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Operating Precautions
Example
DM 0000
DM 0001
DM 0002
Example 3
Before changing:
10 PC READ "@D,0,255,100A3,100A3,55A3" ; A$,B$,C$
If the above syntax is used for a C200H-ASC11/21/31, a FORMAT ERROR will occur.
After changing:
10 PC READ "@D,0,100,100A3" ; A$
20 PC READ "@D,0,100,100,100A3" ; B$
30 PC READ "@D,0,200,55,55A3" ; C$
A maximum of 127 transfer words can be placed into multiple variables by separate the transfer values using
the MID$ function in the same way as shown in Example 2.
Before changing:
10 PC READ "@D,0,4,2A3,2A3" ; A$,B$
After changing:
10 PC READ "@D,0,4,4A3" ; A$
20 A$=MID$(A$,5,4)
30 A$=MID$(A$,1,4)
For the C200H-ASC11/21/31, only one character-string variable can be used for each variable. The multiple
settings that could be performed for the C200H-ASC02 are not possible. For details on the formats for other
PCs, refer to Appendix C PC Format.
Terminal Operations
Terminal Software Limitations
VT100 mode can be used as a terminal emulation mode for the C200H-ASC11/ASC21/ASC31. Nevertheless,
even if the terminal software used supports VT100 mode, the limitations of the actual terminal software func-
tions may result in some ASCII Unit functions being unavailable. (For example, the Cursor Keys on the Hyper-
terminal for the Japanese version of WINDOWS 95 cannot be used.)
EDIT Command Restrictions
Do not continuously press the Up and Down Cursor Keys when using them to move lines being edited with the
EDIT command. Doing so will add the Up or Down Cursor Key code to the edited lines.
Executing Programs
In the C200H-ASC02, the BASIC source program is executed as it is input. To improve the execution speed of
the BASIC program in the C200H-ASC11/ASC21/ASC31, once a BASIC source program is input, it is compiled
to an intermediate code (a simpler code that identifies the command contents) and then it is executed. There-
fore, if the RUN command is executed using the C200H-ASC11/ASC21/ASC31, there is a delay while compil-
ing is being performed before the actual program is executed. The RUN compiling time is approximately 10
seconds in the 53-KB (approx. 1,300 lines) program. This time will vary according to the commands used in the
program. The intermediate code is regenerated the first time the program is executed after the program (area)
is changed.
100 PC READ "@D,0,3,3H4";A$
1234
110 SD$=HEAD$+A$+TERM$
5678
120 PRINT SD$
9ABC
Appendix A
A$"123456789ABC"
259

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents