Mitsubishi QD51-R24 User Manual page 46

Melesec q series
Hide thumbs Also See for QD51-R24:
Table of Contents

Advertisement

3 SPECIFICATIONS
Classification
Command to
Writing to the
write to the
designated bit
designated bit
Command to
Reading from the
read from the
designated bit
designated bit
Character
conversion
Character
Number conversion VAL
Number
Character string
conversion
Character
string functions
Character sampling
Character search
Character string
length search
Format control
Format control
function
Screen control
Screen control
command
Port assignment
Buzzer output
Input/Output
Control
Printer output
Commands
Output to screen
Output to port
3 - 11
Command,
Function
WTSET
Writes 0 or 1 to the specified bit of an integer array variable.
RDSET
Reads 1-bit data from the specified bit of an integer array variable.
ASCII
ASC
Returns a character code corresponding to the head of a string expression.
CHR$
Returns a character whose code is an integer expression value.
STR$
Recognizes a value as a decimal number and converts it to a character string.
Returns a numerical value that is represented by a character string.
HEX$
Converts a decimal number to a hexadecimal string.
OCT$
Converts a decimal number to an octal string.
BIN$
Converts a decimal number to a binary string.
LEFT$
Extracts the specified number of characters from the left of a character string
Extracts a partial string starting from the specified position in the original character
MID$ (Second)
string.
RIGHT$
Extracts the specified number of characters from the right of a character string.
STRING$
Returns the specified number of the specified characters.
SPACE$
Returns a null string of the specified length.
Searches for the specified character string in the entire source string and returns
INSTR
the position of the first match.
LEN
Returns the number of characters composing a character string.
SPC
Returns the specified number of spaces.
TAB
Moves the currently displayed character position to the specified position.
CONSOLE
Specifies the number of items to be displayed on the console screen.
CLS
Clears the screen display.
LOCATE
Specifies the display position on the console screen.
Opens a communication channel (port) in preparation for performing
ZOPEN
communications with an external device.
Closes the communication channel (port) used for communications with external
ZCLOSE
devices.
BEEP
Makes a buzzer sound from the speaker built in the console.
LLIST
Outputs all or a part of programs in the program area to a printer.
LPRINT
Outputs data to a printer.
LPRINT USING
Outputs data in the specified format to a printer.
LFILES
Outputs the names of the files on an FD or HD to a printer.
ZLDV
Selects a printer port.
WIDTH
Sets the output width in the printer.
PRINT
Displays data on the screen.
PRINT USING
Displays a character string or a numeric value in the specified format.
KEY LIST
Displays a character string defined for a function key on the screen.
ZSEND
Sends data from the specified port.
MELSEC-Q
Operation
(Continued from the previous page)
3 - 11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qd51

Table of Contents