Omron SYSMAC CV500-BSC11 Operation Manual page 196

Basic units
Table of Contents

Advertisement

BASIC Instructions
Instruction
CSNG
CSNG(expression)
CVI / CVS / CVD CVI(2-character-string)
CVS(4-character-string)
CVD(8-character-string)
DATE$ [= "year/month/day"]
DATE$
EOF
EOF(file-no.)
ERL/ERR
ERL
ERR
EXP
EXP(expression)
FIX
FIX(expression)
FRE
FRE(expression)
HEX$
HEX$(expression)
INKEY$
INKEY$
INPUT$(expression [, #file-no.])
INPUT$
INSTR([expression,] character-string,
INSTR
key-string)
INT
INT(expression)
INTRB
INTRB
INTRL
INTRL
INTRR
INTRR
LEFT$(character-expression, expression)
LEFT$
LEN
LEN(character-expression)
LOC
LOC(file-no.)
LOF
LOF(file-no.)
LOG
LOG(expression)
MID$
MID$(character-expression,
length [, position])
MKI$ / MKS$ /
MKI$(integer-value)
MKD$
MKS$(single-precision-value)
MKD$(double-precision-value)
OCT$
OCT$(expression)
PEEK
PEEK(address)
RIGHT$(character-expression, expression)
RIGHT$
RND
RND(expression)
SEARCH(integer-array [, expression]
SEARCH
[, start-element] [, increment])
SGN
SGN(expression)
SIN
SIN(expression)
SPACE$
SPACE$(expression)
SPC
SPC(expression)
SQR
SQR(expression)
192
Syntax
Purpose
Converts expression into single-precision real
number.
Converts character string into numeric value.
Returns date of internal clock, or sets date.
Returns true (–1) if file-no. has reached end of
file; false (0) otherwise.
Return line on which error has occurred (ERL)
and error code (ERC).
Calculates exponential function of expression
expression
(e
)
Truncates any fractional part of expression.
Returns size of unused memory area.
Returns a character string with the value of
expression expressed as a hexadecimal
number.
Returns next character in keyboard buffer.
Reads character string of specified length from
specified file.
Searches for key-string in character-string and
returns its position.
Returns the largest integer which does not
exceed expression.
Variables containing information on an interrupt
that has occurred.
Returns the leftmost expression characters
from character-expression.
Returns length of character-expression.
Returns current logical position in file.
Returns size of file.
Calculates natural logarithm of expression
Returns length characters from
character-expression starting from position.
Converts numeric value into character string.
Returns a character string with the value of
expression expressed as an octal number.
Returns contents of the specified address.
Returns the rightmost expression characters
from character-expression
Returns random number.
Searches for first occurrence of the integer
value expression in integer-array and returns
element number.
Returns –1, 0, or 1 depending on whether
expression is negative, zero, or positive.
Calculates sine of expression.
Returns a character string containing
expression spaces.
Outputs expression spaces.
Calculates the square root of expression.
Appendix E

Advertisement

Table of Contents
loading

Table of Contents