54
The following two tables illustrate peripheral device output levels during ex-
ecution of the OPEN statement.
Device
When Opened
During Operation
RTS
DTR
RTS
DTR
TERM
LOW
HIGH
HIGH
No Change
SCRN
LOW
LOW
HIGH
No Change
KEYB
LOW
HIGH
HIGH
No Change
COMU
LOW
HIGH
HIGH
No Change
LPRT
LOW
LOW
HIGH
No Change
Port
When Closed
RTS
DTR
1
LOW
HIGH
2
LOW
LOW
Remarks:
The default selection for the ports is as follows:
port 1: Terminal device
port 2: Printer
The following table presents the output control codes for the terminal, printer,
and COMU device.
SCRN
TERM
Open
Clears the screen buffer when code &H0C (CLR) is output..The
column position is set to 0 (i.e., the leftmost position) when
code &H0A (LF), &H0D (CR), &H0B (HOME), or &H08 (BS) is
output.
The cursor is moved as specified on the screen when code
&H08 (BS), &H1C (->), or &H1D (<-) is output.
Codes &H00 to &H09 and &H0E to &H1B are ignored (not
output).
Closed
Nothing is executed.
LPRT
Open
Sets the column position to 0 (i.e., the leftmost position) when
code &H0A, &H0D, &H0B, or &H0C is output.
Characters exceeding 80th character are output with code
&H0A (LF) appended.
Closed
If characters (80 characters or less) remain in the buffer, they
are output along with &H0A (LF).
COMU
Open
If characters are input to the buffer, they are output.
Closed
If characters remain in the buffer, they are output.
4-2-5
Arithmetic Operation Functions
ABS Function
Purpose:
To return the absolute value of the numeric expression specified
by the argument
Format:
ABS(<x>)
Example:
A = ABS (-1.5)
ACOS Function
Purpose:
To return the arc cosine of the numeric expression given by the
argument
Format:
ACOS(<x>)
<x> is a number in the range of -1 to 1.
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 ...