![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-asc02/sysmac-c200h-asc02_operation-manual_742429062.webp)
52
The END statement and the NEW command automatically close the ports,
but the STOP statement does not.
CLS Statement
Purpose: To clear the screen
Format:
CLS [#<port>]
<port> is an integer (1 or 2).
Remarks:
This statement clears the screen and moves the cursor to the home position.
If the port number is omitted, port 1 is assumed.
OPEN Statement
Purpose:
To allow input/output operations to take place through the speci-
fied port
Format:
OPEN #<port>, “<device name>:[(<com spec. or vsl>)]”
<port> is an integer (1 or 2).
<device name> identifies the device.
<com spec> stands for the communication specifications.
<vsl> stands for valid signal line.
Examples: OPEN #1,“KYBD:”
OPEN #2,“COMU:(14)”
The following three tables define the communication parameters for the
OPEN Statement.
Peripheral Device
Name
Output from ASCII
Unit
Input to ASCII Unit
Terminal
TERM:
YES
YES
Keyboard
KYBD:
NO
YES
Display
SCRN:
YES
NO
Printer
LPRT:
YES
NO
RS-232C device
COMU:
YES
YES
Communication
Specifications
Character Length
Parity
Stop Bit
0
7 bits
Even
2 bits
1
7 bits
Odd
2 bits
2
7 bits
Even
1 bit
3
7 bits
Odd
1 bit
4
8 bits
None
2 bits
5
8 bits
None
1 bit
6
8 bits
Even
1 bit
7
8 bits
Odd
1 bit
BASIC Language
Section 4-2
Содержание SYSMAC C200H-ASC02
Страница 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Страница 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Страница 122: ...Appendix B Specifications 115 130 35 100 5 ...
Страница 167: ...Cat No W165 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor ...
Страница 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...