G Reference Tables - Omron SYSMAC C200H-ASC02 Operation Manual

Ascii unit
Hide thumbs Also See for SYSMAC C200H-ASC02:
Table of Contents

Advertisement

The following tables list the BASIC commands, statements, and functions alphabetically. A detailed explana-
tion of each command, statement, and function may be found in Section 4-2 Basic Language.
The characters in the Command, Statement, and Function columns denote the following:
Gen: General statement
Dev: Device Control statement
Arith: Arithmetic Operation function
Item
ABS
Returns the absolute value of a number
ACOS
Returns the arc cosine of a number
ASC
Returns the value of the first character
in a character string
ASIN
Returns the arc sine of a number
ATN
Returns the arc tangent of a number
AUTO
Automatically generates line numbers
CDBL
Rounds off a numeric value to make an
integer
CHR$
Returns the character corresponding to
the ASCII code given by the argument
CINT
Converts a numeric value into a
double-precision real number
CLEAR
Initializes numeric and character
variables
CLOSE
Closes a port
CLS
Clears the screen
COM ON/OFF/
Enables, disables, or stops an interrupt
STOP
from a communication port
CONT
Resumes execution of a program that
has been stopped
COS
Returns the cosine of a number
CSNG
Converts a numeric value into a
single-precision real number
DATA
Defines numeric and character
variables for subsequent READ
statements
DATE$
Sets or assigns the date
DAY
Sets or assigns the day (in numbers)
DEF FN
Defines and names a user-generated
function
DEF
Declares the variable type as integer,
INT/SNG/DBL/
single-precision, double-precision or
STR
string
DEF USR
Specifies the start address of the
assembly language subroutine called
from memory by USR
DEL
Deletes a line or portion of a line in the
program
DIM
Specifies the maximum values for array
variables and assigns the area
Appendix G
Reference Tables
Char: Character String function
Spec: Special function
Comm: Command
Description
Command
Statement
Comm
Gen
Dev
Dev
Gen
Comm
Gen
Gen
Gen
Gen
Comm
Gen
Function
Execution
Time (ms)
Arith
5.2
Arith
2.8
Char
2.4
Arith
2.8
Arith
19.9
Arith
5.3
Char
2.5
Arith
3.1
1.7
1.3
25.4
Arith
18.6
Arith
2.6
Spec
2
Spec
1.5
4.5
1.1
2
18.3
Page
54
54
57
55
55
26
55
57
55
32
51
52
32
26
55
55
33
60
60
33
34
34
26
34
145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents