Mitsubishi Electric CR750-Q Instruction Manual page 334

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

Advertisement

4MELFA-BASIC V
C_Mecha
[Function]
This function returns the mechanism name (robot type name) for which control right has been acquired.
[Format]
Example) <Character String Variable >=C_Mecha[(<Numeric>)]
[Terminology]
<Character String Variable >
<Numeric>
[Reference Program]
1 C1$=C_Mecha(1)
[Explanation]
(1) The mechanism name (robot type name), for which the specified task slot has acquired control right, is
returned.
(2) When a task slot, which has not acquired control right of the mechanism, is specified, "" (none) is
returned.
(3) This variable only reads the data.
[Related instructions]
GetM (Get
Mechanism),
C_Prg
[Function]
This variable returns the selected program name (number).
[Format]
Example) <Character String Variable >=C_Prg [(<Numeric>)]
[Terminology]
<Character String Variable >
<Numeric>
[Reference Program]
1 C1$=C_Prg(1)
[Explanation]
(1) The program name (number) set (loaded) into the specified task slot is assigned.
(2) If this variable is used in single task operation, the task slot number becomes 1.
(3) If it is set in the operation panel, that program name (number) is set.
(4) This variable only reads the data.
(5) If a task slot for which a program is not loaded is specified, an error occurs at execution.
4-314 Detailed explanation of Robot Status Variable
Specify a character string variable to be assigned.
1 to 32, Enter the task slot number. If the argument is omitted, current
task slot number is set as the default value.
' "RH-3FH5515-D" is assigned to C1$.
(When slot 1 has acquired control right of mechanism 1 ("RH-3FH5515-D"))
RelM (Release Mechanism)
Specify a character string variable to be assigned.
1 to 32, Enter the task slot number. If the argument is omitted, current
task slot number is set as the default value.
' "10" is assigned to C1$. (if the program name is "10".)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents