Mitsubishi Electric CR750-Q Instruction Manual page 222

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

4MELFA-BASIC V
CAUTION
[Related instructions]
Mva (Move
Arch),
types 1 and 2)
Def Char (Define Character)
[Function]
Declares a character string variable. It is used when using a variable with a name that begins with a charac-
ter other than "C." It is not necessary to declare variables whose names begin with the character "C" using
the Def Char instruction.
[Format]
Def[]Char[]<Character string variable name> [, <Character string variable name>...
[Terminology]
<Character string variable name> Designate a variable name.
[Reference Program]
1 Def Char MESSAGE
2 MESSAGE = "WORKSET"
3 CMSG = "ABC"
[Explanation]
(1) The variable name can have up to 16 characters. Refer to the
can be used in program"
(2) When designating multiple variable names, the maximum value (240 characters including command)
can be set on one step.
(3) A variable becomes a global variable that is shared among programs by placing "_" after C in the vari-
able name and writing it in a base program.
Refer to
Page 145, "4.4.24 User-defined external variables"
4-202 Detailed explanation of command words
The robot's locus of movement may change with specified speed.
Especially as for the corner section, short cut distance may change. Therefore,
when beginning automatic operation, moves at low speed at first, and you should
gather speed slowly with being careful of interference with peripheral equipment.
Accel
(Accelerate),
Ovrd
for the characters that can be used.
(Override),
Mvs (Move S)
' Declare "MESSAGE" as a character string variable.
' Substitute "WORKSET" in the MESSAGE variable.
' Substitute "ABC" for variable CMSG. For variables starting with
C, the definition of "Def Char" is not required.
for details.
(Used as a reference for interpolation
Page 136, "4.4.6 Types of characters that

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents