
3 - 13 3 - 13
MELSEC-Q
3 SPECIFICATIONS
Classification
Command,
Function
Operation
EOF
Returns -1 if the end of a sequential file is detected.
LOF
Returns the file size as the number of sectors.
File information
functions
File information
LOC
Returns the current logical location within a file.
CVI
Converts a character string converted by the MKI$ function back to an integer.
CVS
Converts a character string converted by the MKS$ function back to a single
precision real number.
CVD
Converts a character string converted by the MKD$ function back to a double
precision real number.
CVSMBF
Converts a character string, which was converted from an AD51H-BASIC single
precision real number by the MKS$ function, into the internal representation of a
floating point real number (IEEE single-precision representation) used in QCPU,
AnA/AnU/QnACPU, AnUSCPUs.
Character string
Number
CVDMBF
Converts a character string, which was converted from an AD51H-BASIC double
precision real number by the MKD$ function, into the internal representation of an
IEEE double precision number.
MKI$
Converts integer-type numbers to character strings.
MKS$
Converts single-precision type numbers to character strings.
MKD$
Converts double-precision type numbers to character strings.
MKSMBF$
Converts floating point real number data in internal representation (IEEE single-
precision representation) used in QCPU, AnA/AnU/QnACPU, AnUSCPUs into a
character string that can be changed into a numeric by the CVS function.
File Data
Number
Character string
MKDMBF$
Converts IEEE double-precision data in internal representation into a character
string that can be changed into a numeric by the CVD function.
DEF FN
Defines a user function and names it.
DEFINT
Defines variables that start with the specified characters as integer types.
DEFSNG
Defines variables that start with the specified characters as single precision real
number types.
DEFDBL
Defines variables that start with the specified characters as double precision real
number types.
DEFSTR
Defines variables that start with the specified characters as character types.
KEY
Defines a character string to each of the console's function keys.
DIM
Specifies the size of an array variable and allocates a necessary memory area.
ERASE
Deletes the array defined by the DIM instruction from the memory.
REM
Provides comments (remarks) in the program.
Definition,
declaration
commands
Definitions,
declarations
COMMON
Sets variables, etc. used for transition to the program to be executed by the CHAIN
instruction.
DATA
Specifies numeric values or character strings to be read by the READ instruction.
READ
Reads values defined by the DATA instruction and assigns them to variables.
Data operations
RESTORE
Specifies the first line number of the DATA instruction data that are to be read by
READ.
LET
Assigns the expression value to a variable.
SWAP
Swaps the values of two variables.
ZMOVE
Transfers data between variables.
Substituting for
variables
BSWAP
Swaps two values in byte units.
Number,
character string
operation
commands
Replacement of
character strings
MID$ (Part1)
Replaces a part of a character string with another character string.
(Continued from the previous page)
Содержание QD51
Страница 1: ......
Страница 2: ......
Страница 154: ...App 7 App 7 MELSEC Q APPENDIX MEMO ...
Страница 159: ......
Страница 160: ......